[Git][reproducible-builds/reproducible-website][master] 2 commits: Migrate news index to new style.
Chris Lamb
gitlab at salsa.debian.org
Sat Dec 22 18:22:11 CET 2018
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
b2ded56b by Chris Lamb at 2018-12-22T17:21:51Z
Migrate news index to new style.
- - - - -
efab7878 by Chris Lamb at 2018-12-22T17:22:02Z
Increas spacing.
- - - - -
3 changed files:
- assets/styles/custom.scss
- − news.html
- + news.md
Changes:
=====================================
assets/styles/custom.scss
=====================================
@@ -1,6 +1,6 @@
main {
h1, h2, h3, h4, h5, h6 {
- margin-top: 2rem;
+ margin-top: 2.5rem;
}
img {
=====================================
news.html deleted
=====================================
@@ -1,21 +0,0 @@
----
-layout: page
-title: News
-permalink: /news/
-order: 7
----
-
-{% for post in site.posts %}
-<div class="row">
- <div class="four columns title">
- <p class="meta">
- {{ post.date | date: "%b %-d, %Y" }}
- </p>
- </div>
- <div class="eight columns text">
- <h2>{{ post.title }}</h2>
- {{ post.excerpt }}
- <p><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">Read more…</a></p>
- </div>
-</div>
-{% endfor %}
=====================================
news.md
=====================================
@@ -0,0 +1,23 @@
+---
+layout: new/default
+title: News
+permalink: /news/
+order: 7
+---
+
+# News
+
+{% for post in site.posts %}
+
+## [{{ post.title }}]({{ post.url | prepend: site.baseurl }})
+
+<span class="text-muted">
+{{ post.date | date: "%b %-d, %Y" }}
+</span>
+
+{{ post.excerpt }}
+
+<a href="({{ post.url | prepend: site.baseurl }}" class="btn btn-outline-primary">
+ Read more…
+</a>
+{% endfor %}
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/96c9b98a1719eea1c1e829cac673a4ceca2d08f2...efab7878f2d4a0acf8ece6136128870b7c5c372f
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/96c9b98a1719eea1c1e829cac673a4ceca2d08f2...efab7878f2d4a0acf8ece6136128870b7c5c372f
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/20181222/1c2dec12/attachment.html>
More information about the rb-commits
mailing list