summaryrefslogtreecommitdiff
path: root/layouts/_default
AgeCommit message (Collapse)Author
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
2020-12-05list: use absURL for pagination (#109)Devorange
2020-11-29Archive: Close the <sup> tag for month counts (#93)Misha Brukman
2020-11-28baseof: rm unused classesAditya Telange
single, home
2020-11-10anchored-headings: port to PaperModAditya Telange
- add corresponding css - gen anchored headings for h1-h6 - link with single.html
2020-11-08language-switch: enable emojifyAditya Telange
- languageName: ":country_emoji:" can now be displayed as emoji
2020-11-08layouts/single: fix Lang Name hidden when LanguageNameAditya Telange
was unset
2020-10-30Add accesskeys (attribute specifies a shortcut key to activate/focus an ↵Aditya Telange
element.) c - ToC Open/Close g- Go To Top h - Home (according to current lang) t - Theme toggle more: https://www.w3schools.com/tags/att_global_accesskey.asp
2020-10-30baseof: use `dir` attribute instead of classAditya Telange
and set default dir to `auto` main(css): rm unused class
2020-10-22layouts: post_meta as partialAditya Telange
2020-10-22relative-cover: init Responsive cover images (#43)Niek Blankers
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> - generates images of different sizes - browser can choose between set of images w.r.t viewport width - is enabled by default - supported image formats : https://gohugo.io/content-management/image-processing/#target-format - Customizing site config params: params: cover: responsiveImages: false # if want to disable it linkFullImages: true # if link original image on clicking cover
2020-10-19Add RTL support for multilingual mode (#47)Mehdy Khoshnoody
Usage: in site config: languages: ar: languagedirection: rtl title: مدونتي weight: 2 * ref: https://gohugo.io/content-management/multilingual/#configure-languages
2020-10-16layouts: Add DateFormat parameter (#39)Northerner-coder
* User can change Date Format to be displayed in Front Matter * Formats supported by Hugo can be found here: https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
2020-10-13list: show nested sectionsAditya Telange
* shows links to section if _index.md is present * by this sub-sections can be distinguished properly * more about this and way to implement: https://gohugo.io/content-management/organization/#index-pages-_indexmd
2020-10-10post-cover: relative covers need to be explicitely setAditya Telange
* change in d819914 and #13 * previous impl breks sites not using `/static` dir as their static location * hugo supports multiple static directories and previous impl checks only for one * ref : https://gohugo.io/content-management/static-files/ usage change in post-vars => cover: image: '<relative url>' relative: true
2020-10-10post-cover: fix strange `/./ ` in cover image url 2Aditya Telange
#13
2020-10-10terms: fix unreachable code in taxonomy listAditya Telange
2020-10-08post-cover: fix strange `/./ ` in cover image urlAditya Telange
#13
2020-10-05post-cover: enable mardownifyAditya Telange
* allows users to add links and stuff #17
2020-10-04post-cover: add support for adding caption (#17)Aditya Telange
* shown only on single page usage => in page-vars front-matter cover: image: '<image path/url>' alt: '<alt text>' caption: '<text>'
2020-10-04post-cover: use new formatAditya Telange
usage => in page-vars front-matter cover: image: '<image path/url>' alt: '<alt text>'
2020-10-04post-cover: add support for relative path for cover imageAditya Telange
* checks whether path mentioned in `cover` page-variable exists OR is an external url, else sets the relative path for image w.r.t the post the cover is of.
2020-10-01post-single: added comments page overridePhilip Gisella
2020-09-29archives: add posts count for each yr and monthAditya Telange
* misc(css): rm unused
2020-09-23refactor for "follow particular naming schemeAditya Telange
(91e30b806b024422eb257d54df2f5bd59725025d)"
2020-09-23post-meta: change sepearatorAditya Telange
"." -> "·"
2020-09-23archive: update metaAditya Telange
* match with others
2020-09-23(lint) remove unnecessary whitespaceAditya Telange
created by hugo's {{ }}
2020-09-22misc : refactorAditya Telange
* manage spacing and whitespace in meta
2020-09-22post-single : display available translationsAditya Telange
in post - meta
2020-09-22refactorAditya Telange
2020-09-22i18n: read_time improvementsAditya Telange
2020-09-22i18n: add support for toc translationAditya Telange
2020-09-21misc: refactorAditya Telange
* accessibility, duplicate code
2020-09-20menu : add menu location indicatorAditya Telange
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
2020-09-20archives : improvementsAditya Telange
2020-09-19Revert "home-info: handle case where home-info was hidden"Aditya Telange
This reverts commit ce408f6afc0c7ae083ffa48c86b8ce8147c2dda1. * incomplete
2020-09-19toc : use newer toc partial and indent elementsAditya Telange
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
2020-09-17home-info: handle case where home-info was hiddenAditya Telange
when num of posts = 0
2020-09-17fix: for ebb9eb , partialCached implAditya Telange