mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 06:35:41 +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"
|
title: "Curiosities"
|
||||||
emoji: 🧠
|
emoji: 🤩
|
||||||
draft: false
|
draft: false
|
||||||
type: timeless
|
type: timeless
|
||||||
summary: A list of the many curious things I've made over the years.
|
summary: A list of the many curious things I've made over the years.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Memex
|
title: Memex
|
||||||
|
emoji: 🧠
|
||||||
summary: My memory-expander; a space for me to keep links and thoughts that are interesting for reference later.
|
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
|
title: Photos
|
||||||
|
emoji: 📸
|
||||||
sitemap:
|
sitemap:
|
||||||
changefreq: monthly
|
changefreq: monthly
|
||||||
priority: 0.8
|
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">
|
<main class="posts">
|
||||||
{{ partial "generic-list-header.html" . }}
|
{{ 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 }}
|
{{ if .Content }}
|
||||||
<div class="content">{{ .Content }}</div>
|
<div class="content">{{ .Content }}</div>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<article>
|
<article>
|
||||||
<hgroup class="post-title">
|
<hgroup class="post-title">
|
||||||
<h1 class="p-name">
|
<h1 class="p-name">
|
||||||
|
{{ with .Params.emoji }}<span data-emoji="{{.}}"></span>{{end}}
|
||||||
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
|
<a href="{{ .Permalink }}" class="noaccent u-url">{{ title (replace .Title "-" " ") }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
|
|
|
@ -4,7 +4,10 @@
|
||||||
<main class="posts instagram">
|
<main class="posts instagram">
|
||||||
{{ partial "generic-list-header.html" . }}
|
{{ 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 }}
|
{{ if .Content }}
|
||||||
<div class="content">{{ .Content }}</div>
|
<div class="content">{{ .Content }}</div>
|
||||||
|
|
Loading…
Reference in a new issue