[Git][reproducible-builds/reproducible-website][master] Move resources page to new style.

Chris Lamb gitlab at salsa.debian.org
Sun Dec 30 00:53:10 CET 2018


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


Commits:
16d3c1ca by Chris Lamb at 2018-12-29T23:52:55Z
Move resources page to new style.

- - - - -


2 changed files:

- − resources.html
- + resources.md


Changes:

=====================================
resources.html deleted
=====================================
@@ -1,61 +0,0 @@
----
-layout: page
-title: Talks & Resources
-permalink: /resources/
-order: 2
----
-
-<div class="row">
-  <div class="four columns title">
-   <h2>Contribute</h2>
-  </div>
-  <div class="eight columns">
-    <p>
-      Find out how to contribute on our <a href="{{ "/contribute/" | prepend: site.baseurl }}">Contribute</a> page.
-    </p>
-  </div>
-</div>
-
-<br>
-
-<div class="row">
-  <div class="four columns title">
-    <h2>Talks</h2>
-  </div>
-  <div class="eight columns text">
-    <dl class="talks">
-      {% for x in site.data.presentations %}
-      {% assign slug = x.title | append: "-" | append: x.event.date | slugify %}
-      <dt id="{{ slug }}">
-        <em>{{ x.title }}</em> <a href="#{{ slug }}">¶</a><br/>
-        by {{ x.presented_by }}<br/>
-        <a href="{{ x.event.url }}">{{ x.event.name }}</a>
-        • {{ x.event.location }}
-        {% if x.event.date %}• {{ x.event.date | date: "%B %-d %Y" }}{% endif %}
-      </dt>
-      <dd>
-        {% if x.video.url %}
-        ▸ <a href="{{ x.video.url }}">Video</a> 
-        {% endif %}
-        {% if x.video.youtube %}
-        ▸ <a href="https://www.youtube.com/watch?v={{ x.video.youtube }}">YouTube</a> 
-        {% endif %}
-        {% if x.slides %}
-        ▦ <a href="{{ x.slides }}">Slides</a> 
-        {% endif %}
-      </dd>
-      {% endfor %}
-  </div>
-</div>
-
-<br>
-
-<div class="row">
-  <div class="four columns title">
-    <h2>Slides</h2>
-  </div>
-  <div class="eight columns text">
-    <p>We store all of our presentations in PDF or HTML form <a href="/_lfs/presentations">here</a>.</p>
-    <p>We also have <a href="https://salsa.debian.org/reproducible-builds/reproducible-presentations">the original sources available in Git</a>!</p>
-  </div>
-</div>


=====================================
resources.md
=====================================
@@ -0,0 +1,33 @@
+---
+layout: new/default
+title: Talks & Resources
+permalink: /resources/
+order: 2
+---
+
+# Talks & Resources
+
+## Contribute
+
+Find out how to contribute on our [Contribute]({{ "/contribute/" | prepend: site.baseurl }}) page.
+
+## Talks
+
+{% for x in site.data.presentations %}
+{% assign slug = x.title | append: "-" | append: x.event.date | slugify %}
+
+<div class="pt-3" id="{{ slug }}"></div>
+
+*{{ x.title }}* [¶](#{{ slug }})<br>by {{ x.presented_by }}<br>
+[{{ x.event.name }}]({{ x.event.url }}) • {{ x.event.location }} {% if x.event.date %}• {{ x.event.date | date: "%-d %B %Y" }}{% endif %}
+
+{% if x.video.url %}<a href="{{ x.video.url }}" class="btn btn-sm btn-outline-primary">Video</a>{% endif %}
+{% if x.video.url %}<a href="https://www.youtube.com/watch?v={{ x.video.youtube }}" class="btn btn-sm btn-outline-primary">YouTube</a>{% endif %}
+{% if x.video.slides %}<a href="{{ x.slides }}" class="btn btn-sm btn-outline-primary">Slides</a>{% endif %}
+
+{% endfor %}
+
+## Slides
+
+We store all of our presentations in PDF or HTML form
+[here](/_lfs/presentations). We also have [the original sources available in Git](https://salsa.debian.org/reproducible-builds/reproducible-presentations).



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/16d3c1cab0dcd99814132834294f339ad4430c93

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/16d3c1cab0dcd99814132834294f339ad4430c93
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/20181229/2784be4f/attachment.html>


More information about the rb-commits mailing list