feat: archives page (#922)
* feat: archives page * fix: empty archive show 'no posts found' message * Add ToC partials for structural consistency * Fix empty archive showing blank page * fix: rename archive to archives * chore: enhance archives and additional pages support - Updated the menu structure in hugo.yaml to include new sections for 'About', 'Archives', and 'Glossary' under 'More'. - Added new archive index files for multiple languages (Farsi, Japanese, Simplified Chinese) to support multilingual content. - Created additional pages documentation for glossary and archives in multiple languages. - Updated references in existing documentation to point to the new additional pages structure. - Improved the archives layout to display a user-friendly message when no posts are found. * fix: update date format in archives layout - Changed the date format in the archives layout from a partial to a direct format for improved readability, displaying dates as "Jan 02". * feat: add archive date format customization - Introduced a new parameter in hugo.yaml for customizing the date format of archive items, defaulting to "Jan 02". - Updated documentation in multiple languages to reflect the new optional date format feature for archives. --------- Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
7
assets/css/components/archives.css
Normal file
7
assets/css/components/archives.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.hextra-archive-timeline {
|
||||
border-left: 2px solid rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.dark .hextra-archive-timeline {
|
||||
border-left-color: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
Reference in New Issue
Block a user