diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 13:16:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 13:16:47 +0300 |
commit | 4b87fa11cdde5abbd908ce975fd5323d689ad881 (patch) | |
tree | efbc40c547d10c3471c61eeec15cf6afc6896b98 | |
parent | markdown: remove extra empty line (diff) | |
download | blog-4b87fa11cdde5abbd908ce975fd5323d689ad881.tar.gz blog-4b87fa11cdde5abbd908ce975fd5323d689ad881.zip |
site.baseurl -> relative_url
-rw-r--r-- | _posts/2020-02-24-ssh-tunnel-windows.md | 4 | ||||
-rw-r--r-- | notes/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2020-02-24-ssh-tunnel-windows.md b/_posts/2020-02-24-ssh-tunnel-windows.md index 3e53e22..a8caab7 100644 --- a/_posts/2020-02-24-ssh-tunnel-windows.md +++ b/_posts/2020-02-24-ssh-tunnel-windows.md @@ -145,8 +145,8 @@ service to restart if `ssh` fails: <div class="row"> <div class="col-xs-12 col-sm-8 col-md-6"> - <a href="{{ site.baseurl }}/assets/img/ssh_tunnel_services.png" class="thumbnail"> - <img class="img-responsive" alt="services.msc" src="{{ site.baseurl }}/assets/img/ssh_tunnel_services.png"> + <a href="{{ '/assets/img/ssh_tunnel_services.png' | relative_url }}" class="thumbnail"> + <img class="img-responsive" alt="services.msc" src="{{ '/assets/img/ssh_tunnel_services.png' | relative_url }}"> </a> </div> </div> diff --git a/notes/index.html b/notes/index.html index 79e716a..99b1f6e 100644 --- a/notes/index.html +++ b/notes/index.html @@ -10,7 +10,7 @@ navbar_priority: 3 <ul> {% assign note_list = site.notes | sort: 'title' %} {% for note in note_list %} - <li><a href="{{ site.baseurl }}{{ note.url }}">{{ note.title }}</a></li> + <li><a href="{{ note.url | relative_url }}">{{ note.title }}</a></li> {% endfor %} </ul> {% else %} |