mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
Fix & show section emoji
This commit is contained in:
parent
2a2f63ed8a
commit
7557d6f467
7 changed files with 16 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Curiosities"
|
||||
emoji: 🧠
|
||||
emoji: 🤩
|
||||
draft: false
|
||||
type: timeless
|
||||
summary: A list of the many curious things I've made over the years.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Memex
|
||||
emoji: 🧠
|
||||
summary: My memory-expander; a space for me to keep links and thoughts that are interesting for reference later.
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Photos
|
||||
emoji: 📸
|
||||
sitemap:
|
||||
changefreq: monthly
|
||||
priority: 0.8
|
||||
|
|
4
content/posts/_index.md
Normal file
4
content/posts/_index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Posts
|
||||
emoji: 📔
|
||||
---
|
|
@ -4,7 +4,10 @@
|
|||
<main class="posts">
|
||||
{{ partial "generic-list-header.html" . }}
|
||||
|
||||
<h1>{{ title (replace .Title "-" " ") }}</h1>
|
||||
<h1 class="p-name">
|
||||
{{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}}
|
||||
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
|
||||
</h1>
|
||||
|
||||
{{ if .Content }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<article>
|
||||
<hgroup class="post-title">
|
||||
<h1 class="p-name">
|
||||
{{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}}
|
||||
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
|
||||
</h1>
|
||||
</hgroup>
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
<main class="posts instagram">
|
||||
{{ partial "generic-list-header.html" . }}
|
||||
|
||||
<h1>{{ title (replace .Title "-" " ") }}</h1>
|
||||
<h1>
|
||||
{{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}}
|
||||
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
|
||||
</h1>
|
||||
|
||||
{{ if .Content }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
|
|
Loading…
Reference in a new issue