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

critbase
25.24.2021 9b1d6f8385faabb2e5d3a9c2d70a2b984ad0bf20
fix: sidebar url

makes the sidebar url follow the baseURL option in the config.toml. if
baseURL is configured as "https://domain.tld/blog", <a href="/"> points
to "https://domain.tld". This commit changes that behaviour so it points
to the baseURL.
1 files modified
2 ■■■ changed files
layouts/partials/sidebar.html 2 ●●● patch | view | raw | blame | history
layouts/partials/sidebar.html
@@ -11,7 +11,7 @@
    <div class="logo-title">
      <div class="title">
        <img src="{{ .Site.Params.profilePicture | relURL }}" alt="profile picture" />
        <h3 title=""><a href="/">{{ .Site.Params.Title }}</a></h3>
        <h3 title=""><a href="{{ .Site.BaseURL | relURL }}">{{ .Site.Params.Title }}</a></h3>
        <div class="description">
          <p>{{ replace .Site.Params.description "\n" "<br />" | safeHTML }}</p>
        </div>