Skip to content

Commit

Permalink
Increase date spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mavidser committed Nov 6, 2024
1 parent f818e9c commit 0e96ae8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions themes/rocinante-2/assets/css/rocinante.scss
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ header h2 {
color: var(--date-color);
margin: 0;
font-family: monospace;
padding-right: 5px;
}

&:hover {
Expand Down
8 changes: 2 additions & 6 deletions themes/rocinante-2/layouts/partials/listcontent.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@
<div class="title-group-solo">
<a href="{{ .RelPermalink }}">
{{ if eq .Type "photos" }}
<span class="date">
{{ .Params.date.Format "2006 Jan" }}
</span>
<span class="date">{{ .Params.date.Format "2006 Jan" }}</span>
<span class="label">
&nbsp;📸&nbsp;
</span>
{{ else }}
<span class="label">
</span>
<span class="date">
{{ .Params.date.Format "2006 Jan 02" }}
</span>
<span class="date">{{ .Params.date.Format "2006 Jan 02" }}</span>
{{ end }}
<span class="title">
<h3>
Expand Down

0 comments on commit 0e96ae8

Please sign in to comment.