Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
jekyll-elixir-theme
Commits
c20894c7
Commit
c20894c7
authored
Jul 10, 2019
by
Jacek Lebioda
Browse files
News with left column layout
parent
0d614965
Changes
1
Hide whitespace changes
Inline
Side-by-side
_layouts/paginated_left_col.html
0 → 100644
View file @
c20894c7
---
layout: default
---
<article>
<div
id=
"left-column"
>
</div>
<div>
<header>
<h1>
ELIXIR.LU news
</h1>
<hr
/>
</header>
{% for post in paginator.posts %}
<div
class=
"post"
>
<a
class=
"post-title"
href=
"{{ site.baseurl }}{{ post.url }}"
>
{{ post.title }}
</a>
<div
class=
"content"
>
{{ post.content | truncate: 150 }}
</div>
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
</div>
{% endfor %}
<div
class=
"pagination"
>
{% if paginator.previous_page %}
<a
href=
"{{ site.baseurl }}{{ paginator.previous_page_path }}"
class=
"previous"
>
Previous
</a>
{% endif %}
<span
class=
"page_number "
>
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a
href=
"{{ site.baseurl }}{{ paginator.next_page_path }}"
class=
"next"
>
Next
</a>
{% endif %}
</div>
</div>
</article>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment