Apply suggestions from code review
Add spaces around `site.baseurl`, and add empty string to config Co-authored-by: Maxime Vaillancourt <mv@maximevaillancourt.com>
This commit is contained in:
parent
09ba4def4f
commit
9cf05a68e0
@ -4,7 +4,7 @@ exclude: ['_includes/notes_graph.json']
|
||||
# You may need to change the base URL depending on your deploy configuration.
|
||||
# Specifically, when using GitHub Pages, the baseurl should point to where GitHub
|
||||
# Pages deploys your repository (which is usually the repository name).
|
||||
baseurl:
|
||||
baseurl: ''
|
||||
|
||||
# If you are using a host that cannot resolve URLs that do
|
||||
# not end with .html (such as Neocities), set this to 'true'.
|
||||
|
@ -1,3 +1,3 @@
|
||||
<div>
|
||||
<a class="internal-link" href="{{site.baseurl}}/"><b>{{ site.title }}</b></a>
|
||||
<a class="internal-link" href="{{ site.baseurl }}/"><b>{{ site.title }}</b></a>
|
||||
</div>
|
||||
|
@ -22,7 +22,7 @@ layout: default
|
||||
<div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);">
|
||||
{% for backlink in page.backlinks %}
|
||||
<div class="backlink-box">
|
||||
<a class="internal-link" href="{{site.baseurl}}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br>
|
||||
<a class="internal-link" href="{{ site.baseurl }}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br>
|
||||
<div style="font-size: 0.9em">{{ backlink.excerpt | strip_html | truncatewords: 20 }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user