summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
AgeCommit message (Collapse)Author
2021-01-20Revert "fix wrong load stylesheet and JS on multihost (multilingual) #126"Aditya Telange
Doesn't work with multilingual config with no specific baseurl This reverts commit ad79fdaf830e9df84a154510d67011c9e6d709a5.
2021-01-20fix wrong load stylesheet and JS on multihost (multilingual) #126Aditya Telange
2021-01-06fix wrong asset links on multihost config (#126)Roman Ispaev
CORS issue for multidomain setup (#168)
2020-12-27head: rm invalid rel="preload" on search assetsAditya Telange
2020-12-18head: trim whitespace from canonicalURLAditya Telange
- amend to 14c5245
2020-12-15head: Fix user defining canonical URL resulting in multiple canonical URLs ↵Cody Brownstein
(#133) * Revert "head: add support for Canonical URLs" This reverts commit 8af7c551ffb45e31d545373f88c78b38f660cf8d. * Allow user to specify single canonical URL
2020-12-15search: introduce loading custom fusejs options from site config #134Aditya Telange
* refer https://fusejs.io/api/options.html for opts * keys used can be some, all or none from ["title", "permalink", "summary", "content"] in config.yml, add fuseOpts as shown below => params: fuseOpts: isCaseSensitive: false shouldSort: true location: 0 distance: 1000 threshold: 0.4 minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"]
2020-12-13layouts: use hugo.IsProductionAditya Telange
2020-12-13head: add support for Canonical URLsAditya Telange
cc: #104 usage => in site config.yml (used for home page only) => canonical: ["https://www.example.com" , "https://blog.example.com"] in per-page vars => canonical: ["https://www.example.com/page1" , "https://blog.example.com/pages/page1"]
2020-12-11head: add *.css under assets/css/extended/Aditya Telange
to bundle it with stylesheet.css as single resource minified - added to the end so that default vars are overriden properly
2020-12-07head: commonize stylesheet resourceAditya Telange
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-01head, footer: add option to disable fingerprinting #89Aditya Telange
in site config => params: assets: disableFingerprinting: true
2020-11-23head: change title separator "-" -> "|"Aditya Telange
2020-11-17head: rm site.webmanifest, not a PWAAditya Telange
2020-11-14head: add meta robotsAditya Telange
- disable indexing for non-prod sites
2020-11-14head: add google_news internal template from hugoAditya Telange
2020-11-12head: add alternate pagesAditya Telange
to indicate multiple language/locale versions for multilungual sites
2020-11-09head: load stylesheet resources with a wildcardAditya Telange
- include profile-mode (cannot be done before f9fbdc9963c37b8ee46196de3349d6769839da4d) - reduce request count from 2 to 1 improves perf :P https://web.dev/resource-summary/
2020-11-05head: improve favicons presenceAditya Telange
- also set theme color to #2e2e33 - use syntax from https://favicon.io - `site.webmanifest` added, should be present in "static" Custom links to favicons can be added in site config => params: assets: favicon: "<link / abs url>" favicon16x16: "<link / abs url>" favicon32x32: "<link / abs url>" apple_touch_icon: "<link / abs url>" safari_pinned_tab: "<link / abs url>"
2020-10-25layouts: use author partial in head and post_metaAditya Telange
2020-10-18extended_head: init (#44)Northerner-coder
* add placeholder template for extending head
2020-10-17head: update description and keywords logicAditya Telange
2020-10-15json-schema: add support for Rich Results: Json schema for structured data (#36)Aditya Telange
* json-schema: init * sameAs can be set through .Site.Params.schema.sameAs * if it is not specified but social-icons exsists, we use social-icons for sameAs vars * .Site.Params.schema.sameAs overrides social-icons * publisherType can be changed via .Site.Params.schema.publisherType
2020-10-11head: link custom templates for social metaAditya Telange
2020-10-04head: support favicon custom pathAditya Telange
usage => params: assets: favicon: '<path / external url>' closes #14
2020-10-03assets: improvementsAditya Telange
- rm redundant minify's - url as //assets/<js or css>/<path>
2020-10-03head: add meta keywordsAditya Telange
2020-10-03head: AlternativeOutputFormats impl as in hugo docsAditya Telange
* https://gohugo.io/templates/output-formats/#list-output-formats
2020-09-29css: refactorAditya Telange
2020-09-23(lint) remove unnecessary whitespaceAditya Telange
created by hugo's {{ }}
2020-09-17head : improve metaAditya Telange
2020-09-06head: show title insted of descriptionAditya Telange
on non-home pages
2020-09-06remove custom css supportAditya Telange
* user can clone head into <site root>/layouts/partials/head.html and add custom resources and assets according to wish
2020-09-06automatic-theme : removeAditya Telange
2020-08-27profile-mode: enabled only on .Site.Params.profileMode.enabled: trueAditya Telange
2020-08-23profileMode : initAditya Telange
usaage, in config add params: profileMode: title: "PaperMod" // or default will be site.title imageUrl: "<image_link>"
2020-08-23layouts/head : fix duplicate titleAditya Telange
title - title
2020-08-20add google siteverification tag in headAditya Telange
to use this, add below code to config file analytics: google: SiteVerificationTag: "XYZabc"
2020-07-25assets : use preload and deferAditya Telange
2020-07-25Add Taxonomy PagesAditya Telange
- known as terms - ex Tags, Categories
2020-07-23add archives layoutAditya Telange
- can be used by setting layout: "archives"
2020-07-21assets: assets to proper locationAditya Telange
2020-07-21assets: separate style.css into partsAditya Telange
2020-07-20assets: add fingerprint, integrityAditya Telange
2020-07-20SetThemeAuto: disable auto theme set by defaultAditya Telange
- user needs to add + params: SetThemeAuto: true
2020-07-20separate headAditya Telange