Compare commits

..

No commits in common. "b14e0e90fd75dcd604fd8b0aa63be6418c61b41b" and "dff23045a8de705c79597c8dd1430b6ff2d1f8e1" have entirely different histories.

4 changed files with 16 additions and 28 deletions

View File

@ -69,13 +69,8 @@
gap: 40px; gap: 40px;
} }
.series-taxonomy ul {
gap: 80px;
}
.page-list li, .page-list li,
.series-taxonomy li, .series-taxonomy li {
.related-posts .post {
padding-top: 8px; padding-top: 8px;
padding-left: 24px; padding-left: 24px;
padding-right: 24px; padding-right: 24px;
@ -244,19 +239,6 @@
padding: 8px 15px; padding: 8px 15px;
} }
.related-posts {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
gap: 10px;
align-items: stretch; /* this is default anyways */
}
.related-posts .post {
min-width: 10%;
flex: 1 1 49%;
}
#back-to-top { #back-to-top {
position: fixed; position: fixed;
float: right; float: right;

View File

@ -35,8 +35,8 @@ post_count:
read_more: read_more:
other: "Read more" other: "Read more"
related_posts: see_also:
other: "Related posts" other: "See also"
older_post: older_post:
other: "Older" other: "Older"

View File

@ -35,8 +35,8 @@ no_posts:
read_more: read_more:
other: "Leer más" other: "Leer más"
related_posts: see_also:
other: "Publicaciones similares" other: "Véase también"
older_post: older_post:
other: "Más antiguo" other: "Más antiguo"

View File

@ -52,11 +52,17 @@
{{ $related := .Site.RegularPages.Related . | first 5 }} {{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }} {{ with $related }}
<h2>{{ i18n "related_posts" }}</h2> <div class="see-also">
<div class="related-posts"> <h2>{{ i18n "see_also" }}</h2>
{{ range . }}
{{ .Render "summary/post" }} <ul>
{{ end }} {{ range . }}
<li>
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
</div> </div>
{{ end }} {{ end }}