~bfiedler/website

4a82f9d859824a0562dbd89de8569891fa3c308e — Ben Fiedler a month ago c8c8833
Override RSS feed on homepage

Point to /blog/index.xml because it is the only one that matters
4 files changed, 4 insertions(+), 2 deletions(-)

M config.toml
M content/about/index.md
M layouts/_default/baseof.html
M layouts/_default/home.html
M config.toml => config.toml +1 -1
@@ 11,7 11,7 @@ pygmentsUseClasses = true
  blog = "/blog/:year/:month/:day/:filename"

[outputs]
  home = ["HTML", "RSS"]
  home = ["HTML"]
  blog = ["HTML", "RSS"]
  taxonomies = ["HTML"]
  taxonomyTerms = ["HTML"]

M content/about/index.md => content/about/index.md +0 -1
@@ 1,7 1,6 @@
---
title: "About me"
layout: "about"
date: 1970-01-01T00:00:00+00:00
---

I am a Master's student in [Computer Science](https://inf.ethz.ch) at [ETH

M layouts/_default/baseof.html => layouts/_default/baseof.html +2 -0
@@ 11,9 11,11 @@
        <link rel="stylesheet" href="{{ $worksans.RelPermalink }}" integrity="{{ $worksans.Data.Integrity }}">
        {{- $main := resources.Get "style.scss" | toCSS | minify | fingerprint }}
        <link rel="stylesheet" href="{{ $main.RelPermalink }}" integrity="{{ $main.Data.Integrity }}">
        {{- block "rss" . -}}
        {{- with .OutputFormats.Get "rss" -}}
        {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
        {{- end -}}
        {{- end -}}
        <link rel="icon" href="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20'-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN'%20'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg%20enable-background%3D%22new%200%200%20142.916%20142.916%22%20version%3D%221.1%22%20viewBox%3D%220%200%20142.92%20142.92%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m32.901%20114.8-12.015%2016.507c-2.375%203.265-1.656%207.835%201.608%2010.21%201.301%200.945%202.807%201.4%204.295%201.4%202.261%200%204.487-1.043%205.917-3.006l12.11-16.638c7.951%204.239%2017.019%206.651%2026.644%206.651%2031.342%200%2056.84-25.499%2056.84-56.842%200-15.979-6.636-30.427-17.283-40.764l15.074-20.709c2.375-3.265%201.655-7.834-1.607-10.21-3.273-2.377-7.84-1.651-10.209%201.608l-14.962%2020.556c-8.241-4.655-17.739-7.323-27.856-7.323-31.343%200-56.842%2025.499-56.842%2056.841%200%2016.477%207.05%2031.329%2018.286%2041.719zm80.781-41.719c0%2023.284-18.94%2042.226-42.226%2042.226-6.407%200-12.461-1.477-17.905-4.039l48.729-66.951c7.051%207.548%2011.402%2017.648%2011.402%2028.764zm-42.225-42.224c6.901%200%2013.403%201.698%2019.159%204.646l-49.043%2067.381c-7.623-7.643-12.344-18.181-12.344-29.801%203e-3%20-23.284%2018.944-42.226%2042.228-42.226z%22%2F%3E%3C%2Fsvg%3E%0A" type="image/svg+xml" sizes="any">
    </head>
    <body{{ if not .IsHome }} class="content"{{ end }}>

M layouts/_default/home.html => layouts/_default/home.html +1 -0
@@ 1,4 1,5 @@
{{ define "title" }}Ben Fiedler{{ end }}
{{ define "rss" }}<link rel="alternate" type="application/rss+xml" href="{{ "/blog/index.xml" | absURL }}" title="3fx.ch" />{{ end }}
{{ define "main" }}
<main id="intro">
    <h1>Ben Fiedler</h1>