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

Rhiyo
13.36.2024 1ca7be2ca23b7ac6809c3a3a013ce0c6d09ed1c6
fix: title in sidebar changing marging

* fix: title in sidebar changing marging
2 files modified
8 ■■■■ changed files
assets/scss/partials/components/_sidebar.scss 4 ●●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 4 ●●● patch | view | raw | blame | history
assets/scss/partials/components/_sidebar.scss
@@ -69,6 +69,10 @@
      a {
        font-size: 3.2rem;
      }
      h1 {
        margin: 0;
      }
    }
  }
}
layouts/partials/sidebar.html
@@ -13,9 +13,11 @@
        alt="profile picture"
      />
      {{ if .IsHome }}
        <h1 class="sidebar__introduction-title">
        <div class="sidebar__introduction-title">
          <h1>
          <a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Params.Title }}</a>
        </h1>
        </div>
      {{ else }}
        <div class="sidebar__introduction-title">
          <a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Params.Title }}</a>