Commit cfb84eeb authored by Chris Lamb's avatar Chris Lamb 💬

Use site.baseurl over constructing URLs manually.

parent cbf85d12
Pipeline #46824 passed with stage
in 2 minutes and 12 seconds
......@@ -7,8 +7,8 @@
<meta name="referrer" content="same-origin" />
<title>{{ page.title }}</title>
<link href="/static/css/bootstrap.min.css?{{ site.time | date: '%s%N' }}" rel="stylesheet" />
<link href="/static/css/diffoscope.css?{{ site.time | date: '%s%N' }}" rel="stylesheet" media="screen" />
<link href="{{ "static/css/bootstrap.min.css" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}" rel="stylesheet" />
<link href="{{ "static/css/diffoscope.css" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}" rel="stylesheet" media="screen" />
</head>
<body>
......@@ -19,7 +19,7 @@
<div class="row">
<div class="col-xs-12 col-sm-4 logo">
<a href="/">
<img src="/static/images/diffoscope.png?{{ site.time | date: '%s%N' }}" class="img-responsive center-block">
<img src="{{ "static/images/diffoscope.png" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}" class="img-responsive center-block">
</a>
</div>
......@@ -34,7 +34,7 @@
<div class="container text-muted text-center">
<p>
<a href="https://reproducible-builds.org/">
<img src="/static/images/reproducible-builds.svg?{{ site.time | date: '%s%N' }}" class="img-responsive center-block">
<img src="{{ "static/images/reproducible-builds.svg" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}" class="img-responsive center-block">
</a>
</p>
......
......@@ -11,17 +11,17 @@ title: "diffoscope: in-depth comparison of files, archives, and directories"
----
<img src="/static/images/progressbar.gif?{{ site.time | date: '%s%N' }}">
<img src="{{ "static/images/progressbar.gif" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}">
## Examples
[![Example of diffoscope HTML output](/examples/https-everywhere-5.0.6_vs_5.0.7.thumbnail.png?{{ site.time | date: '%s%N' }})](/examples/https-everywhere-5.0.6_vs_5.0.7.html)
[![Example of diffoscope HTML output]({{ "examples/https-everywhere-5.0.6_vs_5.0.7.thumbnail.png" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }})]({{ "examples/https-everywhere-5.0.6_vs_5.0.7.html" | prepend: site.baseurl }})
[Firefox extensions compared (HTML output)](/examples/https-everywhere-5.0.6_vs_5.0.7.html)
[Firefox extensions compared (HTML output)]({{ "examples/https-everywhere-5.0.6_vs_5.0.7.html" | prepend: site.baseurl }})
[![Example of diffoscope text output](/examples/igerman98_20131206-5.thumbnail.png?{{ site.time | date: '%s%N' }})](/examples/igerman98_20131206-5.txt)
[![Example of diffoscope text output]({{ "examples/igerman98_20131206-5.thumbnail.png" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }})]({{ "examples/igerman98_20131206-5.txt" | prepend: site.baseurl }})
[Debian packages compared (text output)](/examples/igerman98_20131206-5.txt)
[Debian packages compared (text output)]({{ "/examples/igerman98_20131206-5.txt" | prepend: site.baseurl }})
&hellip; and more [examples on tests.reproducible-builds.org](https://tests.reproducible-builds.org/debian/unstable/amd64/index_FTBR.html).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment