summaryrefslogtreecommitdiff
path: root/layouts/_default
AgeCommit message (Collapse)Author
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
2021-01-17Make some page settings also configurable site wide (#182)Florian Kohrt
Adds **local** and **global** param to following front-matter vars: - hideMeta - ShowToc - TocOpen - comments Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2021-01-02single: Add post description (#165)Weichen Liu
usage => in post params add : description: "Desc Text."
2020-12-29cover: granular controls for hiding cover image #156Aditya Telange
in site config => params: cover: hidden: true # hide everywhere but not in structured data hiddenInList: true # hide on list pages and home hiddenInSingle: true # hide on single page per-page in front-matter => hidden: true # only hide on current single page
2020-12-29footer: allow disabling HLJS #143Aditya Telange
usage => in site config => params: assets: disableHLJS: true per-page in front-matter => disableHLJS: true
2020-12-27baseof: pass .LayoutAditya Telange
for https://github.com/adityatelange/hugo-PaperMod/blob/0f994eee95811f5cf6099fb5897dd62be1e6cff2/layouts/partials/footer.html#L21
2020-12-24footer: change scroll behaviour as it was before 80954deAditya Telange
fixes #151 anchored-headings: retain anchor link '#' in URL cc #108 footer: remove '#' with go-to-top Revert "anchored-headings: retain anchor link '#' in URL" This reverts commit 80954de8bd085a3d5876e86c878088f911307c52. Revert "footer: rm unused code" This reverts commit c76233b350fde926c557e49b1a5f0bab8edddc55.
2020-12-18Link AccessKeys shortcut in title of elementsAditya Telange
2020-12-18Search: Keyboard Bindings for easier navigation (#138)Aditya Telange
* set up basic actions on keypress * add actions to perform conditionally * add simple highlight animation * prevent mouseclick to change active element * clear input box on Escape * click on Arrow Right * clear results and focus search-input on esc * refactor
2020-12-11single: add support for custom taxonomy URLs (#125)Kian Kasad
* fix URLs of tags in tag lists * use recommended code by hugo for tag list generator * https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template * closes: #113
2020-12-06search: init Search feature (#105)Aditya Telange
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993 * modified working for PaperMod * fetches current lang index.json for search * add fuse.js v6.4.3 LICENSE: Apache License 2.0 * bundled fastsearch and fusejs as search.js Co-authored-by: Craig Mod <stuff@craigmod.com>
2020-12-05anchored-headings: retain anchor link '#' in URLAditya Telange
close: #108