Update repository to reflect changes to the website since June 2024
This commit is contained in:
parent
1de9ad5695
commit
9b8924828e
|
@ -1,38 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||||
<head>
|
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta charset="UTF-8">
|
<title itemprop="name">{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} from {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta property="og:title" content="{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} from {{ end }}{{ .Site.Title }}{{ end }}"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
{{ with .Site.Params.author.name }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
<title itemprop="name">{{ .Title }} | {{ .Site.Title }}</title>
|
|
||||||
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}" />
|
|
||||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
|
||||||
{{ with .Params.date }}<meta name="og:type" content="article"/>{{ else }}<meta name="og:type" content="website"/>{{end}}
|
{{ with .Params.date }}<meta name="og:type" content="article"/>{{ else }}<meta name="og:type" content="website"/>{{end}}
|
||||||
{{- with .Description }}
|
{{- with .Description }}<meta name="description" content="{{ . }}"><meta property="og:description" content="{{ . }}"/>{{ else }}<meta name="description" content="{{ .Site.Params.description }}"><meta property="og:description" content="{{ .Site.Params.description }}"/>{{- end }}
|
||||||
<meta name="description" content="{{ . }}">
|
|
||||||
<meta property="og:description" content="{{ . }}"/>
|
|
||||||
{{ else }}
|
|
||||||
<meta name="description" content="{{ .Site.Params.Description }}">
|
|
||||||
<meta property="og:description" content="{{ .Site.Params.Description }}"/>
|
|
||||||
{{- end }}
|
|
||||||
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
|
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
|
||||||
{{- with .RelPermalink }}
|
{{- with .RelPermalink }}<meta name="url" content="{{ . }}"/><meta property="og:url" content="{{ . }}"/>{{- end }}
|
||||||
<meta name="url" content="{{ . }}" />
|
<link rel="openid.delegate" href="https://ethanyoo.com/"/><link rel="openid.server" href="https://openid.indieauth.com/openid"/><link rel="webmention" href="https://webmention.io/ethanyoo.com/webmention"/>
|
||||||
<meta property="og:url" content="{{ . }}" />
|
|
||||||
{{- end }}
|
|
||||||
<link rel="openid.delegate" href="https://ethanyoo.com/" />
|
|
||||||
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
|
|
||||||
<link rel="webmention" href="https://webmention.io/ethanyoo.com/webmention" />
|
|
||||||
{{- with .OutputFormats.Get "RSS" -}}{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }}
|
{{- with .OutputFormats.Get "RSS" -}}{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }}
|
||||||
<style>body{background:#10151a}html{visibility:hidden;opacity:0;}</style>
|
<link rel="stylesheet" href="/css/style.css?rnd={{ now.Unix }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{- if not .IsHome }}{{ partial "header" . }}{{ partialCached "search.html" . }}{{ end }}
|
{{- if not .IsHome }}{{ partial "header" . }}{{ partialCached "search.html" . }}{{ end }}
|
||||||
{{- if .IsHome }}{{- block "header" . }}{{ end }}
|
{{- if .IsHome }}{{- block "header" . }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- block "main" . }}{{ end }}
|
{{- block "main" . }}{{ end }}
|
||||||
<link rel="stylesheet" href="/css/style.css?rnd={{ now.Unix }}">
|
|
||||||
{{ if not .IsHome }}{{ partial "footer" . }}
|
{{ if not .IsHome }}{{ partial "footer" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<script defer data-domain="ethanyoo.com" src="https://analytics.ethanyoo.com/js/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
{{ if .Params.dateCreated }}
|
{{ if .Params.dateCreated }}
|
||||||
{{ $.Scratch.Set "date" (.Params.dateCreated) }}
|
{{ $.Scratch.Set "date" (.Params.dateCreated) }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{- if isset site.Params "date_format" -}}
|
{{- if isset site.Params "dateFmt" -}}
|
||||||
{{- $.Scratch.Set "date" (.Date.Format site.Params.date_format) -}}
|
{{- $.Scratch.Set "date" (.Date.Format .Site.Params.dateFmt) -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $.Scratch.Set "date" (.Date.Format "2006-01-02") -}}
|
{{- $.Scratch.Set "date" (.Date.Format "2006-01-02") -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -17,10 +17,8 @@
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<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 }}
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
<language>{{.}}</language>{{end}}
|
||||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
<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 MST" | safeHTML }}</lastBuildDate>{{ end }}
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
{{- with .OutputFormats.Get "RSS" -}}
|
{{- with .OutputFormats.Get "RSS" -}}
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
|
@ -29,8 +27,8 @@
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Monday, January 2, 2006 15:04:05 MST" | safeHTML }}</pubDate>
|
||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
<author>{{ .Site.Params.author.email }}</author>
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Content | html }}</description>
|
<description>{{ .Content | html }}</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</p>
|
</p>
|
||||||
<a class="link-000" href="https://ForTheBadge.com/"><img src="/img/built-with-love.svg" alt="This site was built with love, using Git and Hugo." title="I also used Git and Hugo." /></a>
|
<a class="link-000" href="https://ForTheBadge.com/"><img src="/img/built-with-love.svg" alt="This site was built with love, using Git and Hugo." title="I also used Git and Hugo." /></a>
|
||||||
<a class="link-000" href="{{ .Site.Params.license }}"><img src="/img/CC-BY-SA.svg" alt="Original content by {{ .Site.Params.author }} is licensed under {{ .Site.Copyright }}" title="{{ .Site.Params.copyrightMessage }}" /></a>
|
<a class="link-000" href="{{ .Site.Params.license }}"><img src="/img/CC-BY-SA.svg" alt="Original content by {{ .Site.Params.author.name }} is licensed under {{ .Site.Copyright }}" title="{{ .Site.Params.copyrightMessage }}" /></a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<!-- layouts/partials/search.html -->
|
<!-- layouts/partials/search.html -->
|
||||||
|
<link rel="stylesheet" href="/css/search.css?rnd={{ now.Unix }}">
|
||||||
<form id="search-form" class="noscript" method="GET" action="https://duckduckgo.com/">
|
<form id="search-form" class="noscript" method="GET" action="https://duckduckgo.com/">
|
||||||
<div class="search-bar">
|
<div class="search-bar">
|
||||||
<input id="search-input" class="search--display" name="q" tabindex="0" autocomplete="off" {{ with site.BaseURL }}value=" site:{{ . }}"{{ end }} placeholder="{{ "Search" }}">
|
<input id="search-input" class="search--display" name="q" tabindex="0" autocomplete="off" {{ with site.BaseURL }}value=" site:{{ . }}"{{ end }} placeholder="{{ "Search" }}">
|
||||||
|
@ -8,4 +9,3 @@
|
||||||
</form>
|
</form>
|
||||||
<!-- <script src="{{ "/js/fuse.js" | relURL }}"></script> -->
|
<!-- <script src="{{ "/js/fuse.js" | relURL }}"></script> -->
|
||||||
<script src="{{ "/js/fixedsearch.js" | relURL }}"></script>
|
<script src="{{ "/js/fixedsearch.js" | relURL }}"></script>
|
||||||
<link rel="stylesheet" href="/css/search.css?rnd={{ now.Unix }}">
|
|
|
@ -1,4 +1,6 @@
|
||||||
/* Body */
|
html {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
a,
|
a,
|
||||||
a:link {
|
a:link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -15,7 +17,7 @@ footer a:link,
|
||||||
footer a:visited,
|
footer a:visited,
|
||||||
aside a:visited,
|
aside a:visited,
|
||||||
main a:visited {
|
main a:visited {
|
||||||
color: #FFF;
|
color: #fff;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
background: #10151a;
|
background: #10151a;
|
||||||
|
@ -30,10 +32,10 @@ main h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.1em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.8em;
|
font-size: 1.75em;
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
@ -58,6 +60,93 @@ img[src$='#center'] {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
.center {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.post-title {
|
||||||
|
line-height: 1.8;
|
||||||
|
}
|
||||||
|
.subtitle {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
a.link-000 {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.letterboxd {
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
margin-right: 0.25em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
a.link-letterboxd {
|
||||||
|
padding: 0.5em;
|
||||||
|
background-color: #202830;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding-left: 0.25em;
|
||||||
|
}
|
||||||
|
.linkedin {
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
margin-right: 0.25em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
a.link-linkedin {
|
||||||
|
padding: 0.5em;
|
||||||
|
background-color: #0077b5;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
padding-left: 0.25em;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.nextcloud {
|
||||||
|
width: 50px;
|
||||||
|
height: 30px;
|
||||||
|
position: relative;
|
||||||
|
top: 8px;
|
||||||
|
background-size: contain;
|
||||||
|
display: inline-block;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
}
|
||||||
|
a.link-nextcloud {
|
||||||
|
padding: 10px;
|
||||||
|
background-color: #0082c9;
|
||||||
|
color: #fff;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
display: block;
|
||||||
|
margin: 0.5em auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
border: none;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #ff8000;
|
||||||
|
color: #000;
|
||||||
|
cursor: pointer;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
.btn:hover {
|
||||||
|
background-color: #d15d27;
|
||||||
|
}
|
||||||
|
a.btn:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
a.btn:link,
|
||||||
|
a.btn:visited {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
a.link-letterboxd:link,
|
||||||
|
a.link-letterboxd:visited,
|
||||||
|
a.link-linkedin:link,
|
||||||
|
a.link-linkedin:visited {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
/* Light theme */
|
/* Light theme */
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
|
@ -77,9 +166,11 @@ img[src$='#center'] {
|
||||||
text-decoration: underline dotted;
|
text-decoration: underline dotted;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
.p-note a:visited,
|
||||||
main a:link {
|
main a:link {
|
||||||
color: #004962;
|
color: #004962;
|
||||||
}
|
}
|
||||||
|
.p-note a:visited,
|
||||||
main a:visited,
|
main a:visited,
|
||||||
aside a:visited {
|
aside a:visited {
|
||||||
color: #542baa;
|
color: #542baa;
|
||||||
|
@ -91,43 +182,3 @@ img[src$='#center'] {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Classes */
|
|
||||||
.center {
|
|
||||||
display: block;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.nextcloud {
|
|
||||||
width: 50px;
|
|
||||||
height: 30px;
|
|
||||||
position: relative;
|
|
||||||
top: 8px;
|
|
||||||
background-size: contain;
|
|
||||||
display: inline-block;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center center;
|
|
||||||
}
|
|
||||||
.post-title {
|
|
||||||
line-height: 1.8;
|
|
||||||
}
|
|
||||||
.subtitle {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
a.link-000 {
|
|
||||||
background: #000;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
a.link-001 {
|
|
||||||
padding: 10px;
|
|
||||||
background-color: #0082c9;
|
|
||||||
color: #ffffff;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding-left: 4px;
|
|
||||||
}
|
|
||||||
html {
|
|
||||||
overflow-y: scroll;
|
|
||||||
visibility: visible;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ description = "Hugo theme based on smol"
|
||||||
homepage = "https://git.eyoo.link/ethan/geronimo"
|
homepage = "https://git.eyoo.link/ethan/geronimo"
|
||||||
tags = []
|
tags = []
|
||||||
features = []
|
features = []
|
||||||
min_version = "0.41.0"
|
min_version = "0.134.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Ethan Yoo"
|
name = "Ethan Yoo"
|
||||||
|
|
Loading…
Reference in New Issue