In 24ed7eab29 I added a link element to the template to turn
headings of blog posts into clickable links, but added it to the
wrong place, which caused a CSS problem.
This commit brings the fix.
Per default posts listed on list pages don't really have clickable
links. Access with non-graphical browsers is not given - this commit
brings the needed changes to fix this.
Copied themes/papermod/assets/css/core/theme-vars.css
to assets/css/core/ and custimized the primary color of the light theme
to a lighter one. I think the contrast was too high - wanted to have it
a bit smoother.
I wanted to generate "Blog posts" instead of "Blog" as h1 on list pages
in the /blog/ namespace. Changing the title in content/blog/_index.md
would have much more effects, so I dediced to make the change here to
only get exactly that one thing changed.
I just found out that the site param
`showRssButtonInSectionTermList'
exists and decided to set it to true. To ensure accessibility I added
`aria-hidden-true' to the svg and `class="visually-hidden' to the span
surrounding the link text.
Thus I removed the `RSS' link from the main menu.
Added a few styles directly to to the single template of the blog
namespace, because the rules didn't work in static/css/style.css.
This is just a temporary method, til I know how to make it nicely.
Added a conditional to single page template of the blog namespace, that
can insert the `lang="de"' attribute to `div.post-content'.
This can be done by setting the frontmatter parameter `delang' to
`true'.
Added layouts/shortcodes/social-ul.html and .. social-link.html.
These are used together to add an unordered list with social links and
fork-awesome icons.
Added custom baseof.html and partials/head-privacy.html
head-privacy.html is a copy of head.html but without twitter-card and
without JSON-LD. this is because these post rendered contents and though
obfuscated things (e.g. mailto-links, or similar) would get leaked as
plain.
The inclusion of the head-privacy.html is done through frontmatter with
`layout = "privacy"'
Added a shortcode that shows a heart icon in visible HTML and hides it
from ARIA - also adds a nested span that contains the string `<3' so
that an ASCII heart is there for visually impaired people.