Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Migrate news index to new style.
· b2ded56b
Chris Lamb
authored
Dec 22, 2018
b2ded56b
Increas spacing.
· efab7878
Chris Lamb
authored
Dec 22, 2018
efab7878
Hide whitespace changes
Inline
Side-by-side
assets/styles/custom.scss
View file @
efab7878
main
{
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin-top
:
2rem
;
margin-top
:
2
.5
rem
;
}
img
{
...
...
news.html
deleted
100644 → 0
View file @
96c9b98a
---
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 → 100644
View file @
efab7878
---
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 %}