{{ .Title }}
+ {{ $author := .Params.author | default site.Params.author.name }} + {{ if or $author .Date }} + + {{ end }} {{ with .Params.summary }}{{ . }}
{{ end }} @@ -23,19 +31,15 @@ {{ .Content }} -diff --git a/assets/css/custom.css b/assets/css/custom.css
index 9b0a7ed..33281b7 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -253,6 +253,8 @@ a:hover {
}
.journal-section { color: var(--accent); font-weight: 500; }
.journal-date { font-variant-numeric: tabular-nums; }
+.journal-author { color: var(--color-text-primary); font-weight: 500; }
+.journal-author::before { content: "von "; color: var(--color-text-muted); font-weight: 400; }
.journal-title {
font-family: var(--font-family-display);
@@ -434,12 +436,25 @@ a:hover {
line-height: 1.15;
margin: 0 0 var(--spacing-xs);
}
+.single-byline {
+ font-family: var(--font-family-mono);
+ font-size: 0.85rem;
+ color: var(--color-text-muted);
+ margin: 0 0 var(--spacing-xs);
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.6rem;
+ align-items: baseline;
+}
+.byline-author { color: var(--color-text-primary); font-weight: 500; }
+.byline-date { font-variant-numeric: tabular-nums; }
+
.single-summary {
font-family: var(--font-family-serif);
font-style: italic;
font-size: 1.02rem;
line-height: 1.45;
- margin: 0;
+ margin: var(--spacing-xs) 0 0;
max-width: 55ch;
}
.single-content h2 {
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0b5402e..d21bd77 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,6 +4,14 @@
{{ . }}{{ .Title }}
+ {{ $author := .Params.author | default site.Params.author.name }}
+ {{ if or $author .Date }}
+
+ {{ end }}
{{ with .Params.summary }}