diff --git a/themes/jefklak-creative-portfolio/assets/sass/_codex.sass b/themes/jefklak-creative-portfolio/assets/sass/_codex.sass index 4565e67..19b70bb 100644 --- a/themes/jefklak-creative-portfolio/assets/sass/_codex.sass +++ b/themes/jefklak-creative-portfolio/assets/sass/_codex.sass @@ -6,13 +6,13 @@ html body, h1, h2, h3, h4, article p, article li, .box-masonry .box-masonry-text p - color: var(--textcolor) + color: $textcolor .copyright - color: var(--textcolor) + color: $textcolor font-size: 0.8rem p.credit a - color: var(--textcolor) + color: $textcolor .latest-all float: right @@ -63,25 +63,26 @@ html body, h1, h2, h3, h4, h5, h6 color: grey font-weight: bold -h1, .h1 +h1 + color: lighten($textcolor, 10%) font-size: 2.5rem font-weight: 700 margin-bottom: 2rem margin-top: 0 -h2, .h2 +h2 font-size: 2rem font-weight: 700 margin-top: 2rem margin-bottom: 2rem -h3, .h3 +h3 font-size: 1.7rem font-weight: 700 margin-top: 2rem margin-bottom: 2rem -h4, .h4 +h4 font-size: 1.2rem font-weight: 700 diff --git a/themes/jefklak-creative-portfolio/assets/sass/_variables.sass b/themes/jefklak-creative-portfolio/assets/sass/_variables.sass index 2060c6a..01eedc5 100644 --- a/themes/jefklak-creative-portfolio/assets/sass/_variables.sass +++ b/themes/jefklak-creative-portfolio/assets/sass/_variables.sass @@ -1,5 +1,6 @@ // can't mix both, but want to "lighten" this one dynamically $bglight: #f1f4dd +$textcolor: #363636 html --accent: #a6a57c @@ -7,7 +8,6 @@ html --bglightshade: #e7ead2 --bgdarker: #e6ecb2 --bgdark: #d7d7a3 - --textcolor: #363636 --textlink: #b74a27 --textlinktag: #5d5c43 --textlinkdark: #483a07 diff --git a/themes/jefklak-creative-portfolio/layouts/partials/portfolio.html b/themes/jefklak-creative-portfolio/layouts/partials/portfolio.html index c45b9a0..3cbb0e6 100644 --- a/themes/jefklak-creative-portfolio/layouts/partials/portfolio.html +++ b/themes/jefklak-creative-portfolio/layouts/partials/portfolio.html @@ -9,7 +9,9 @@ {{- end -}}

Featured: {{ .Title }} - (Page {{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }}) » + {{- if gt .Paginator.TotalPages 1 -}} +  (Page {{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }}) + {{- end -}} »

diff --git a/themes/jefklak-creative-portfolio/layouts/partials/sidebar.html b/themes/jefklak-creative-portfolio/layouts/partials/sidebar.html index 8052e67..7a82410 100644 --- a/themes/jefklak-creative-portfolio/layouts/partials/sidebar.html +++ b/themes/jefklak-creative-portfolio/layouts/partials/sidebar.html @@ -45,21 +45,21 @@ {{- $currRellink := substr .RelPermalink 0 -1 -}} {{- $currContent := .Content -}} + {{- $currTitle := .Title -}} {{- $backlinks := slice -}} {{- $forwardlinks := slice -}} {{- range (where (where .Site.Pages.ByDate.Reverse ".Section" "in" (slice "articles" "games")) ".Params.ignore" "!=" "true") -}} {{- $found := findRE $currRellink .Content 1 -}} - {{- if $found -}} + {{- if and $found (ne .Title $currTitle) -}} {{- $backlinks = $backlinks | append . -}} {{- else -}} {{- $rellink := substr .RelPermalink 0 -1 -}} {{- $found = findRE $rellink $currContent 1 -}} - {{- if $found -}} + {{- if and $found (ne .Title $currTitle) -}} {{- $forwardlinks = $forwardlinks | append . -}} {{- end -}} {{- end -}} {{- end -}} - {{- $related := append $backlinks $forwardlinks -}} {{- if and .Params.Date $related -}}