diff options
6 files changed, 26 insertions, 18 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/article-comments.html b/generators/hugo/themes/tdro/layouts/partials/article-comments.html index 8788254..07f2438 100644 --- a/generators/hugo/themes/tdro/layouts/partials/article-comments.html +++ b/generators/hugo/themes/tdro/layouts/partials/article-comments.html @@ -1,6 +1,6 @@ <article-comments> <section> - <h2 id="comments">Comments</h2> + {{ "## Comments" | markdownify }} <script data-isso="/isso/" data-isso-css="false" diff --git a/generators/hugo/themes/tdro/layouts/partials/article-more-content.html b/generators/hugo/themes/tdro/layouts/partials/article-more-content.html index 5751aaa..2e8f3e1 100644 --- a/generators/hugo/themes/tdro/layouts/partials/article-more-content.html +++ b/generators/hugo/themes/tdro/layouts/partials/article-more-content.html @@ -1,6 +1,6 @@ <article-more-content id="article-more-content"> <section> - <h2>More Content</h2> + {{ "## More Content" | markdownify }} {{ $more := shuffle .Site.RegularPages | first 3 }} {{ with $more }} {{ range . }} diff --git a/generators/hugo/themes/tdro/layouts/partials/article-references.html b/generators/hugo/themes/tdro/layouts/partials/article-references.html index 9de25c4..bade07d 100644 --- a/generators/hugo/themes/tdro/layouts/partials/article-references.html +++ b/generators/hugo/themes/tdro/layouts/partials/article-references.html @@ -4,7 +4,7 @@ {{- if fileExists $references -}} <article-references id="article-references"> <section> - <h2>References</h2> + {{ "## References" | markdownify }} </section> {{- partial $include . -}} </article-references> diff --git a/generators/hugo/themes/tdro/layouts/partials/article-webrings.html b/generators/hugo/themes/tdro/layouts/partials/article-webrings.html index 2d8189b..5f0a11a 100644 --- a/generators/hugo/themes/tdro/layouts/partials/article-webrings.html +++ b/generators/hugo/themes/tdro/layouts/partials/article-webrings.html @@ -2,7 +2,7 @@ {{- $include := "webrings/openring.html" -}} {{- if fileExists $webrings -}} -<article-on-web id="article-on-web"> +<article-webring id="article-webring"> <section> <button-anchor> <a href="https://git.sr.ht/~sircmpwn/openring" title="Generated by Open Ring"> @@ -10,8 +10,8 @@ <span>Openring</span> </a> </button-anchor> - <h2>On the Web</h2> + {{ "## Web Ring" | markdownify }} </section> {{- partial $include . -}} -</article-on-web> +</article-webring> {{- end -}} diff --git a/public/css/tdro-dark.css b/public/css/tdro-dark.css index ae02336..e2c0432 100644 --- a/public/css/tdro-dark.css +++ b/public/css/tdro-dark.css @@ -67,7 +67,11 @@ textarea { article a, body > footer a, -article-subsection a { +article-webring h2 a, +article-subsection a, +article-comments h2 a, +article-references h2 a, +article-more-content h2 a { color: #eee; } @@ -148,7 +152,7 @@ article-meta-bottom, article-meta-top a, article-meta-top, article-more-content time, -article-on-web time, +article-webring time, article-summary-meta, blockquote-footer, home-page article > h2, diff --git a/public/css/tdro.css b/public/css/tdro.css index d69dbfc..25fe94c 100644 --- a/public/css/tdro.css +++ b/public/css/tdro.css @@ -450,7 +450,7 @@ article h1, article h2, article h3, article ul li, -article-on-web h3, +article-webring h3, side-note-aside label, margin-note-aside label, article-more-content h3 { @@ -640,7 +640,7 @@ article, body > footer, article-list, taxonomy-list, -article-on-web, +article-webring, article-comments, article-references, article-subsection, @@ -660,7 +660,7 @@ article-more-content { body > footer, article-list, taxonomy-list, - article-on-web, + article-webring, article-comments, article-references, article-subsection, @@ -673,7 +673,7 @@ article-more-content { } taxonomy-list h2, -article-on-web h2, +article-webring h2, article-comments h2, article-references h2, article-more-content h2, @@ -821,7 +821,7 @@ article-archive-link a svg { vertical-align: bottom; } -article-on-web, +article-webring, article-comments, article-references, article-meta-bottom, @@ -829,11 +829,11 @@ article-more-content { padding: 2.5rem 1.5rem; } -article-on-web button-anchor { +article-webring button-anchor { float: right; } -article-on-web li + li { +article-webring li + li { margin-top: 1.5rem; } @@ -1998,7 +1998,11 @@ recent-articles h2 a { } article a, -article-subsection a { +article-subsection a, +article-webring h2 a, +article-comments h2 a, +article-references h2 a, +article-more-content h2 a { color: #000; } @@ -2118,7 +2122,7 @@ article-meta-bottom, article-meta-top a, article-meta-top, article-more-content time, -article-on-web time, +article-webring time, article-summary-meta, blockquote-footer, home-page article > h2, @@ -2180,7 +2184,7 @@ article-card article-thumbnail a, article-card article-thumbnail a:hover, article-meta-top a, article-meta-top a:hover, -article-on-web a, +article-webring a, button-anchor a:focus, button-anchor a:hover, code-block language-label a, |