| | |
| | | } |
| | | } |
| | | |
| | | .post-footer { |
| | | padding: 0 0 10px 0; |
| | | &-footer { |
| | | border-bottom: $border; |
| | | .meta { |
| | | max-width: 100%; |
| | | display: flex; |
| | | color: #bbbbbb; |
| | | .info { |
| | | float: left; |
| | | font-size: 1.2rem; |
| | | margin-bottom: 1em; |
| | | color: $primary; |
| | | .date { |
| | | padding: 12px 0; |
| | | |
| | | &__date { |
| | | margin-right: 10px; |
| | | margin-left: 5px; |
| | | } |
| | | } |
| | | a { |
| | | text-decoration: none; |
| | | color: $primary; |
| | | &:hover { |
| | | color: #2660ab; |
| | | } |
| | | } |
| | | i { |
| | | margin-right: 6px; |
| | | } |
| | | } |
| | | .info { |
| | | .separator a { |
| | | margin-right: 0.2em; |
| | | } |
| | | } |
| | | .tags { |
| | | padding-bottom: 15px; |
| | | font-size: 1.3rem; |
| | | |
| | | ul { |
| | | list-style-type: none; |
| | | display: inline; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | |
| | | ul li { |
| | | list-style-type: none; |
| | | margin: 0; |
| | | padding-right: 5px; |
| | | display: inline; |
| | | } |
| | | |
| | | a { |
| | | text-decoration: none; |
| | | color: $primary; |
| | | font-weight: 400; |
| | | &:hover { |
| | | text-decoration: none; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | {{- end -}} |
| | | </div> |
| | | <div class="post-footer"> |
| | | <div class="info"> |
| | | {{ with .Page.Params.Categories }} |
| | | {{ partial "taxonomy/categories.html" . }} |
| | | |
| | |
| | | |
| | | {{ end }} |
| | | </div> |
| | | </div> |
| | | |
| | | {{ if and (or (eq .Type "post") (eq .Type .Site.Params.postSectionName)) (ne .Page.Params.disableComments true) }} |
| | | {{- if .Site.DisqusShortname -}} |
| | |
| | | |
| | | <!-- --> |
| | | <div class="post-footer"> |
| | | <div class="meta"> |
| | | <div class="info"> |
| | | <em class="fas fa-calendar-day"></em> |
| | | <span class="date" |
| | | <span class="post-footer__date" |
| | | >{{ if isset .Site.Params "indexdateformat" }} |
| | | {{ .Date.Format .Site.Params.indexDateFormat }} |
| | | |
| | |
| | | {{ end }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | {{ end }} |
| | | <div class="pagination"> |
| | |
| | | {{- $linkBase := .linkBase -}} |
| | | |
| | | |
| | | <span class="separator"> |
| | | <span> |
| | | {{- range $index, $el := .items -}} |
| | | <!-- Replace certain special characters with their URL encoded counterparts --> |
| | | {{- $item := replace . "#" "%23" -}} |