mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 08:46:49 +00:00
Improve page titles
This commit is contained in:
@@ -9,6 +9,7 @@ block vars
|
|||||||
block main
|
block main
|
||||||
#podcast.podcast-category.wrap
|
#podcast.podcast-category.wrap
|
||||||
section
|
section
|
||||||
|
h1= site.meta.title
|
||||||
p= description
|
p= description
|
||||||
+categories(categoryName)
|
+categories(categoryName)
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,9 @@
|
|||||||
#podcast {
|
#podcast {
|
||||||
&.podcast-home h1 {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.podcast-category h1 {
|
|
||||||
margin-top: var(--space-l);
|
|
||||||
}
|
|
||||||
|
|
||||||
& .categories {
|
& .categories {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0 0 var(--space-l) 0;
|
margin: var(--space-l) 0 var(--space-xl);
|
||||||
|
|
||||||
& li {
|
& li {
|
||||||
margin: 0 var(--space-m) var(--space-m) 0;
|
margin: 0 var(--space-m) var(--space-m) 0;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ include mixins
|
|||||||
|
|
||||||
block vars
|
block vars
|
||||||
|
|
||||||
- const pageTitle = title ? `${title} · ${site.meta.title}` : site.meta.title
|
- const pageTitle = title && title !== site.meta.title ? `${title} · ${site.meta.title}` : site.meta.title
|
||||||
- const pageDescription = description || site.meta.description
|
- const pageDescription = description || site.meta.description
|
||||||
- const pageKeywords = keywords || site.meta.keywords
|
- const pageKeywords = keywords || site.meta.keywords
|
||||||
- const pageCard = cardImage || site.meta.cardImage
|
- const pageCard = cardImage || site.meta.cardImage
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
extends /template.pug
|
extends /template.pug
|
||||||
|
|
||||||
|
block vars
|
||||||
|
- const title = site.meta.title
|
||||||
|
- const description = site.meta.description
|
||||||
|
|
||||||
block main
|
block main
|
||||||
- const ticker = shuffle(site.meta.ticker).join(" +++ ") + " +++ "
|
- const ticker = shuffle(site.meta.ticker).join(" +++ ") + " +++ "
|
||||||
- const duration = ticker.length / 4
|
- const duration = ticker.length / 4
|
||||||
@@ -9,11 +13,10 @@ block main
|
|||||||
|
|
||||||
.wrap
|
.wrap
|
||||||
section
|
section
|
||||||
|
h1= title
|
||||||
|
h2= description
|
||||||
|
|
||||||
:markdown-it(html linkify typographer)
|
:markdown-it(html linkify typographer)
|
||||||
# Einundzwanzig, der Bitcoin Podcast
|
|
||||||
|
|
||||||
## Toximalistisches Infotainment für bullishe Bitcoiner
|
|
||||||
|
|
||||||
[Bitcoin](https://bitcoin.org/bitcoin.pdf), und sonst nichts.
|
[Bitcoin](https://bitcoin.org/bitcoin.pdf), und sonst nichts.
|
||||||
Einmal die Woche sitzen die Jungs zusammen und besprechen die aktuellen Geschehnisse in Bitcoin und der Welt.
|
Einmal die Woche sitzen die Jungs zusammen und besprechen die aktuellen Geschehnisse in Bitcoin und der Welt.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ extends /template.pug
|
|||||||
|
|
||||||
block vars
|
block vars
|
||||||
- const current = episodes.shift()
|
- const current = episodes.shift()
|
||||||
- const title = 'Podcast'
|
- const title = site.meta.title
|
||||||
- const description = 'Wir bringen dir die Bitcoin-News der Woche, sowie zusätzlich Interviews und die besten Artikel als Lesestunde. Außerdem erfährst du in "Der Weg" wie andere Leute zu Bitcoin gekommen sind.'
|
- const description = 'Wir bringen dir die Bitcoin-News der Woche, sowie zusätzlich Interviews und die besten Artikel als Lesestunde. Außerdem erfährst du in "Der Weg" wie andere Leute zu Bitcoin gekommen sind.'
|
||||||
|
|
||||||
block main
|
block main
|
||||||
|
|||||||
Reference in New Issue
Block a user