Compare commits
2 commits
65bdf098e5
...
bfa512eb6f
Author | SHA1 | Date | |
---|---|---|---|
bfa512eb6f | |||
eb4b646711 |
4 changed files with 12 additions and 4 deletions
|
@ -44,7 +44,6 @@ html {
|
||||||
color: $dark;
|
color: $dark;
|
||||||
background-color: $light;
|
background-color: $light;
|
||||||
font-family: $default-font;
|
font-family: $default-font;
|
||||||
font-variant-numeric: oldstyle-nums slashed-zero;
|
|
||||||
writing-mode: horizontal-tb;
|
writing-mode: horizontal-tb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,6 +64,7 @@ hgroup {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
text-wrap: pretty;
|
text-wrap: pretty;
|
||||||
|
font-variant-numeric: oldstyle-nums;
|
||||||
margin-block: 1em;
|
margin-block: 1em;
|
||||||
margin-block: 1lh;
|
margin-block: 1lh;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ table {
|
||||||
& td {
|
& td {
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
border: 1px solid $dark;
|
border: 1px solid $dark;
|
||||||
font-variant-numeric: lining-nums tabular-nums;
|
font-variant-numeric: lining-nums tabular-nums slashed-zero;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,11 @@
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- partial "text/item-title.html" ( dict "pc" . "sc" $ "class" "item-tile" ) -}}
|
{{- if .File -}}
|
||||||
|
{{- partialCached "text/item-title.html" ( dict "pc" . "sc" $ "class" "item-tile" ) .File.Filename -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- partial "text/item-title.html" ( dict "pc" . "sc" $ "class" "item-tile" ) -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
|
||||||
<p style="display: none;">
|
<p style="display: none;">
|
||||||
|
|
|
@ -40,7 +40,11 @@
|
||||||
|
|
||||||
<div class="article-header__title-wrapper">
|
<div class="article-header__title-wrapper">
|
||||||
<a class="u-url u-uid" style="display: none" href="{{ .pc.Permalink }}"></a>
|
<a class="u-url u-uid" style="display: none" href="{{ .pc.Permalink }}"></a>
|
||||||
{{- partialCached "text/item-title.html" ( dict "pc" .pc "sc" .sc "class" "article-header" ) .File.Filename -}}
|
{{- with .pc.File -}}
|
||||||
|
{{- partialCached "text/item-title.html" ( dict "pc" $.pc "sc" $.sc "class" "article-header" ) .Filename -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- partial "text/item-title.html" ( dict "pc" $.pc "sc" $.sc "class" "article-header" ) -}}
|
||||||
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ with ( .pc.Resources.GetMatch .pc.Params.featured_image ) }}
|
{{ with ( .pc.Resources.GetMatch .pc.Params.featured_image ) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue