Commit graph

41 commits

Author SHA1 Message Date
c47 d3ac32dc09
Fix heading links
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.
2024-03-04 20:47:53 +01:00
c47 24ed7eab29
Make h2 headings on blog posts list pages links
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.
2024-03-03 20:29:10 +01:00
c47 5b6152ec2a
Configure favicon assets
Configured favicon assets explicetely in hugo.yaml
2024-03-03 20:08:43 +01:00
c47 91b9329f90
Add favicons 2024-03-03 18:21:40 +01:00
c47 35477d7acf
Add favicon support
Set favicon: true in hugo.yaml and add static/favicon.ico
2024-03-03 18:09:04 +01:00
c47 9e4e6326d8
Move Logo style to custom theme-core override
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.
2024-03-03 11:14:25 +01:00
c47 4e51cdf4b9
Replace {{ .Title }} with fixed string
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.
2024-03-03 08:15:25 +01:00
c47 e63b913585
Add link to RSS feed as icon next to heading
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.
2024-03-03 08:02:43 +01:00
c47 3b129d8b92
Enable RSS feed for blog only
Disabled RSS globally in hugo.yaml and added content/_blog/index.md
where I enabled RSS output.
2024-03-02 22:01:05 +01:00
c47 6f2e1c3d11
Disable rss feed for home-page 2024-03-02 15:26:10 +01:00
c47 ca26bc5b06
Enable dark/light theme toggle 2024-03-02 14:16:57 +01:00
c47 b57df41a5d
Add Fork-Awesome files to repo 2024-02-28 07:41:13 +01:00
c47 7a60f299f4
Remove Fork-Awesome git-submodule 2024-02-28 07:36:10 +01:00
c47 5fc6cc06ee
Add all the regenerated old content 2024-02-27 22:45:23 +01:00
c47 30fceff6ca
Add basic intro text to home-page. 2024-02-27 19:45:47 +01:00
c47 0869a26757
Move styles to static/style.css
Due to 31a6ebaf8b I move the styles from single template to
static/style.css.
2024-02-27 19:44:39 +01:00
c47 31a6ebaf8b
Change order of css links
Simply change the order of the css links in the head template to make my
static/style.css work.

This closes #1
2024-02-27 19:41:11 +01:00
c47 e484749575
Add styles to layouts/blog/single.html series divs
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.
2024-02-27 18:12:40 +01:00
c47 26a25d12fc
Add layouts/index.html and content/_index.md
Added layouts/index.html and content/_index.md to format the home page
differently and make inclusion of blog posts disappear.
2024-02-26 19:58:47 +01:00
c47 a4642f46b4
Add mainSection to hugo.yaml
Configured /blog/ as main section, because if it's not configured hugo
will just take the section with most entries and this may change over
time.
2024-02-26 19:46:59 +01:00
c47 1934c173a6
Add lastmod to default archetype and add blog arch
Added the lastmod parameter to default.md archetype and added a blog.md
archetype that contains the `delang = false' parameter.
2024-02-20 21:11:55 +01:00
c47 42ed7538c8
Add 'series' taxonomy
Added the 'series' taxonomy to hugo.yaml and reordered the entries a
little bit.
2024-02-20 19:54:30 +01:00
c47 db6d30dd74
Add 'de' lang switch to layouts/blog/single.html
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'.
2024-02-20 19:47:29 +01:00
c47 05c864d871
Add layouts/shortcodes/target-blank.html
Added shortcode for links with target="_blank" attribute.
It has two required parameters for "url" and "linktext" and an
optional parameter "title".
2024-02-19 21:58:27 +01:00
c47 6a76833bfb
Add single.html for blog posts
Added single.html to layouts/blog to include pagination into single
template.
2024-02-19 21:57:12 +01:00
c47 51bcd50bbe Change site configuration
Allowed robots.txt index, disabled theme toggle and set dark as default.
Also added reading time and word count to post meta information.
2024-02-15 22:22:26 +01:00
c47 3ec482a392 Remove description from pages
Description should only be used as meta information, but not as visible
part of pages.
2024-02-15 22:17:35 +01:00
c47 10ff3c9d4d Add `middot' as delimiter for post meta
Once I removed the middot delimiter, but I think it looks better with it
:-)
2024-02-15 22:13:59 +01:00
c47 7d736ac770 Add styles for social link list 2024-02-15 19:27:56 +01:00
c47 cacda7d606 Add shortcodes for social links on /about/
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.
2024-02-14 23:14:01 +01:00
c47 c9e88eaac2 Add 'lastmod' info to post_meta
To do so I added layouts/partials/post_meta.html
2024-02-14 23:12:37 +01:00
c47 1605e41d6f Add impressum link to footer
To do so I added layouts/partials/footer.html
2024-02-14 23:10:53 +01:00
c47 d4f79effd3 Add support for privacy friendly head
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"'
2024-02-14 22:59:27 +01:00
c47 ccbc80062c Add shortcode for contact email
Added a shortcode to add a mailto-link that contains html entities
instead of plain text mail address.
2024-02-14 22:56:38 +01:00
c47 c6745c79cb Ignore /public/
For now I want to exclude /public/ from this repository. I'm thinking
about to add the repository of the results as a subtree one day, but not
now.
2024-02-12 15:41:35 +01:00
c47 fb75ea238a Add basic support for post series 2024-02-11 22:09:14 +01:00
c47 4f40870f6c Add support for Fork-Awesome
Added link tag in layouts/partials/head.html
Added git submodule at static/fonts/Fork-Awesome
2024-02-11 20:16:12 +01:00
c47 1be35dbac0 Add shortcode for an accessible heart icon
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.
2024-02-11 19:35:20 +01:00
c47 37fb5b257b Add support for custom CSS file
Added static/style.css and  layouts/partials/head.html where I added a
link element to include /style.css
2024-02-11 19:33:31 +01:00
c47 1506f9b519 Turne off typographer
The goldmark typographer substitutes simple/plain quotation marks with
different ones and I don't  want this.
2024-02-11 17:12:39 +01:00
c47 298ca42a62 Initial commit
Add theme and very minimal config for the site.
2024-02-11 16:00:32 +01:00