Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <misha.brukman@gmail.com>2021-01-14 07:58:32 +0300
committerGitHub <noreply@github.com>2021-01-14 07:58:32 +0300
commitf30ce83dc00fb277fba848f8475a5c2c0b39c9c7 (patch)
tree6f82c39bc83ca52a22fa9866943afcd7927cc01d
parent7f8ab01e267fba5817d57900daf8366c2f844aa8 (diff)
Fix spelling of "related" (#31)
-rw-r--r--layouts/partials/related.html4
-rw-r--r--static/css/index.css6
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/related.html b/layouts/partials/related.html
index 7cd3cca..51e01be 100644
--- a/layouts/partials/related.html
+++ b/layouts/partials/related.html
@@ -1,6 +1,6 @@
{{ $related := (where site.RegularPages "Type" "in" site.Params.mainSections).Related . | first 3 }}
{{ with $related }}
-<div class="releated-content">
+<div class="related-content">
<h3>Related Posts</h3>
<ul>
{{ range . }}
@@ -8,4 +8,4 @@
{{ end }}
</ul>
</div>
-{{ end }} \ No newline at end of file
+{{ end }}
diff --git a/static/css/index.css b/static/css/index.css
index cefb303..8b2c75c 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -187,7 +187,7 @@ a:hover {
margin-bottom: 1em;
}
-.releated-content {
+.related-content {
border-width: 3px;
border-style: solid;
border-color: #000;
@@ -196,7 +196,7 @@ a:hover {
margin-top: 100px;
}
-.releated-content li {
+.related-content li {
margin: 5px 0;
}
@@ -238,4 +238,4 @@ a:hover {
position: absolute;
bottom: 0;
background: white;
-} \ No newline at end of file
+}