[Git][reproducible-builds/reproducible-website][master] 2 commits: Use absolute paths to locate images to ensure images are not broken on all but the homepage

Chris Lamb gitlab at salsa.debian.org
Wed Sep 5 16:40:49 CEST 2018


Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
4b4da9d1 by Chris Lamb at 2018-09-05T14:40:06Z
Use absolute paths to locate images to ensure images are not broken on all but the homepage

- - - - -
57f586a6 by Chris Lamb at 2018-09-05T14:40:22Z
Don't break navigation on pages that aren't the homepage

- - - - -


3 changed files:

- _includes/footer.html
- _layouts/home.html
- css/main.css


Changes:

=====================================
_includes/footer.html
=====================================
@@ -1,7 +1,7 @@
 <footer class="site-footer">
   <div class="row">
     <div class="four columns hide-on-mobiles">
-      <p><img src="images/logos/rb.svg" width="100%" style="margin-bottom: 1em" alt="reproducible-builds.org"></p>
+      <p><img src="{{ "/images/logos/rb.svg" |  prepend: site.url }}" width="100%" style="margin-bottom: 1em" alt="reproducible-builds.org"></p>
       <p>{{ site.description }}</p>
     </div>
     <div class="four columns">


=====================================
_layouts/home.html
=====================================
@@ -3,7 +3,7 @@
   <body>
     <div class="home">
     <header class="site-header">
-      <h1><img src="images/logos/icon_white.svg" style="height: 2ex; vertical-align: middle"> reproducible<span class="punctuation">-</span>builds<span class="punctuation">.org</span></h1>
+      <h1><img src="{{ "/images/logos/icon_white.svg" | prepend: site.url }}" style="height: 2ex; vertical-align: middle"> reproducible<span class="punctuation">-</span>builds<span class="punctuation">.org</span></h1>
       <p class="tagline">Provide a verifiable path from source code to binary.</p>
     </header>
     <div class="container">


=====================================
css/main.css
=====================================
@@ -93,10 +93,10 @@ a {
 .site-title:visited {
   display: block;
   color: white;
-  font-size: 26px;
+  font-size: 23px;
   letter-spacing: -1px;
   float: left;
-  line-height: 56px;
+  line-height: 50px;
   position: relative;
   z-index: 1;
   text-decoration: none;



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/a324f62c1df6282dae8adaba99133d05a25fa131...57f586a60dbf9d70c96bbe96a8dac1b66760de34

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/a324f62c1df6282dae8adaba99133d05a25fa131...57f586a60dbf9d70c96bbe96a8dac1b66760de34
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180905/2807006c/attachment.html>


More information about the rb-commits mailing list