change to relative path for <head>

This commit is contained in:
cuu 2024-02-21 23:25:07 -08:00
parent 6894b3e750
commit 08933e48ad
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
</div>
<div id="footer-right">
<a href="https://jekyllrb.com/" title="Jekyll" id="poweredby">
<span>Powered by</span><img src="/img/jekyll-tube-bw.png">
<span>Powered by</span><img src="img/jekyll-tube-bw.png">
</a>
{%- include analytics.html -%}
</div>

View File

@ -1,10 +1,10 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }} - {{ site.title }}</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="/css/main.css" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="css/main.css" />
{%- if include.redirect_url -%}
<link rel="canonical" href="{{ include.redirect_url }}">
<meta http-equiv="refresh" content="0; url={{ include.redirect_url }}" />
{%- endif -%}
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} feed" href="/feed.xml" />
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} feed" href="feed.xml" />

View File

@ -6,7 +6,7 @@
<li><a href="{{ author.url }}">{{ author.name }}</a></li>
</ul>
{%- if author.logo -%}
<img src="/{{ author.logo }}" style="max-width: 100%;margin: 3px" />
<img src="{{ author.logo }}" style="max-width: 100%;margin: 3px" />
{%- endif -%}
</div>
<h3>{{ site.data.i18n[site.lang].label.author }}</h3>