summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
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-18Link AccessKeys shortcut in title of elementsAditya Telange
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-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-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-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-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-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-23refactor for "follow particular naming schemeAditya Telange
(91e30b806b024422eb257d54df2f5bd59725025d)"
2020-09-23post-meta: change sepearatorAditya Telange
"." -> "·"
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-19toc : use newer toc partial and indent elementsAditya Telange
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
2020-09-16toc: add option to open toc details by defaultAditya Telange
usage: in page params add (yml) TocOpen: true
2020-09-15layouts: single: update post metaAditya Telange
2020-09-14post-cover-image : add support for cover image for postAditya Telange
usage with post params => cover = "<absolute image url>"
2020-08-28add ability to disbale share on certain pagesAditya Telange
add disableShare = true in page params --- disableShare: true ---
2020-08-25support Multilingual navigationAditya Telange
add reading time as i18n
2020-08-23share-buttons: fix icons not shownAditya Telange
when no tags were present
2020-08-20layouts/single : add option to disable Post-metaAditya Telange
i.e. date, author-info can be used for posts which are just info, and not a 'post' set `hideMeta = true` in Page Variables (https://gohugo.io/variables/page/#page-variables)
2020-07-28draft tag `[draft]` improveAditya Telange
2020-07-27add Share ButtonsAditya Telange
use Params.ShowShareButtons = true credits : https://www.iconfinder.com/iconsets/social-media-rounded-corners License: Free for commercial use
2020-07-24toc: look coolAditya Telange
- improve toc styling - make collapsable
2020-07-24add Table of ContentsAditya Telange
- can be used by `ShowToc = true` in Single Post params
2020-07-24add [draft] markAditya Telange
- to identify drafts from other posts
2020-07-20new layoutAditya Telange
- create baseof - separate list, single - header, footer
2020-07-20comments: rm commentsAditya Telange
- user needs to enable comments in hugo config + params: comments: true - disabled by default
2020-07-20refactor; lintingAditya Telange
2020-03-09update html formatnanxiaobei
2019-08-21Refine codenanxiaobei
2019-08-20Update layoutsnanxiaobei
2019-06-10Change `.Site.BaseURL` to `absURL`nanxiaobei
2019-04-28Add a way to change the date format with 'dateFormat' site paramNazım Can Altınova
2019-04-01Update htmlnanxiaobei
2019-03-31Update for 3.0nanxiaobei