Compare commits

..

53 Commits

Author SHA1 Message Date
de0c9f5e01 feat: add mastodon link
All checks were successful
Website build and deploy / build (push) Successful in 50s
2026-04-01 11:51:11 +02:00
c9d37811aa chore: shorten summary for podcast
All checks were successful
Website build and deploy / build (push) Successful in 53s
2026-04-01 11:49:20 +02:00
83b7c5f3bd Merge pull request 'Fix broken links, add linkcheck to CI' (#16) from fix-links into main
All checks were successful
Website build and deploy / build (push) Successful in 51s
Reviewed-on: #16
2026-04-01 11:45:58 +02:00
9319d42aca fix: broken links, add check to CI
All checks were successful
Website build and deploy / build (pull_request) Successful in 42s
2026-04-01 11:44:44 +02:00
9bb7fcc300 feat: add link check, enable clever link rendering
All checks were successful
Website build and deploy / build (push) Successful in 1m22s
2026-04-01 11:12:12 +02:00
d3f55b81af feat: add FOSS Backstage talk and GNU/LInux.ch podcast 2026-04-01 11:11:39 +02:00
ad7435e9fb chore: fix link 2026-04-01 10:38:21 +02:00
bc94e7b75e css: slight style improvements
Some checks failed
Website build and deploy / build (push) Failing after 20s
2026-03-31 17:40:30 +02:00
c5d35b7bc2 feat: make sure version hash for CSS files remains stable if content is the same
All checks were successful
Website build and deploy / build (push) Successful in 59s
2026-03-31 17:27:49 +02:00
80b4c2af5c Merge pull request 'chore(deps): update https://github.com/jdx/mise-action action to v4' (#15) from renovate/https-github.com-jdx-mise-action-4.x into main
All checks were successful
Website build and deploy / build (push) Successful in 1m23s
Reviewed-on: #15
2026-03-31 17:11:15 +02:00
0b10385728 chore(deps): update https://github.com/jdx/mise-action action to v4
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Website build and deploy / build (pull_request) Successful in 1m6s
2026-03-28 01:17:08 +00:00
907db96de0 add mastodon URLs to recents posts
All checks were successful
Website build and deploy / build (push) Successful in 2m10s
2026-03-02 18:04:51 +01:00
323fc7a02a feat: improve site title to show actual title first
All checks were successful
Website build and deploy / build (push) Successful in 2m25s
2026-03-02 17:19:04 +01:00
9932fa0967 Merge pull request 'Fix build in new Hugo versions, use mise to sync versions in CLI and CI' (#13) from hugo-0.157-rss into main
All checks were successful
Website build and deploy / build (push) Successful in 2m9s
Reviewed-on: #13
2026-03-02 17:09:41 +01:00
7c85d3d12e feat: add mise to configure Hugo version, and add to CI
All checks were successful
Website build and deploy / build (pull_request) Successful in 42s
2026-03-02 17:06:21 +01:00
66e70b3a81 chore: adapt to breaking changes in Hugo, update RSS template 2026-03-02 16:24:29 +01:00
a36e021a62 feat: add hard-coded mastodon toot url for comments to speed up
All checks were successful
Website build and deploy / build (push) Successful in 1m6s
2026-02-24 12:47:32 +01:00
089f274470 disable debug logging for comments
All checks were successful
Website build and deploy / build (push) Successful in 1m9s
2026-02-24 11:03:59 +01:00
e13612f9e8 fix: overhaul comments system
All checks were successful
Website build and deploy / build (push) Successful in 1m5s
2026-02-23 17:39:04 +01:00
b8be16d9f2 Merge pull request 'Convert links list to individual blog entries' (#11) from links-as-blog into main
All checks were successful
Website build and deploy / build (push) Successful in 1m5s
Reviewed-on: #11
2026-02-23 16:16:10 +01:00
a7f649e916 feat: remove stackoverflow
All checks were successful
Website build and deploy / build (pull_request) Successful in 58s
2026-02-23 15:49:42 +01:00
eacaf507e4 feat: shorten landing page 2026-02-23 15:49:42 +01:00
6fd705e70e feat: recent posts on index, CSS and HTML improvements 2026-02-23 15:49:42 +01:00
668294d5bb feat: remove old links page 2026-02-23 15:49:42 +01:00
c356a28e6d feat: improve tag list display 2026-02-23 15:49:41 +01:00
e1f0e85f78 chore: consolidate tags 2026-02-23 15:49:41 +01:00
03c7ddb955 feat: convert remaining talks to content 2026-02-23 15:49:41 +01:00
42e49897fa feat: reduce summary length 2026-02-23 15:49:41 +01:00
b3da6cdd20 feat: header image contains alt and title tag 2026-02-23 15:49:40 +01:00
96db2ac021 feat: add first batch of av links 2026-02-23 15:49:40 +01:00
5b5035f7cd feat: add recent talks 2026-02-23 15:49:40 +01:00
26658b1ce5 feat: convert last 4 articles to proper content 2026-02-23 15:49:40 +01:00
a8f98b00be feat: convert next 5 links to proper content 2026-02-23 15:49:40 +01:00
b3fb7d5df0 feat: convert next 5 links to proper content 2026-02-23 15:49:39 +01:00
6aea794dbd feat: convert 2 more links to proper content 2026-02-23 15:49:39 +01:00
32a3e593ef feat: convert 2 links to proper content 2026-02-23 15:49:39 +01:00
a5680a4864 fix: wording on article button 2026-02-23 15:49:39 +01:00
3df4e58b02 feat: create archetype for updates 2026-02-23 15:49:39 +01:00
7bed7414c6 feat: improve new articles and links layout 2026-02-23 15:49:39 +01:00
91b3d266e8 ci: hardcode hugo version to avoid unexpected failures 2026-02-23 15:49:38 +01:00
5143e4d92a fix: actually use rendered header images 2026-02-23 15:49:38 +01:00
213b90a191 feat: improve headlines 2026-02-23 15:49:38 +01:00
920bb21de6 feat: improve button styling 2026-02-23 15:49:38 +01:00
bc7ec2915e feat: simple buttons to show links for media 2026-02-23 15:49:38 +01:00
75f7f22c75 fix: margin if not header text is present 2026-02-23 15:49:38 +01:00
c226b761a9 feat: handle missing header images 2026-02-23 15:49:37 +01:00
e284e7ee99 chore: reduce image size 2026-02-23 15:49:37 +01:00
5d2a01c36d feat: make types and languages selectable 2026-02-23 15:49:37 +01:00
dbd01c8ad0 feat: update meta image and tags 2026-02-23 15:49:37 +01:00
297fbf41a4 feat: add image processing, improvements 2026-02-23 15:49:37 +01:00
fb791102f7 feat: support leaf bundles for blog posts, refactor header images 2026-02-23 15:49:36 +01:00
fc1969f5ac feat: add three different media as blog types as testing objects, with infos on list 2026-02-23 15:49:36 +01:00
d99b4821d9 add OpenRail Day moderation to links
All checks were successful
Website build and deploy / build (push) Successful in 1m31s
2026-01-20 15:43:50 +01:00
24 changed files with 197 additions and 36 deletions

View File

@@ -33,6 +33,12 @@ jobs:
submodules: recursive # Get submdules
fetch-depth: 1 # Fetch all history for .GitInfo and .Lastmod
- name: Setup required tools (Hugo)
uses: https://github.com/jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
with:
cache: false # no cache on gitea
github_token: ${{ secrets.GH_TOKEN }}
- name: Create configuration for Matomo
run: |
cp themes/hugo-sustain/static/config.php.sample static/config.php
@@ -40,17 +46,19 @@ jobs:
sed -i "s|__PROXY_URL__|${{ secrets.MATOMO_PROXY_URL }}|" static/config.php
sed -i "s|__TOKEN_AUTH__|${{ secrets.MATOMO_TOKEN_AUTH }}|" static/config.php
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v3.0.0
with:
hugo-version: "0.155.3"
extended: true
- name: Check for broken links
run: |
if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then
mise linkcheck --offline || true
else
mise linkcheck --offline
fi
- name: Build website with Hugo
run: hugo
run: mise run build
- name: Copy website to host
uses: https://github.com/appleboy/scp-action@v1.0.0
uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
with:
host: mehl.mx
username: maxmehl

View File

@@ -12,12 +12,14 @@ summaryLength = 50
leftDoubleQuote = '“'
rightDoubleQuote = '”'
[markup.goldmark.renderHooks.link]
useEmbedded = "fallback"
[permalinks]
blog = "/blog/:year/:slug"
[params]
avatar = "profile.png"
author = "Max Mehl"
description = "Open Source expert with background in tech and policy. Focused on strategy, governance, and software supply chains. Building sustainable digital environments."
keywords = "open source, free software, Deutsche Bahn, DB Systel, FSFE, management, campaign, communication, strategy, konstanz, berlin, munster, IT service, politics, administration, scouts, founder"
@@ -25,6 +27,9 @@ summaryLength = 50
custom_css = ["comments/mastodon-comments.css"]
custom_js = ["comments/getcomments.js"]
[params.author]
name = "Max Mehl"
[params.social]
Github = "mxmehl"
Git = "https://src.mehl.mx/mxmehl"

View File

@@ -53,4 +53,4 @@ Any further questions? Do not hesitate [to ask me][3]!
[1]: /2015/naechste-station-tansania
[2]: /uploads/tanzania-map.png
[3]: //max.mehl.mx/contact
[3]: /contact

View File

@@ -10,7 +10,7 @@ tags:
headerimage:
src: /blog/system-chaos.jpg
text: Fortunately not how the FSFE's infrastructure looks like
mastodon_toot_url: "https://mastodon.social/@mxmehl/103010490628830773"
---
On 10 and 11 October, the FSFE System Hackers met in person to tackle

View File

@@ -11,7 +11,7 @@ tags:
headerimage:
src: /blog/hidden-street.jpg
text: The unknown Free Software contributors. Photo by Kaique Rocha
mastodon_toot_url: "https://mastodon.social/@mxmehl/103656218613382198"
---
A few days ago I've sent an announcement email for today's [I Love Free Software Day](https://ilovefs.org) to a large bunch of people. Most of the remarkably many replies have been positive and a pure joy to read, but some were a bit sceptical and critical. These came from Free Software contributors who are maintaining and helping projects that they think nobody knows and sees not because these software projects are unused, but because they are small, a building block for other, more popular applications.

View File

@@ -10,7 +10,7 @@ tags:
headerimage:
src: /blog/syshackers-group-hacking.jpg
text: Hackers in their natural working environment. For the picture we took off the black ski masks and gloves.
mastodon_toot_url: "https://mastodon.social/@mxmehl/103916900645046939"
---
For the 4th time, and less than 5 months after the last meeting, the

View File

@@ -10,6 +10,7 @@ tags:
headerimage:
src: /blog/git-sed.png
text: Replacing content in thousands of files? No problem!
mastodon_toot_url: "https://mastodon.social/@mxmehl/104590750280074999"
---
In the recent weeks and months, the [FSFE Web Team](https://fsfe.org/contribute/web/) has been doing some heavy work on the [FSFE website](https://fsfe.org). We moved and replaced thousands of files and their respective links to improve the structure of a historically grown website (19+ years, 23243 files, almost 39k commits). But how to do that most efficiently in a version controlled system like Git?

View File

@@ -11,6 +11,7 @@ tags:
headerimage:
src: /blog/docker.jpg
text: Shipping a load of containers requires a reliable infrastructure
mastodon_toot_url: "https://mastodon.social/@mxmehl/108193478971435955"
---
So you have a number of Docker containers running web services which you would

View File

@@ -10,6 +10,7 @@ tags:
headerimage:
src: /blog/library.jpg
text: Wouldn't it be a shame if your library were to be destroyed?
mastodon_toot_url: "https://mastodon.social/@mxmehl/111109533835169070"
---
I have been using [Seafile](https://www.seafile.com/) for years to host and

View File

@@ -19,6 +19,7 @@ slides: https://fosdem.org/2026/events/attachments/ZSWH3N-deutsche-bahn-supply-c
event:
name: FOSDEM 2026
href: https://fosdem.org/2026/schedule/event/ZSWH3N-deutsche-bahn-supply-chain-cra-strategy/
mastodon_toot_url: "https://mastodon.social/@mxmehl/116160561981890042"
---
At FOSDEM 2026, I presented Deutsche Bahn's software supply chain strategy in the context of the EU Cyber Resilience Act (CRA), but made clear from the start that CRA was the context, not the trigger. We didn't adopt SBOMs because of regulation regulation validated the direction we were already taking based on operational needs. The presentation positioned our work at the intersection of CRA compliance requirements, IT operation best practices, and the practical realities of running IT infrastructure for an organization with 220,000+ employees, 7,000+ IT applications, and 100,000+ Open Source components.

View File

@@ -19,6 +19,7 @@ slides: https://fosdem.org/2026/events/attachments/7EYTRJ-deutsche-bahn-large-sc
event:
name: FOSDEM 2026
href: https://fosdem.org/2026/schedule/event/7EYTRJ-deutsche-bahn-large-scale-sbom-approach/
mastodon_toot_url: "https://mastodon.social/@mxmehl/116160570821178215"
---
At FOSDEM 2026, I presented Deutsche Bahn's journey from operational need to concrete implementation of large-scale SBOM collection and use. The scale is staggering: approximately 500,000 SBOMs across our software supply chain expected, covering 7,000+ IT applications, 100,000+ Open Source components, and diverse sourcing streams from software we build ourselves to what we buy and operate. The talk focused on how we moved from understanding that "we need to know, in real-time, which exact component is used where and how" to actually making this happen in an organization with 220,000+ employees and hundreds of subsidiaries.

View File

@@ -0,0 +1,30 @@
---
title: "Getting Real with the Supply Chain: From SBOM Data to Action"
date: 2026-03-17
categories:
# Language
- english
# - deutsch
- presentation
# - podcast
# - article
tags:
- OSPO
- SupplyChain
- DeutscheBahn
headerimage:
src: max-cornelius-stage.jpg
alt: Cornelius Schumacher and Max Mehl giving the presentation at FOSS Backstage 2026. It's a total view of the auditorium from the back, with the two speakers on stage and the final slide in the background.
# summary: Visible on the listing page, but not on the article page
video: https://www.youtube.com/watch?v=M8wYRRCWaQU
slides: https://up.mehl.mx/slides/2026-03-17-foss-backstage-supply-chain.pdf
event:
name: FOSS Backstage 2026
href: https://26.foss-backstage.de/session/getting-real-with-the-supply-chain-from-sbom-data-to-action/
---
At DB, we handle 100,000+ SBOMs per day. For our small, virtual Open Source Program Office (OSPO), the challenge is not to get lost in the data, but to cut through the jungle and identify real risks. Together with my OSPO colleague Cornelius Schumacher, I presented this challenge at the FOSS Backstage conference in Berlin. We explained how we gather data, generate insights, and take action.
This talk was partly inspired by my earlier FOSDEM talks ([here](/blog/2026-01-fosdem-supply-chain-strategy) and [there](/blog/2026-02-fosdem-sbom-collection)), where I focused on DB's SBOM program and its tools. In this presentation, however, we highlighted what can be learned from it for professional Open Source management.
One topic stood out throughout the presentation: the need for an OSPO to balance between people, value, and risk. None of these should dominate, even though governance functions often tend to focus on risk. Instead, Cornelius and I advocated for a risk-based approach to managing Open Source.

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 KiB

View File

@@ -0,0 +1,28 @@
---
title: "Software-Lieferketten bei der Deutschen Bahn"
date: 2026-03-25
categories:
- deutsch
- podcast
tags:
- Community
- DeutscheBahn
- SupplyChain
summary: Ich wurde mal wieder von Ralf Hersel zum “Captain its Wednesday” Podcast von GNU/Linux.ch eingeladen, um über Software-Lieferketten bei der Deutschen Bahn zu sprechen. Anlass waren meine jüngsten Vorträge auf der FOSS Backstage und der FOSDEM, in denen ich über die Herausforderungen und Chancen von Software-Lieferketten bei der DB gesprochen habe.
headerimage:
src: ciw.jpg
alt: The famous "Captain it's Wednesday" comic
processes:
- fill 1000x440 center webp
audio: https://gnulinux.ch/podcast/CIW175.mp3
event:
name: Captain it's Wednesday Podcast
href: https://gnulinux.ch/ciw175-podcast
mastodon_toot_url: https://mastodon.social/@mxmehl/116318946107759692
---
Ich wurde mal wieder von Ralf Hersel zum "Captain it's Wednesday" Podcast von GNU/Linux.ch eingeladen, um über Software-Lieferketten bei der Deutschen Bahn zu sprechen. Anlass waren meine jüngsten Vorträge auf der [FOSS Backstage](/blog/2026-03-foss-backstage-getting-real-supply-chain) und der [FOSDEM](/blog/2026-01-fosdem-supply-chain-strategy), in denen ich über die Herausforderungen und Chancen von Software-Lieferketten bei der DB gesprochen habe.
Mit Ralf habe ich mal ganz vorne angefangen: was ist eine Software-Lieferkette überhaupt, warum ist sie wichtig, und wie sieht sie bei einem großen Unternehmen wie der Deutschen Bahn aus, und was haben diese SBOMs damit zu tun? Wir haben über die enormen Mengen an Software-Komponenten gesprochen, die täglich bei der DB verarbeitet werden, und wie wir versuchen, den Überblick zu behalten und Risiken zu managen. Dabei ging es auch um die Rolle von Freier und Open Source in der Lieferkette und wie wir dabei mit der Community zusammenarbeiten.
Nach exakt 37 Minuten war das Gespräch auch schon wieder vorbei und natürlich konnten wir nicht in jedes Detail eintauchen. Aber ich hoffe, es war dennoch ein interessanter Einblick für die Zuhörenden.

33
mise.toml Normal file
View File

@@ -0,0 +1,33 @@
[tools]
hugo-extended = "0.159.1"
lychee = "latest"
[vars]
build_dir = "public"
[tasks.cleanup]
description = "Clean up the build destination directory"
run = "rm -r {{vars.build_dir}} || true"
[tasks.build]
depends = ["cleanup"]
description = "Build the static site using Hugo"
run = "hugo -d {{vars.build_dir}}"
[tasks.preview]
depends = ["cleanup"]
description = "Preview the site locally using Hugo's built-in server"
run = "hugo server"
[tasks.linkcheck]
depends = ["build"]
description = "Check for broken links using lychee"
run = '''
lychee \
--max-concurrency 5 --cache --max-cache-age 1h \
--index-files 'index.html' \
--root-dir {{vars.build_dir}}/ \
-u 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple WebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36' \
--exclude 'glyphicons-halflings-regular\.(eot|woff|woff2|ttf|svg)' \
{{vars.build_dir}}/
'''

View File

@@ -9,7 +9,7 @@ $config = [
// the URL of your blog. All toots are searched for this string
// please use https?:// as schema
'search-url' => 'https?://mehl.mx',
'cache_toots' => 300, // seconds to cache toots
'cache_toots' => 1800, // seconds to cache toots
'cache_comments' => 300, // seconds to cache comments (per ID)
'debug' => false // writes some debug messages in error_log
];

View File

@@ -363,6 +363,13 @@ div.contact p {
margin-top: 0;
}
}
// First and last card in the list have different border radius
.row:first-child .card {
border-radius: 1rem 1rem 0 1rem;
}
.row:last-child .card {
border-radius: 0 1rem 1rem 1rem;
}
}
/* Helpers */

View File

@@ -65,7 +65,9 @@
</div>
<div class="col-xs-9 col-md-10">
{{ if $selection }}
<span class="article-rss"><a class="label label-rss" href="/{{ .Data.Plural }}/{{lower .Title}}/index.xml" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to »{{.Title}}«</a></span>
{{- with .OutputFormats.Get "RSS" -}}
<span class="article-rss"><a class="label label-rss" href="{{ .Permalink }}" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to »{{ $.Title }}«</a></span>
{{- end -}}
{{ else }}
<span class="article-rss"><a class="label label-rss" href="/blog/index.xml" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to all posts</a></span>
{{ end }}

View File

@@ -1,28 +1,70 @@
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
{{- $authorEmail := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .email }}
{{- $authorEmail = . }}
{{- end }}
{{- end }}
{{- end }}
{{- $authorName := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .name }}
{{- $authorName = . }}
{{- end }}
{{- else }}
{{- $authorName = . }}
{{- end }}
{{- end }}
{{- $pctx := . }}
{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
{{- $pages := slice }}
{{- if or $.IsHome $.IsSection }}
{{- $pages = $pctx.RegularPages }}
{{- else }}
{{- $pages = $pctx.Pages }}
{{- end }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $pages = $pages | first $limit }}
{{- end }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ with .Title }} ({{.|humanize}}){{ end }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
<generator>Hugo</generator>
<language>{{ site.Language.LanguageCode }}</language>
{{- with $authorEmail }}
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>
{{- end }}
{{- with $authorEmail }}
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>
{{- end }}
{{- with .Site.Copyright }}
<copyright>{{ . }}</copyright>
{{- end }}
{{- if not .Date.IsZero }}
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{- end }}
{{- with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ range .Pages }}
{{- end }}
{{- range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
{{- with $authorEmail }}
<author>{{.}}{{ with $authorName }} ({{.}}){{end}}</author>
{{- end }}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
<content:encoded>{{ .Content | html }}</content:encoded>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
<content:encoded>{{ .Content | transform.XMLEscape | safeHTML }}</content:encoded>
</item>
{{ end }}
{{- end }}
</channel>
</rss>

View File

@@ -75,10 +75,10 @@
{{ end }}
</div>
{{ end }}
</div>
</div>
<hr>
<!-- comments -->
{{ partial "comments" . }}
</div>
</div>
{{ partial "social" . }}
</div>
</div>

View File

@@ -9,13 +9,13 @@
{{- if .Params.heading -}}
{{- $title = .Params.heading -}}
{{- else -}}
{{- $title = print .Site.Title " | " .Title -}}
{{- $title = printf "%s | %s" .Title .Site.Title -}}
{{- end -}}
{{- end -}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="{{ .Site.Params.Author }}" />
<meta name="author" content="{{ .Site.Params.Author.name }}" />
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}" />{{ end }}
{{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}" />{{ end }}
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico" />

View File

@@ -13,9 +13,10 @@
<!-- Theme stylesheet, combination of all in assets/scss -->
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
<link rel="stylesheet" href="{{ ($style).RelPermalink }}?v={{ md5 time.Now.Unix }}">
<link rel="stylesheet" href="{{ ($style).RelPermalink }}?v={{ md5 $style.Content }}">
<!-- Custom CSS -->
{{- range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ relURL . }}?v={{ md5 time.Now.Unix }}" />
{{- $md5 := md5 (readFile (printf "static/%s" .)) }}
<link rel="stylesheet" href="{{ relURL . }}?v={{ $md5 }}" />
{{- end }}