Various fixes to microformats2 tags
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yarmo Mackenbach 2020-06-13 23:04:11 +02:00
parent dfebb27ce0
commit 4a5621b81c
5 changed files with 31 additions and 21 deletions

View File

@ -140,37 +140,37 @@ blockquote strong em {
header.h-card {
margin-bottom: 64px;
}
.h-card {
header.h-card {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.h-card .header-image {
header.h-card .header-image {
flex: 1;
flex-basis: auto;
margin: 8px 32px 8px 0;
text-align: center;
}
.h-card .header-description {
header.h-card .header-description {
flex: 100;
flex-basis: auto;
/* min-width: 360px; */
margin: 8px 0;
/* text-align: center; */
}
.h-card .profile-picture {
header.h-card .profile-picture {
max-width: 160px;
border-radius: 100%;
}
.h-card h1 {
header.h-card h1 {
font-size: 1.4em;
margin: 0 0 16px;
}
.h-card p {
header.h-card p {
font-size: 1.1em;
margin: 0 0 8px;
}
.h-card .social a {
header.h-card .social a {
display: inline-block;
width: 20px;
height: 20px;

View File

@ -6,8 +6,13 @@ block content
| Back to:
a(href="/") blog
article.longform
h1 !{$post['title']}
p.longform__header Posted on !{$post['date_formatted']} by !{$post['author']}
.longform__content
article.longform.h-entry
h1.p-name !{$post['title']}
p.longform__header
| Posted on
time(datetime="{$post['date']}").dt-published !{$post['date_formatted']}
| by
a(href="/" rel="author").p-author.h-card !{$post['author']}
.longform__content.e-content
| !{$post['content']}

View File

@ -3,9 +3,9 @@ extends layout
mixin entry($item)
article.longform_list__item.h-entry
p
a(href="{$item['urlrel']}").p-name !{$item['title']}
a(href="{$item['urlrel']}").p-name.u-url !{$item['title']}
br
| On
| Posted on
time(datetime="{$item['date']}").dt-published !{$item['date_formatted']}
block content

View File

@ -3,9 +3,9 @@ extends layout
mixin entry($item)
article.longform_list__item.h-entry
p
a(href="{$item['urlrel']}").p-name !{$item['title']}
a(href="{$item['urlrel']}").p-nameu-url !{$item['title']}
br
| On
| Posted on
time(datetime="{$item['date']}").dt-published !{$item['date_formatted']}
block content

View File

@ -8,8 +8,13 @@ block content
| >
a(href="/notes") notes
article.longform
h1 !{$post['title']}
p.longform__header Posted on !{$post['date_formatted']} by !{$post['author']}
.longform__content
| !{$post['content']}
article.longform.h-entry
h1.p-name !{$post['title']}
p.longform__header
| Posted on
time(datetime="{$post['date']}").dt-published !{$post['date_formatted']}
| by
a(href="/" rel="author").p-author.h-card !{$post['author']}
.longform__content.e-content
| !{$post['content']}