Commit Graph

204 Commits

Author SHA1 Message Date
Aditya Telange d8199140e5
post-cover: add support for relative path for cover image
* 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-04 09:50:40 +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 9f7e454ae6 post-single: added comments page override 2020-10-01 19:23:48 +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 94070f4cd9
archives: add posts count for each yr and month
* misc(css): rm unused
2020-09-29 16:42:23 +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 1a2a6d7c78
post-meta: change sepearator
"." -> "·"
2020-09-23 13:15:33 +05:30
Aditya Telange eb6e94d1d2
archive: update meta
* match with others
2020-09-23 13:12: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 05035121ff
misc : refactor
* manage spacing and whitespace in meta
2020-09-22 13:48:38 +05:30
Aditya Telange 5901cac6c4
post-single : display available translations
in post - meta
2020-09-22 13:41:23 +05:30
Aditya Telange 097eb6baf2
refactor 2020-09-22 12:41:25 +05:30
Aditya Telange fd143fede2
i18n: read_time improvements 2020-09-22 12:40:40 +05:30
Aditya Telange 7cc579f197
i18n: add support for toc translation 2020-09-22 12:04:14 +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 873bc34d45
misc: refactor
* accessibility, duplicate code
2020-09-21 15:44:37 +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 81b0b0c809
archives : improvements 2020-09-20 17:00:45 +05:30
Aditya Telange 1e5f020efb
footer : add git.io shortened url 2020-09-20 13:24:38 +05:30
Aditya Telange 082d960e13
Revert "home-info: handle case where home-info was hidden"
This reverts commit ce408f6afc.

* incomplete
2020-09-19 17:29:38 +05:30
Aditya Telange 7204003afd
accessibility : add aria-label to share-icons 2020-09-19 17:19:55 +05:30
Aditya Telange 32289fe2e7
toc : use newer toc partial and indent elements
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
2020-09-19 17:03:27 +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 ce408f6afc
home-info: handle case where home-info was hidden
when num of posts = 0
2020-09-17 16:14:56 +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 c7885d62a2
fix: for ebb9eb , partialCached impl 2020-09-17 12:07:32 +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 a8652f57f3
toc: add option to open toc details by default
usage: in page params add (yml)
TocOpen: true
2020-09-16 15:41:28 +05:30
Aditya Telange f669a90052
go-to-top: add title
* accessibility
2020-09-15 23:11:06 +05:30
Aditya Telange 6813112e25
layouts: single: update post meta 2020-09-15 22:32:34 +05:30
Aditya Telange 9c861cb77f
Special-1st-Post: allow disabling the special highlight of 1st Post
* usage => in site config
    params:
        disableSpecial1stPost : true
2020-09-14 22:50:04 +05:30
Aditya Telange ab451ef89c
post-cover-image : add support for cover image for post
usage with post params =>
    cover = "<absolute image url>"
2020-09-14 17:45:22 +05:30
Digitalcraftsman ab14f2f275
Adapt theme to be compatible with hugoBasicExample
_default/{archives,list}.html utilize .site.Params.mainSections

This flexible option let's users decide what content pages they want to
display in the archive and on the homepage. By default, Hugo adds
content types with the most content files as a good heuristic. Can be
overwritten at any time in the config file.

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-09-12 09:57:30 +05:30