Commit Graph

85 Commits

Author SHA1 Message Date
Aditya Telange a9ff9533a0
head, footer: add option to disable fingerprinting #89
in site config =>
    params:
      assets:
        disableFingerprinting: true
2020-12-01 18:52:06 +05:30
Aditya Telange dbb0e63248
head: change title separator "-" -> "|" 2020-11-23 01:27:09 +05:30
Aditya Telange a276a5dfd1
head: rm site.webmanifest, not a PWA 2020-11-17 19:38:07 +05:30
Aditya Telange 62477e7d1b
head: add meta robots
- disable indexing for non-prod sites
2020-11-14 12:55:19 +05:30
Aditya Telange f4998a1ab8
head: add google_news internal template from hugo 2020-11-14 12:44:56 +05:30
Aditya Telange d2f2fa6cc6
head: add alternate pages
to indicate multiple language/locale versions
for multilungual sites
2020-11-12 11:19:29 +05:30
Aditya Telange 64e8532a50
head: load stylesheet resources with a wildcard
- include profile-mode
  (cannot be done before f9fbdc9963)
- reduce request count from 2 to 1
  improves perf :P
  https://web.dev/resource-summary/
2020-11-09 11:18:22 +05:30
Aditya Telange 795c06b2cc
head: improve favicons presence
- 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-11-05 19:48:30 +05:30
Aditya Telange 5b9eaac130
layouts: use author partial in head and post_meta 2020-10-25 12:47:09 +05:30
Northerner-coder b720e4a523
extended_head: init (#44)
* add placeholder template for extending head
2020-10-18 20:21:42 +05:30
Aditya Telange 7db1be3d73
head: update description and keywords logic 2020-10-17 16:00:46 +05:30
Aditya Telange fb945ba3c1
json-schema: add support for Rich Results: Json schema for structured data (#36)
* 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-15 10:21:33 +05:30
Aditya Telange 306889f68b
head: link custom templates for social meta 2020-10-11 21:08:44 +05:30
Aditya Telange 8cab9c9de5
head: support favicon custom path
usage =>
params:
  assets:
    favicon: '<path / external url>'

closes #14
2020-10-04 15:09:50 +05:30
Aditya Telange 8a8652fbf0
assets: improvements
- rm redundant minify's
    - url as //assets/<js or css>/<path>
2020-10-03 18:31:08 +05:30
Aditya Telange 46d5200714
head: add meta keywords 2020-10-03 15:16:19 +05:30
Aditya Telange 178b1560e1
head: AlternativeOutputFormats impl as in hugo docs
* https://gohugo.io/templates/output-formats/#list-output-formats
2020-10-03 14:47:42 +05:30
Aditya Telange 61cbbee16c
css: refactor 2020-09-29 16:43:41 +05:30
Aditya Telange 016dd6e9fa
(lint) remove unnecessary whitespace
created by hugo's {{ }}
2020-09-23 12:52:32 +05:30
Aditya Telange d3517dadbf
head : improve meta 2020-09-17 14:03:57 +05:30
Aditya Telange 26aa913367
head: show title insted of description
on non-home pages
2020-09-06 21:16:55 +05:30
Aditya Telange a22aa8aac3
remove custom css support
* user can clone head into <site root>/layouts/partials/head.html
and add custom resources and assets according to wish
2020-09-06 20:27:17 +05:30
Aditya Telange eeb70f3f89
automatic-theme : remove 2020-09-06 20:16:51 +05:30
Aditya Telange 5345b3e6b0
profile-mode: enabled only on .Site.Params.profileMode.enabled: true 2020-08-27 19:55:39 +05:30
Aditya Telange 6be9da45ab
profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
2020-08-23 18:19:41 +05:30
Aditya Telange 741fc9d220
layouts/head : fix duplicate title
title - title
2020-08-23 15:58:27 +05:30
Aditya Telange d75f9c27f6
add google siteverification tag in head
to use this, add below code to config file
    analytics:
        google:
            SiteVerificationTag: "XYZabc"
2020-08-20 22:12:53 +05:30
Aditya Telange 5e129bde1d assets : use preload and defer 2020-07-25 12:30:52 +05:30
Aditya Telange 2e9aef08a5 Add Taxonomy Pages
- known as terms
    - ex Tags, Categories
2020-07-25 11:57:18 +05:30
Aditya Telange 0950fb89a8 add archives layout
- can be used by setting
        layout: "archives"
2020-07-23 03:00:51 +05:30
Aditya Telange 118bf1345e assets: assets to proper location 2020-07-21 14:25:56 +05:30
Aditya Telange 15d7a4aabd assets: separate style.css into parts 2020-07-21 14:20:35 +05:30
Aditya Telange 41006c33e1 assets: add fingerprint, integrity 2020-07-20 20:53:08 +05:30
Aditya Telange 338027b046 SetThemeAuto: disable auto theme set by default
- user needs to add
        + params:
             SetThemeAuto: true
2020-07-20 20:43:23 +05:30
Aditya Telange 2e0ef75edf separate head 2020-07-20 20:13:51 +05:30