Clean up and apply custom styles properly.

This commit is contained in:
Anna Rose 2023-11-06 22:22:09 +00:00
parent ec39d7ba2a
commit 4921fb8249
3 changed files with 17 additions and 2 deletions

View File

@ -9,7 +9,7 @@ googleAnalytics = "G-QFK0K7MGCJ"
[params]
paginate = 10
customCSS = ["/css/custom.css"]
custom_css = ["/css/custom.css"]
dateFormat = "2006-01-02"
# Disqus shortname
# disqus = ""

14
layouts/_default/li.html Normal file
View File

@ -0,0 +1,14 @@
<article class="c-article p-list-article">
<header>
<h2 class="c-title c-article__title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="c-article__meta">
{{ partial "timestamp.html" . }}
</p>
</header>
<div class="c-article__summary">
{{ .Summary | safeHTML }}
</div>
{{ if .Truncated }}
<a href="{{ .Permalink }}" class="c-article__btn p-list-article__btn">Read more</a>
{{ end }}
</article>

View File

@ -2,8 +2,9 @@ body {
color: #000000;
}
.c-article__summary {
.c-article__summary p {
color: #000000;
margin: 16px;
}
.c-article__meta {