diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 6dbe9006..6c62cc8f 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1670,14 +1670,14 @@ select { width: 3rem; } -.w-36 { - width: 9rem; -} - .w-full { width: 100%; } +.w-36 { + width: 9rem; +} + .w-24 { width: 6rem; } @@ -3073,10 +3073,6 @@ body:has(#menu-controller:checked) { } } -.max-w-prose { - max-width: 75ch; -} - .first\:mt-8:first-child { margin-top: 2rem; } @@ -3523,6 +3519,10 @@ body:has(#menu-controller:checked) { width: 50%; } + .sm\:max-w-prose { + max-width: 65ch; + } + .sm\:flex-row { flex-direction: row; } @@ -3676,6 +3676,10 @@ body:has(#menu-controller:checked) { margin-right: 0px; } + .lg\:ml-auto { + margin-left: auto; + } + .lg\:mt-0 { margin-top: 0px; } diff --git a/assets/css/main.css b/assets/css/main.css index d908ed23..fb16a5f2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -395,8 +395,4 @@ body:has(#menu-controller:checked) { .article { flex-wrap: nowrap; } -} - -.max-w-prose { - max-width: 75ch; } \ No newline at end of file diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 1aec57d3..19f5c02f 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -57,7 +57,7 @@ mainSections = ["docs"] [list] showBreadcrumbs = false showSummary = true - showTableOfContents = false + showTableOfContents = true showCards = true groupByYear = false diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 44e95c28..4462abef 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -25,7 +25,7 @@ {{ if gt .Pages 0 }} -
+
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d55201d1..5903837a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,7 +21,8 @@
{{ if and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in - .TableOfContents " + .TableOfContents "
{{ partial "toc.html" . }}
diff --git a/package.json b/package.json index b0b817ac..fdc533e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.4.1", + "version": "2.4.2", "description": "Blowfish theme for Hugo", "scripts": { "preinstall": "rimraf assets/vendor",