diff --git a/assets/css/custom.css b/assets/css/custom.css index 4330caba..9eeb869e 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -50,10 +50,12 @@ div.MathJax_Display { margin-bottom: 0; } -img.post-featuredImage { - width: 15rem; - float: left; - padding-right: 1rem; +.post-featuredImage img { + /* FIXME: Use color variable. */ + border: 0.15em #bbb solid; + border-radius: 25px; + max-width: 20rem; + margin: 0.5em; } .tag-cloud { diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index ebc781d9..288d328e 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,8 +1,6 @@ {{- $featuredImage := .Resources.GetMatch "featuredImage" -}}
- {{ with $featuredImage }} - - {{ end }} + {{- range .Params.author -}} @@ -20,5 +18,10 @@ {{- end -}}
+
+ {{ with $featuredImage }} + + {{ end }} +
{{- end -}} diff --git a/layouts/posts/list.html b/layouts/posts/list.html index f3ca5a48..4a397a73 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -32,15 +32,12 @@

{{ i18n "tags" }}

- {{ $paginator := .Paginate (where $.Site.RegularPages.ByPublishDate.Reverse "Section" "posts") }} + {{ $paginator := .Paginate (where $.Site.RegularPages.ByPublishDate.Reverse "Section" "posts") 50 }} {{ range $paginator.Pages }}
{{ .Title }}
- {{ partial "post_meta.html" . }} -
- {{ .Summary }} -
+
{{ partial "post_meta.html" . }}
{{ end }} diff --git a/themes/scientific-python-hugo-theme b/themes/scientific-python-hugo-theme index 5102da5d..04a8bf29 160000 --- a/themes/scientific-python-hugo-theme +++ b/themes/scientific-python-hugo-theme @@ -1 +1 @@ -Subproject commit 5102da5d9a18ae77dd04eb049f0aa02a853b25e3 +Subproject commit 04a8bf292437446c7c9d0d4701821ac2d1d6b6a4