summaryrefslogtreecommitdiff
path: root/layouts/_default
AgeCommit message (Collapse)Author
2022-04-14add head and body_end blocks in baseofReorx
2022-04-09allow customize post page widthReorx
2022-03-27Use `site` function instead of `.Site` or `$.Site`Aditya Telange
- The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered.
2021-10-30Avoid caching search input between navigationAditya Telange
2021-10-22Add `showCanonicalLink` to markdown metadata (#428)nikaera
If an article has a `canonicalUrl` set, Originally published at `<hostname>` will be displayed at the top of the article by setting `showCanonicalLink` to true. Usage => In front-matter: canonicalUrl: "<URL>" showCanonicalLink: true
2021-09-05Fix irregular spacing in seach title and svg iconAditya Telange
2021-09-05Add `placeholder` param to let users customizeAditya Telange
placeholder in search input box
2021-09-04Refine `[draft]` tag displayAditya Telange
2021-09-02Allow hiding `ShowCodeCopyButtons` per pageAditya Telange
closes: #548
2021-09-02Allow hiding copyright/footer textAditya Telange
closes: #543
2021-09-02Add `post-content` only if it existsAditya Telange
2021-09-02Allow adding markdown description on list pagesAditya Telange
2021-09-02Allow adding `Content` on list pagesAditya Telange
2021-08-30Add missing `[draft]` tag on archive pageAditya Telange
2021-06-17Add option to show all pages in archiveAditya Telange
usage => In site config `Params.ShowAllPagesInArchive: true`
2021-06-10Allow disabling anchored headingsAditya Telange
Usage => For site-wide: Params.disableAnchoredHeadings: true For front-matter: disableAnchoredHeadings: true
2021-05-02Use `content:encoded` in Rss feedsAditya Telange
when using ShowFullTextinRSS
2021-04-29Add option to show Full Text content in RSS feedsAditya Telange
closes: #372 usageIn site Params => ShowFullTextinRSS: true
2021-04-13Add missing spacing between search title and icon (#351)Achim Blanarsch
2021-04-10Show Code Copy scripts only on Kind = pageAditya Telange
2021-04-09Refactor, move HLJS code from footer to head;Aditya Telange
already defered.
2021-04-09Move post nav links to a partial section (#343)Mohammad Noor Abu Khleif
2021-03-30Fix Spacing in overall repoAditya Telange
2021-03-30Move ToC divs to toc partial (#329)Jannik Arndt
Allows Overriding of ToC
2021-03-25Imrprovements to RSS (#319)Aditya Telange
* Copy hugo's internal rss template - loc: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml - at commit 5f42590144579c318a444ea2ce46d5c3fbbbfe6e of https://github.com/gohugoio/hugo/ * Add Site image from images param * Hide search and archives layouts from feed index * add Description and Summary in RSS as in other templates
2021-03-23Add option to show link in meta data for editing posts (#278)Syphdias
Usage - in site config => Params: editPost: URL: "https://github.com/<path_to_repo>/content" Text: "Suggest Changes" # edit text appendFilePath: true # to append file path to Edit link - in front-matter vars => --- editPost: URL: "https://github.com/<path_to_repo>/content" Text: "Suggest Changes" # edit text appendFilePath: true # to append file path to Edit link --- - Front-matter vars overrides global ones
2021-03-18Hide "..." in list pages when summary is not TruncatedAditya Telange
2021-03-18Allow selective summary (in list pages) hiding in front matter (#292)Mohammad Noor Abu Khleif
2021-03-16rm extra `p` tag from render-image hookAditya Telange
2021-03-16add browser-level lazy loadingAditya Telange
ref: https://web.dev/browser-level-image-lazy-loading/
2021-03-16clone render-image hook templateAditya Telange
ref: https://gohugo.io/getting-started/configuration-markup/#render-hook-templates
2021-03-01Allow selective disabling of PostNavLinks in front matter (#279)Brian
2021-02-10Use custom paginator's PageNumber for home-infoAditya Telange
fixes non-mainSections pages from being displayed in the list amend to 143eb18
2021-02-10handle case where home-info was hiddenAditya Telange
when num of posts = 0 - fix: #227 - refactor conditions for nested if - also fix for 082d960
2021-02-08show breadcrumb nav also on list pagesAditya Telange
- specifically section pages - should not display on home(index)
2021-02-08breadcrumb nav as partialAditya Telange
2021-02-08use Parent's Permalink for breadcrumb navAditya Telange
2021-02-07improve searchAditya Telange
- fix menu element becoming inactive change class active -> focus - set input type seach #198 - add a reset func - add script to clear searchbox when clicked on X sign
2021-02-06translation list separate partialAditya Telange
2021-01-30hide archives and search page from being searchedAditya Telange
2021-01-30introduce searchHidden front-matter varAditya Telange
- to hide particular pages from search usage: in page's front-matter add searchHidden: true
2021-01-29init feat Breadcrumb Navigation (#207)Aditya Telange
* adds Breadcrumb nav above title of single page/post * add enabler var 'ShowBreadCrumbs' * introduce i18n var "home" usage: in site config: Params: ShowBreadCrumbs: true in page front-matter: ShowBreadCrumbs: false
2021-01-29add check to display post-description in singleAditya Telange
2021-01-28init feat Prev Next post links on single post page (#180)Aditya Telange
usage => in site config add Params: ShowPostNavLinks: true
2021-01-27Add description to other layoutsAditya Telange
- helps adding description to sub-sections, search, terms, archive pages
2021-01-24allow setting ShowReadingTime per-pageAditya Telange
as well as site-wide
2021-01-24add hideMeta param to listAditya Telange
- same as in single - allows hiding meta in list pages
2021-01-24rm use of blockquote in TocAditya Telange
2021-01-24Only show vertical bar if necessary in post-meta (#193)Florian Kohrt
fixes unnecessary "|" shown when post-meta is empty but translations are available
2021-01-22Allow page-specific cover settings to win. (#185)Corban Mailloux
check for front-matter's cover.hidden before global config's