diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head_custom.html | 1 | ||||
-rw-r--r-- | layouts/partials/post-element.html | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html index 47ba699..93e3874 100644 --- a/layouts/partials/head_custom.html +++ b/layouts/partials/head_custom.html @@ -17,3 +17,4 @@ }); }); </script> +<link rel="stylesheet" href="{{ "css/custom.css" | relURL }}" /> diff --git a/layouts/partials/post-element.html b/layouts/partials/post-element.html index b45a1e1..28fff85 100644 --- a/layouts/partials/post-element.html +++ b/layouts/partials/post-element.html @@ -1,4 +1,4 @@ -<li> - <span class="date">{{ .Date.Format "2006/01/02" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> -</li> +<tr> + <td>{{ .Title | markdownify }}{{ if .Params.zettelid }}<a class="zettel-link" href="{{ .RelPermalink }}"> [#{{ .Params.zettelid }}]</a>{{ end }}</td> + <td class="date-td">{{ with .Date }}<span class="date">{{ .Format "2006/01/02" }}</span>{{ end }}</td> +</tr> |