Try to get icons to work

This commit is contained in:
JP Hastings-Spital 2023-12-24 22:20:55 +00:00
parent 6a901c75cd
commit 66f605d3cb
4 changed files with 12 additions and 6 deletions

View file

@ -27,7 +27,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
HUGO_VERSION: 0.111.3 HUGO_VERSION: 0.121.1
steps: steps:
- name: Install Golang - name: Install Golang
uses: actions/setup-go@v4 uses: actions/setup-go@v4

View file

@ -448,7 +448,7 @@ figure {
svg { svg {
color: lch(60% 60 var(--accentHue)); color: lch(60% 60 var(--accentHue));
margin-right: 0.2rem; margin-right: 0.3rem;
vertical-align: -0.125em; vertical-align: -0.125em;
width: 1em; width: 1em;
height: 1em; height: 1em;

View file

@ -136,3 +136,7 @@ date = ["date", "publishDate", "lastmod", ":git"]
baseName = 'feeds' baseName = 'feeds'
[outputFormats.calendar] [outputFormats.calendar]
baseName = 'events' baseName = 'events'
name = 'calendar'
[outputFormats.rss]
baseName = 'index'
name = 'rss'

View file

@ -4,10 +4,12 @@
<main class="posts photos"> <main class="posts photos">
{{ partial "generic-list-header.html" . }} {{ partial "generic-list-header.html" . }}
<h1> <hgroup class="post-title">
{{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}} <h1>
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a> {{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}}
</h1> <a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
</h1>
</hgroup>
{{ if .Content }} {{ if .Content }}
<div class="content" data-pagefind-body>{{ .Content }}</div> <div class="content" data-pagefind-body>{{ .Content }}</div>