Commit Graph

160 Commits

Author SHA1 Message Date
Aditya Telange c0ba1ce20d
social-icons: add svg for medium
* icon belong to medium[.]com
* converted to svg with online-convert[.]com
2020-10-19 19:00:01 +05:30
Aditya Telange a41f09bb99
extended_footer: init
* add placeholder template for extending footer

closes #37
2020-10-18 21:52:22 +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 353146891e
home-info, profile-mode: enable markdownify for text elements 2020-10-17 15:02:40 +05:30
Aditya Telange 3826200b7c
nav-label: accessibility 2020-10-17 00:05:10 +05:30
Aditya Telange 3edc160c59
nav-label: init
* label can be set differently from title
* label can have an optional icon with preffered size

* in site config =>
params:
  label:
    text: "Home"
    icon: /apple-touch-icon.png
    iconHeight: 35
2020-10-16 23:56:56 +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 23636ab326
templates: social-meta: prefer cover image over other images 2020-10-12 17:26:45 +05:30
Aditya Telange 306889f68b
head: link custom templates for social meta 2020-10-11 21:08:44 +05:30
Aditya Telange 4a4d0c009c
templates: add cover image to be linked into meta
for opengraph, schema and twitter
2020-10-11 21:04:17 +05:30
Aditya Telange 6c4e094c91
templates: Add Twitter Cards, OpenGraph, Schema
This code is licensed under Apache License 2.0
and is part of https://github.com/gohugoio/hugo
2020-10-11 20:07:43 +05:30
Aditya Telange 2c7cffb617
home-info: let content show upto 5 lines
* previously 3
2020-10-08 15:50:20 +05:30
Aditya Telange 724e73facb
social-icons: add buymeacoffee icon
* icon belongs to buymeacoffee.com
* edited to fit dual-tone theme
2020-10-08 14:27:43 +05:30
Aditya Telange a9e00a3640
theme: set proper conditions
for having default-theme with theme-toggle

* can set/unset default theme
* for default-theme: dark/light : theme-toggle will not be visible
* theme-toggle with defaultheme: auto is functional

fixes #25 for #15
2020-10-05 14:34:44 +05:30
Aditya Telange 994c0b56e1
noscript: add noscript tags
* hide theme-toggle and
    * go-to-top button
    when js is disabled
2020-10-05 14:07:23 +05:30
Kian Kasad c2c32282c1
footer: implement user-defined copyright (#23) 2020-10-05 10:04:33 +05:30
Aditya Telange 6a9e9e129a
theme-switch-button: init feature (#15)
* thanks to https://feathericons.com for svgs
* can be disabled in site config
   Params:
     disableThemeToggle : true
2020-10-04 20:43:24 +05:30
Aditya Telange af19236002
header: rm unnecessary logo link 2020-10-04 20:25:39 +05:30
Aditya Telange a34bcbd74c
toc(partial): generate toc for h1 - h6
previously: h1-h4
2020-10-04 18:52:14 +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 fcf2f7fb8f
share-icons: update whatsapp share url 2020-10-03 09:46:44 +05:30
Aditya Telange d18c5b74be
profile-mode: add support for adding subtitle 2020-10-02 14:35:38 +05:30
Aditya Telange 6dcd437146
social-icons: refactor
* use easier impl
2020-10-02 13:46:49 +05:30
Aditya Telange 8ff1f10eb7
social-icons: use height and with as css props;
rm hardcoded svg height and width
2020-10-02 13:46:22 +05:30
Aditya Telange a54b84ba0f
svg: remove unused class 2020-10-02 13:03:37 +05:30
Philip Gisella c048c1a841 svg: added rss 2020-10-01 19:23:48 +05:30
Aditya Telange 0e48338a7d
share-icons: improvements
* rm translatable text
* svg: rm redundant attributes
* css: add x-scroll, - backgroud, + border
* misc
2020-10-01 14:23:15 +05:30
Aditya Telange 61cbbee16c
css: refactor 2020-09-29 16:43:41 +05:30
Aditya Telange 1a980f1dcb
refactor for "follow particular naming scheme
(91e30b806b)"
2020-09-23 18:23:57 +05:30
Aditya Telange 91e30b806b
follow particular naming scheme 2020-09-23 18:21:28 +05:30
Aditya Telange 36062439dd
profile-mode: remove unnecessary partial 2020-09-23 16:39:23 +05:30
Aditya Telange 016dd6e9fa
(lint) remove unnecessary whitespace
created by hugo's {{ }}
2020-09-23 12:52:32 +05:30
Aditya Telange 2cb5c9dad5
footer: mv hljs initialiser with resource
* hinders linter
2020-09-23 12:33:19 +05:30
Aditya Telange a446401d47
share-icons: remove name attr
* deprecated in HTML5
2020-09-21 15:59:10 +05:30
Aditya Telange 06f09594dd
layouts: add rel="noopener noreferrer"
to outgoing links
2020-09-21 15:53:59 +05:30
Aditya Telange 6770e5e552
menu : add menu location indicator
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
2020-09-20 19:03:43 +05:30
Aditya Telange 46a092553a
profile-mode buttons: rm unnecesary div 2020-09-20 17:05:19 +05:30
Aditya Telange 1e5f020efb
footer : add git.io shortened url 2020-09-20 13:24:38 +05:30
Aditya Telange 7204003afd
accessibility : add aria-label to share-icons 2020-09-19 17:19:55 +05:30
Allan Chain 43d1c68ef4
toc: add toc partial [newer impl]
* gets toc fixed

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-09-19 17:02:20 +05:30
Aditya Telange 2eef3fcc12
automatic theme based on browser theme
usage: add to config
    params:
        defaultTheme: "auto"
2020-09-17 15:28:03 +05:30
Aditya Telange 3081579764
homeinfo : allow markdown 2020-09-17 15:14:38 +05:30
Aditya Telange db1ec959aa
fix: for ebb9eb4043
* Browser errors were logged to the console
2020-09-17 14:57:20 +05:30
Aditya Telange d3517dadbf
head : improve meta 2020-09-17 14:03:57 +05:30
Aditya Telange ebb9eb4043
highlightjs : include only on pages with mainSections
* this makes hljs not load on index, taxonomies, archive
pages where code highlighting isn't used
* improving page site load time
2020-09-17 11:56:28 +05:30
Aditya Telange f669a90052
go-to-top: add title
* accessibility
2020-09-15 23:11:06 +05:30