Compare commits
53 Commits
f0cc94da72
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
de0c9f5e01
|
|||
|
c9d37811aa
|
|||
| 83b7c5f3bd | |||
|
9319d42aca
|
|||
|
9bb7fcc300
|
|||
|
d3f55b81af
|
|||
|
ad7435e9fb
|
|||
|
bc94e7b75e
|
|||
|
c5d35b7bc2
|
|||
| 80b4c2af5c | |||
| 0b10385728 | |||
|
907db96de0
|
|||
|
323fc7a02a
|
|||
| 9932fa0967 | |||
|
7c85d3d12e
|
|||
|
66e70b3a81
|
|||
|
a36e021a62
|
|||
|
089f274470
|
|||
|
e13612f9e8
|
|||
| b8be16d9f2 | |||
|
a7f649e916
|
|||
|
eacaf507e4
|
|||
|
6fd705e70e
|
|||
|
668294d5bb
|
|||
|
c356a28e6d
|
|||
|
e1f0e85f78
|
|||
|
03c7ddb955
|
|||
|
42e49897fa
|
|||
|
b3da6cdd20
|
|||
|
96db2ac021
|
|||
|
5b5035f7cd
|
|||
|
26658b1ce5
|
|||
|
a8f98b00be
|
|||
|
b3fb7d5df0
|
|||
|
6aea794dbd
|
|||
|
32a3e593ef
|
|||
|
a5680a4864
|
|||
|
3df4e58b02
|
|||
|
7bed7414c6
|
|||
|
91b3d266e8
|
|||
|
5143e4d92a
|
|||
|
213b90a191
|
|||
|
920bb21de6
|
|||
|
bc7ec2915e
|
|||
|
75f7f22c75
|
|||
|
c226b761a9
|
|||
|
e284e7ee99
|
|||
|
5d2a01c36d
|
|||
|
dbd01c8ad0
|
|||
|
297fbf41a4
|
|||
|
fb791102f7
|
|||
|
fc1969f5ac
|
|||
|
d99b4821d9
|
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 |
@@ -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 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 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
33
mise.toml
Normal 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}}/
|
||||
'''
|
||||
@@ -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
|
||||
];
|
||||
|
||||
Submodule themes/hugo-mastodon-comments updated: 96db0131ad...67d92eba01
@@ -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 */
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{ end }}
|
||||
{{ range .Pages }}
|
||||
<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 }}
|
||||
<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>
|
||||
|
||||
@@ -75,10 +75,10 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<!-- comments -->
|
||||
{{ partial "comments" . }}
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
{{ partial "comments" . }}
|
||||
{{ partial "social" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user