Skip to content

Commit

Permalink
Rename config.toml to hugo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
yochem committed Oct 14, 2023
1 parent 8171b18 commit 9294abf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
File renamed without changes.
21 changes: 10 additions & 11 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,28 @@
<meta name="twitter:creator" content="@yoch3m" />
<meta name="twitter:title" content="{{ .Site.Title }}" />
<meta name="twitter:description" content="Dutch AI student" />
{{ if .Params.noindex }}
{{- if .Params.noindex -}}
<meta name="robots" content="noindex" />
{{ end }}
{{- end -}}
{{ $css := (resources.Get "css/style.css" | minify).RelPermalink }}
<link rel="stylesheet" href="{{ $css }}">
{{ if not .IsHome }}
{{ $js := resources.Get "js/back-to-top.js" | minify }}
{{ if not .IsHome -}}
{{- $js := resources.Get "js/back-to-top.js" | minify -}}
<script src="{{ $js.RelPermalink }}" defer></script>
{{ end }}
{{- end -}}
<link rel="icon" type="image/x-icon" href="/favicon.ico">

{{ if .IsHome }}
{{ if .IsHome -}}
<style>main { width: 55ch; }</style>
{{ end }}
{{- end }}
</head>

<body>
<header aria-label="website title">
{{ if .IsHome }}
{{ if .IsHome -}}
<h1 aria-label="website title">Yochem van Rosmalen</h1>
{{ else }}
{{- else -}}
<h1 aria-label="website title"><a title="Back home" aria-label="homepage" href="/">Yochem van Rosmalen</a></h1>
{{ end }}
{{- end }}
</header>

<main>
Expand Down

0 comments on commit 9294abf

Please sign in to comment.