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:
@@ -101,6 +101,7 @@
|
||||
"footnote-ref",
|
||||
"footnotes",
|
||||
"frac-line",
|
||||
"hextra-archive-timeline",
|
||||
"hextra-badge",
|
||||
"hextra-banner",
|
||||
"hextra-banner-close-button",
|
||||
@@ -314,6 +315,7 @@
|
||||
"hx:dark:hover:text-gray-300",
|
||||
"hx:dark:hover:text-gray-50",
|
||||
"hx:dark:hover:text-neutral-50",
|
||||
"hx:dark:hover:text-primary-400",
|
||||
"hx:dark:hover:text-white",
|
||||
"hx:dark:opacity-80",
|
||||
"hx:dark:placeholder:text-gray-400",
|
||||
@@ -347,6 +349,7 @@
|
||||
"hx:data-[state=selected]:dark:text-primary-600",
|
||||
"hx:data-[state=selected]:text-primary-600",
|
||||
"hx:decoration-from-font",
|
||||
"hx:duration-150",
|
||||
"hx:duration-200",
|
||||
"hx:duration-75",
|
||||
"hx:ease-in",
|
||||
@@ -424,6 +427,7 @@
|
||||
"hx:inline-flex",
|
||||
"hx:inset-x-0",
|
||||
"hx:inset-y-0",
|
||||
"hx:items-baseline",
|
||||
"hx:items-center",
|
||||
"hx:items-start",
|
||||
"hx:justify-between",
|
||||
@@ -515,6 +519,7 @@
|
||||
"hx:min-w-[18px]",
|
||||
"hx:min-w-[24px]",
|
||||
"hx:min-w-full",
|
||||
"hx:ml-2",
|
||||
"hx:ml-4",
|
||||
"hx:mr-1",
|
||||
"hx:mr-2",
|
||||
@@ -558,6 +563,7 @@
|
||||
"hx:pb-8",
|
||||
"hx:pb-[env(safe-area-inset-bottom)]",
|
||||
"hx:pb-px",
|
||||
"hx:pl-6",
|
||||
"hx:pl-[max(env(safe-area-inset-left),1.5rem)]",
|
||||
"hx:placeholder:text-gray-500",
|
||||
"hx:pointer-events-none",
|
||||
@@ -646,6 +652,7 @@
|
||||
"hx:sm:w-[110%]",
|
||||
"hx:sr-only",
|
||||
"hx:sticky",
|
||||
"hx:tabular-nums",
|
||||
"hx:text-2xl",
|
||||
"hx:text-4xl",
|
||||
"hx:text-[.65rem]",
|
||||
|
||||
Reference in New Issue
Block a user