Aditya Telange
1a8e14a848
Use custom paginator's PageNumber for home-info
...
fixes non-mainSections pages from being displayed in the list
amend to 143eb18
2021-02-10 21:17:40 +05:30
Aditya Telange
143eb18b75
handle case where home-info was hidden
...
when num of posts = 0
- fix : #227
- refactor conditions for nested if
- also fix for 082d960
2021-02-10 21:00:12 +05:30
Aditya Telange
37afb5f13e
show breadcrumb nav also on list pages
...
- specifically section pages
- should not display on home(index)
2021-02-08 20:30:34 +05:30
Aditya Telange
9257321547
Add description to other layouts
...
- helps adding description to sub-sections,
search, terms, archive pages
2021-01-27 21:31:33 +05:30
Aditya Telange
bc4d4153dc
add hideMeta param to list
...
- same as in single
- allows hiding meta in list pages
2021-01-24 18:05:00 +05:30
Aditya Telange
c9fa6c7915
cover: granular controls for hiding cover image #156
...
in site config =>
params:
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
per-page in front-matter =>
hidden: true # only hide on current single page
2020-12-29 16:44:03 +05:30
Devorange
d4b259cd63
list: use absURL for pagination ( #109 )
2020-12-05 20:12:55 +05:30
Aditya Telange
684cb2160f
layouts: post_meta as partial
2020-10-22 16:53:24 +05:30
Niek Blankers
21241c212e
relative-cover: init Responsive cover images ( #43 )
...
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
- generates images of different sizes
- browser can choose between set of images w.r.t viewport width
- is enabled by default
- supported image formats :
https://gohugo.io/content-management/image-processing/#target-format
- Customizing site config params:
params:
cover:
responsiveImages: false # if want to disable it
linkFullImages: true # if link original image on clicking cover
2020-10-22 16:42:26 +05:30
Northerner-coder
db52aa9942
layouts: Add DateFormat parameter ( #39 )
...
* User can change Date Format to be displayed in Front Matter
* Formats supported by Hugo can be found here: https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
2020-10-16 22:12:32 +05:30
Aditya Telange
95e6bf1e13
list: show nested sections
...
* shows links to section if _index.md is present
* by this sub-sections can be distinguished properly
* more about this and way to implement: https://gohugo.io/content-management/organization/#index-pages-_indexmd
2020-10-13 18:17:39 +05:30
Aditya Telange
a8abbd3545
post-cover: relative covers need to be explicitely set
...
* change in d819914
and #13
* previous impl breks sites not using `/static` dir as their static location
* hugo supports multiple static directories and previous impl checks only for one
* ref : https://gohugo.io/content-management/static-files/
usage change in post-vars =>
cover:
image: '<relative url>'
relative: true
2020-10-10 19:52:08 +05:30
Aditya Telange
3ca79f59fe
post-cover: fix strange `/./ ` in cover image url 2
...
#13
2020-10-10 19:41:44 +05:30
Aditya Telange
f933372c55
terms: fix unreachable code in taxonomy list
2020-10-10 19:34:13 +05:30
Aditya Telange
3068647f58
post-cover: use new format
...
usage =>
in page-vars front-matter
cover:
image: '<image path/url>'
alt: '<alt text>'
2020-10-04 18:40:39 +05:30
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
1a980f1dcb
refactor for "follow particular naming scheme
...
(91e30b806b
)"
2020-09-23 18:23:57 +05:30
Aditya Telange
1a2a6d7c78
post-meta: change sepearator
...
"." -> "·"
2020-09-23 13:15:33 +05:30
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
fd143fede2
i18n: read_time improvements
2020-09-22 12:40:40 +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
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
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
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
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
e35915a561
support Multilingual navigation
...
add reading time as i18n
2020-08-25 14:04:59 +05:30
Aditya Telange
94eada156d
draft tag `[draft]` improve
2020-07-28 12:36:53 +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
57a8706d37
Revert "list: rm title"
...
This reverts commit d7d5a15da7
.
2020-07-25 10:27:20 +05:30
Aditya Telange
d005d7d2bb
add [draft] mark
...
- to identify drafts from other posts
2020-07-24 20:46:33 +05:30
Aditya Telange
8a0783adfb
new layout
...
- create baseof
- separate list, single
- header, footer
2020-07-20 20:32:07 +05:30
Aditya Telange
e17e38b3ae
refactor; linting
2020-07-20 19:53:30 +05:30
Aditya Telange
d7d5a15da7
list: rm title
2020-07-20 19:36:48 +05:30
nanxiaobei
bcfd902a30
simplify code
2020-03-10 01:50:02 +08:00
nanxiaobei
47ee6db428
fix tag page
2020-03-09 23:56:13 +08:00
nanxiaobei
2b9088cff6
update pages source
2020-01-16 03:24:22 +08:00
nanxiaobei
c1a940e084
Fix context
2019-08-21 12:07:27 +08:00
nanxiaobei
5f823ccb70
Refine html
2019-08-21 07:24:39 +08:00
nanxiaobei
68a57bbb47
Update layouts
2019-08-20 04:12:49 +08:00
Nazım Can Altınova
cb6cdb37ef
Add a way to change the date format with 'dateFormat' site param
2019-04-28 15:56:39 +02:00
nanxiaobei
7ce5ae53af
Update tag page
2019-04-28 18:23:51 +08:00