mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-11 03:25:33 +01:00
Try to get icons to work
This commit is contained in:
parent
6a901c75cd
commit
66f605d3cb
4 changed files with 12 additions and 6 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue