Improved navigation system
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5368d2fff3
commit
f1506013c9
@ -63,6 +63,11 @@ body {
|
||||
background-color: var(--clr-bg);
|
||||
margin: 24px;
|
||||
}
|
||||
header {
|
||||
margin: 0 0 48px;
|
||||
padding: 0 0 24px;
|
||||
border-bottom: 3px dashed rgba(0,0,0,0.5);
|
||||
}
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
@ -89,6 +94,7 @@ a:hover {
|
||||
}
|
||||
h1 {
|
||||
line-height: 1.2em;
|
||||
margin: 8px 0 12px 0;
|
||||
}
|
||||
h2 {
|
||||
color: var(--clr-header);
|
||||
@ -137,40 +143,40 @@ blockquote strong em {
|
||||
color: var(--clr-text-highlight);
|
||||
}
|
||||
|
||||
header.card {
|
||||
margin-bottom: 64px;
|
||||
.id-card {
|
||||
margin: 0 0 64px 0;
|
||||
}
|
||||
header.card {
|
||||
.id-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
header.card .header-image {
|
||||
.id-card .header-image {
|
||||
flex: 1;
|
||||
flex-basis: auto;
|
||||
margin: 8px 32px 8px 0;
|
||||
text-align: center;
|
||||
}
|
||||
header.card .header-description {
|
||||
.id-card .header-description {
|
||||
flex: 100;
|
||||
flex-basis: auto;
|
||||
/* min-width: 360px; */
|
||||
margin: 8px 0;
|
||||
/* text-align: center; */
|
||||
}
|
||||
header.card .profile-picture {
|
||||
.id-card .profile-picture {
|
||||
max-width: 160px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
header.card h1 {
|
||||
.id-card h1 {
|
||||
font-size: 1.4em;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
header.card p {
|
||||
.id-card p {
|
||||
font-size: 1.1em;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
header.card .social a {
|
||||
.id-card .social a {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
|
@ -2,14 +2,11 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
a(href="/") blog
|
||||
nav
|
||||
| about me
|
||||
h1
|
||||
| About Me
|
||||
|
||||
main
|
||||
p
|
||||
nav
|
||||
| Go to:
|
||||
a(href="/") blog
|
||||
| |
|
||||
@ -24,6 +21,10 @@ block content
|
||||
a(href="/pgp") PGP
|
||||
| |
|
||||
a(href="/contact") contact
|
||||
|
||||
main
|
||||
|
||||
include id
|
||||
|
||||
h2 >> About me
|
||||
|
||||
|
@ -6,11 +6,11 @@ mixin entry($item)
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| >
|
||||
a(href="/music") music
|
||||
| > album of the week
|
||||
h1 Yarmo's Album Of The Week
|
||||
|
||||
main
|
||||
|
@ -2,17 +2,20 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| >
|
||||
a(href="/") blog
|
||||
|
||||
article.longform.h-entry
|
||||
h1.p-name !{$post['title']}
|
||||
p.longform__header
|
||||
| Posted on
|
||||
a(href="{$post['url']}" datetime="{$post['date']}").u-url.dt-published !{$post['date_formatted']}
|
||||
| by
|
||||
a(href="/" rel="author").p-author.h-card !{$post['author']}
|
||||
|
||||
.longform__content.e-content
|
||||
| !{$post['content']}
|
||||
| > !{$post['slug']}
|
||||
|
||||
main
|
||||
article.longform.h-entry
|
||||
h1.p-name !{$post['title']}
|
||||
p.longform__header
|
||||
| Posted on
|
||||
a(href="{$post['url']}" datetime="{$post['date']}").u-url.dt-published !{$post['date_formatted']}
|
||||
| by
|
||||
a(href="/" rel="author").p-author.h-card !{$post['author']}
|
||||
|
||||
.longform__content.e-content
|
||||
| !{$post['content']}
|
||||
|
@ -2,9 +2,9 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > contact
|
||||
h1
|
||||
| Contact me
|
||||
|
||||
|
@ -10,9 +10,9 @@ mixin foss_contribution($item)
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > foss
|
||||
h1
|
||||
| FOSS
|
||||
|
||||
|
26
views/id.pug
Normal file
26
views/id.pug
Normal file
@ -0,0 +1,26 @@
|
||||
.id-card
|
||||
.header-image
|
||||
img(src="/static/img/profile.png", alt="Yarmo's profile picture").profile-picture.u-photo
|
||||
|
||||
.header-description
|
||||
h1
|
||||
| I'm
|
||||
a(href="https://yarmo.eu", rel="me", title="yarmo.eu").u-url.u-uid
|
||||
span.p-name Yarmo Mackenbach
|
||||
| (
|
||||
a(href="https://pronoun.is/he").u-pronoun he/him/his
|
||||
| )
|
||||
p.p-note
|
||||
| Finished a PhD in <span class="p-category">Neurosciences</span>.<br>
|
||||
| Enjoys <span class="p-category">programming</span> and <span class="p-category">making music</span>.<br>
|
||||
| Advocates for <span class="p-category">FOSS</span> and <span class="p-category">online privacy</span>.
|
||||
p
|
||||
a(href="mailto:yarmo@qivro.xyz", rel="me", title="Email").u-email Email
|
||||
| —
|
||||
a(href="xmpp:yarmo@qivro.xyz", rel="me", title="XMPP").u-xmpp XMPP
|
||||
| —
|
||||
a(href="https://fosstodon.org/@yarmo", rel="me", title="Fediverse").u-url Fediverse
|
||||
| —
|
||||
a(href="https://git.yarmo.eu/yarmo", rel="me", title="Gitea").u-url Gitea
|
||||
| —
|
||||
a(href="/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc", download="/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc", rel="pgpkey publickey authn", type="text/plain", title="PGP public key") PGP
|
@ -10,37 +10,16 @@ mixin entry($item)
|
||||
|
||||
block content
|
||||
.h-card
|
||||
header.card
|
||||
.header-image
|
||||
img(src="/static/img/profile.png", alt="Yarmo's profile picture").profile-picture.u-photo
|
||||
|
||||
.header-description
|
||||
h1
|
||||
| I'm
|
||||
a(href="https://yarmo.eu", rel="me", title="yarmo.eu").u-url.u-uid
|
||||
span.p-name Yarmo Mackenbach
|
||||
| (
|
||||
a(href="https://pronoun.is/he").u-pronoun he/him/his
|
||||
| )
|
||||
p.p-note
|
||||
| Finished a PhD in <span class="p-category">Neurosciences</span>.<br>
|
||||
| Enjoys <span class="p-category">programming</span> and <span class="p-category">making music</span>.<br>
|
||||
| Advocates for <span class="p-category">FOSS</span> and <span class="p-category">online privacy</span>.
|
||||
p
|
||||
a(href="mailto:yarmo@qivro.xyz", rel="me", title="Email").u-email Email
|
||||
| —
|
||||
a(href="xmpp:yarmo@qivro.xyz", rel="me", title="XMPP").u-xmpp XMPP
|
||||
| —
|
||||
a(href="https://fosstodon.org/@yarmo", rel="me", title="Fediverse").u-url Fediverse
|
||||
| —
|
||||
a(href="https://git.yarmo.eu/yarmo", rel="me", title="Gitea").u-url Gitea
|
||||
| —
|
||||
a(href="/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc", download="/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc", rel="pgpkey publickey authn", type="text/plain", title="PGP public key") PGP
|
||||
header
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > blog
|
||||
h1
|
||||
| Yarmo's blog
|
||||
|
||||
main
|
||||
p
|
||||
| Go to:
|
||||
a(href="/about") about me
|
||||
|
||||
include id
|
||||
|
||||
.longform_list.h-feed
|
||||
each $item in $posts
|
||||
|
@ -2,9 +2,9 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > music
|
||||
h1 Yarmo's music
|
||||
p
|
||||
| Go to:
|
||||
|
@ -10,9 +10,9 @@ mixin entry($item)
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > notes
|
||||
h1 Yarmo's notes
|
||||
|
||||
main
|
||||
|
@ -2,12 +2,13 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| >
|
||||
a(href="/notes") notes
|
||||
|
||||
| > !{$post['slug']}
|
||||
|
||||
main
|
||||
article.longform.h-entry
|
||||
h1.p-name !{$post['title']}
|
||||
p.longform__header
|
||||
|
@ -2,9 +2,9 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > pgp
|
||||
h1
|
||||
| PGP public key
|
||||
|
||||
|
@ -9,9 +9,9 @@ mixin entry($item)
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| > projects
|
||||
h1 Yarmo's projects
|
||||
|
||||
main
|
||||
|
@ -2,17 +2,18 @@ extends layout
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| >
|
||||
a(href="/projects") projects
|
||||
h1 !{$project['title']}
|
||||
| > !{$project['slug']}
|
||||
|
||||
article.longform
|
||||
p
|
||||
| Got an idea or a comment?
|
||||
a(href="/contact") Feel free to contact me!
|
||||
p.longform__header
|
||||
.longform__content
|
||||
| !{$project['content']}
|
||||
main
|
||||
article.longform
|
||||
h1 !{$project['title']}
|
||||
p
|
||||
| Got an idea or a comment?
|
||||
a(href="/contact") Feel free to contact me!
|
||||
p.longform__header
|
||||
.longform__content
|
||||
| !{$project['content']}
|
||||
|
@ -6,11 +6,11 @@ mixin entry($item)
|
||||
|
||||
block content
|
||||
header
|
||||
p
|
||||
| Back to:
|
||||
nav
|
||||
a(href="/about") about me
|
||||
| >
|
||||
a(href="/music") music
|
||||
| > vinyl
|
||||
h1 Yarmo's vinyl collection
|
||||
|
||||
main
|
||||
|
Loading…
x
Reference in New Issue
Block a user