mirror of https://github.com/lxndrblz/anatole.git

alexanderdavide
11.32.2022 15c31f2660c8b75fa6119e833fe261ca6f8df5d6
refactor: post__footer BEM
3 files modified
10 ■■■■ changed files
assets/scss/partials/components/_post.scss 4 ●●●● patch | view | raw | blame | history
layouts/_default/single.html 2 ●●● patch | view | raw | blame | history
layouts/index.html 4 ●●●● patch | view | raw | blame | history
assets/scss/partials/components/_post.scss
@@ -96,12 +96,12 @@
    }
  }
  &-footer {
  &__footer {
    border-bottom: $border;
    font-size: 1.2rem;
    padding: 12px 0;
    &__date {
    &-date {
      margin-right: 10px;
      margin-left: 5px;
    }
layouts/_default/single.html
@@ -60,7 +60,7 @@
        {{- end -}}
      </div>
      <div class="post-footer">
      <div class="post__footer">
        {{ with .Page.Params.Categories }}
          {{ partial "taxonomy/categories.html" . }}
layouts/index.html
@@ -84,9 +84,9 @@
        <!--  -->
        <div class="post-footer">
        <div class="post__footer">
          <em class="fas fa-calendar-day"></em>
          <span class="post-footer__date"
          <span class="post__footer-date"
            >{{ if isset .Site.Params "indexdateformat" }}
              {{ .Date.Format .Site.Params.indexDateFormat }}