diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 47b9888..bec5a2c 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -296,6 +296,18 @@ margin-top: 56px; } +.post-footer h3 { + margin: 2em 0 1.2em; +} + +.post-footer .related ul { + padding-inline-start: 20px; +} + +.post-footer .related a:hover { + box-shadow: 0 1px; +} + .post-tags li { display: inline-block; margin-inline-end: 3px; diff --git a/i18n/en.yaml b/i18n/en.yaml index 3a1e215..743ad9e 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -31,3 +31,6 @@ - id: code_copied translation: "copied!" + +- id: related + translation: "Related posts" \ No newline at end of file diff --git a/i18n/fr.yaml b/i18n/fr.yaml index e48d8e9..974beaf 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -31,3 +31,6 @@ - id: code_copied translation: "Copié !" + +- id: related + translation: "Sur le même sujet" \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ee0fec4..9fe30d3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -36,6 +36,12 @@ {{- end }}