Commit Graph

24 Commits

Author SHA1 Message Date
Aditya Telange 33e48f9892 Add anchor link to archive layout headers 2024-05-01 13:56:39 +05:30
Aditya Telange 60984fd136 Add icon for 'draft' posts
https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aedit_note%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048

LICENSE: https://developers.google.com/fonts/faq#can_i_use_any_font_in_a_commercial_product
2023-12-16 14:06:46 +05:30
Aditya Telange be5badf317 Add RSS icon to archives page 2023-04-23 20:15:10 +05:30
Aditya Telange 1d151a4a02 Revert "Add RSS icon to archive pages (#1156)" (#1183)
This reverts commit a636c9eaee.
2023-04-02 00:17:01 +05:30
Clément Joly a636c9eaee Add RSS icon to archive pages (#1156)
If the setting “ShowRssButtonInSectionTermList” is true, I think it
makes sense to also show the RSS icon by the title in archive pages, as
we do for other article lists.

This reuses the code of `layouts/_default/list.html`.
2023-04-01 23:58:19 +05:30
Aditya Telange 575cc0ca8c Use site function instead of .Site or $.Site
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange 7072a79f71 Refine [draft] tag display 2021-09-04 12:03:12 +05:30
Aditya Telange caa2240f12 Add missing [draft] tag on archive page 2021-08-30 15:22:22 +05:30
Aditya Telange fc87fc3a29 Add option to show all pages in archive
usage =>
    In site config
    `Params.ShowAllPagesInArchive: true`
2021-06-17 16:36:56 +05:30
Aditya Telange 196b82645e Fix Spacing in overall repo 2021-03-30 18:26:43 +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
Misha Brukman e89e7570cd Archive: Close the <sup> tag for month counts (#93) 2020-11-29 09:20:56 +05:30
Aditya Telange 684cb2160f layouts: post_meta as partial 2020-10-22 16:53:24 +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 94070f4cd9 archives: add posts count for each yr and month
* misc(css): rm unused
2020-09-29 16:42: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 81b0b0c809 archives : improvements 2020-09-20 17:00:45 +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 e35915a561 support Multilingual navigation
add reading time as i18n
2020-08-25 14:04:59 +05:30
Aditya Telange db338970a1 archive: title use page-header class 2020-07-25 11:35:55 +05:30
Aditya Telange 0950fb89a8 add archives layout
- can be used by setting
        layout: "archives"
2020-07-23 03:00:51 +05:30