Aditya Telange
016dd6e9fa
(lint) remove unnecessary whitespace
...
created by hugo's {{ }}
2020-09-23 12:52:32 +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
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
81b0b0c809
archives : improvements
2020-09-20 17:00:45 +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
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
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
c7885d62a2
fix: for ebb9eb , partialCached impl
2020-09-17 12:07:32 +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
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
Aditya Telange
519f23f8e9
accessibility : add aria-label to entry-link
2020-09-06 21:46:58 +05:30
Aditya Telange
11226ff1fe
rm redundant
2020-09-06 21:01:24 +05:30
Aditya Telange
47126e37d5
baseof : use partialCached for header and footer
...
ref: https://gohugo.io/functions/partialcached/
2020-08-28 17:34:55 +05:30
Aditya Telange
c0b3ea348f
list: add ability to hide summary on list
...
to hide summary, add to site config
params:
hideSummary: true
2020-08-28 16:44:50 +05:30
Aditya Telange
7f7d8cfb22
add ability to disbale share on certain pages
...
add disableShare = true in page params
---
disableShare: true
---
2020-08-28 16:39:06 +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
7f70d98f95
homeInfo : rm extra enabled param
2020-08-27 19:40:05 +05:30
Aditya Telange
f925f2fd40
rm index : merge index and list
2020-08-27 19:37:45 +05:30
Aditya Telange
201d269a1f
indexProfile : partial
2020-08-25 17:17:24 +05:30
Aditya Telange
e35915a561
support Multilingual navigation
...
add reading time as i18n
2020-08-25 14:04:59 +05:30
Aditya Telange
f852d06923
profile-mode : include social icons
...
usage : in config
params:
profileMode:
socialIcons:
- name: "<platform>"
url: : "<link>"
2020-08-24 16:58:47 +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
8af56e302d
share-buttons: fix icons not shown
...
when no tags were present
2020-08-23 16:35:53 +05:30
Aditya Telange
96d11d0505
move-to-top : scroll to body start
2020-08-21 21:13:13 +05:30
Aditya Telange
274688f238
layouts/single : add option to disable Post-meta
...
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-08-20 22:28:54 +05:30
Aditya Telange
94eada156d
draft tag `[draft]` improve
2020-07-28 12:36:53 +05:30
Aditya Telange
e0b08519c9
add Share Buttons
...
use Params.ShowShareButtons = true
credits : https://www.iconfinder.com/iconsets/social-media-rounded-corners
License: Free for commercial use
2020-07-27 14:28:58 +05:30
Aditya Telange
1329075c61
add scroll to top button
2020-07-27 12:04:36 +05:30
Aditya Telange
06c52025dc
list, index : draft : show some space before [draft]
2020-07-26 19:19:52 +05:30
Aditya Telange
fff89a4e30
list, index : show post authors
2020-07-26 19:17:04 +05:30
Aditya Telange
ea129c608d
list, index : show reading time
...
if Params.ShowReadingTime = true
2020-07-26 19:15:58 +05:30
Aditya Telange
880ce9bf68
pagination: buttons: new arrow icons
2020-07-26 19:09:38 +05:30
Aditya Telange
c76ab82a3c
baseof: archive to use body class list
2020-07-25 13:15:32 +05:30
Aditya Telange
2e9aef08a5
Add Taxonomy Pages
...
- known as terms
- ex Tags, Categories
2020-07-25 11:57:18 +05:30
Aditya Telange
db338970a1
archive: title use page-header class
2020-07-25 11:35:55 +05:30
Aditya Telange
57a8706d37
Revert "list: rm title"
...
This reverts commit d7d5a15da7
.
2020-07-25 10:27:20 +05:30
Aditya Telange
16b98dc8f9
toc: look cool
...
- improve toc styling
- make collapsable
2020-07-24 23:53:25 +05:30
Aditya Telange
c06357a604
add Table of Contents
...
- can be used by
`ShowToc = true` in Single Post params
2020-07-24 22:03:13 +05:30
Aditya Telange
d005d7d2bb
add [draft] mark
...
- to identify drafts from other posts
2020-07-24 20:46:33 +05:30
Aditya Telange
523098f87e
fix: make homeInfo available only on home
...
and not all pages
2020-07-24 15:19:59 +05:30
Aditya Telange
8356e48e47
Add option to use 1st entry as some Information
...
Currenty supports 2 vals Title and Content
Great for short intro for bloggers
can be enabled by using `Params.homeInfoParams`
homeInfoParams:
enabled: true
Title: Hi there 👋
Content: This is Content !! Can be Info, links, social-icons...
2020-07-23 16:24:44 +05:30
Aditya Telange
2955f2a19d
add config for default theme
...
- ex. defaultTheme: dark
2020-07-23 04:29:53 +05:30