Commit f792a0de authored by Mike Jones's avatar Mike Jones

Make RSS feed visible when pagination is empty, add extras to profile pages

parent 9053c0b0
Pipeline #147 failed with stage
in 16 seconds
---
title: "Mike Jones"
job_title: "Software Engineer"
gitlab: "https://git.netsplit.uk"
gitlab: "https://git.netsplit.uk/mike"
github: "https://github.com/n7st"
website: "https://netsplit.uk"
---
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
---
title: "quoteDB"
date: 2019-01-06T19:40:38Z
draft: false
description: |
quoteDB is an open-source bash.org inspired application for storing and
managing quotes from IRC channels, providing a web frontend for viewing
quotes.
os_link: https://git.netsplit.uk/mike/quoteDB
type: project
kind: project
tags: [ "irc", "golang", "docker" ]
authors: [ "Mike Jones" ]
---
Test about quoteDB.
......@@ -17,6 +17,7 @@
// selectively import icons we need from font-awesome
// see: ../../node_modules/font-awesome/scss/_icons.scss
.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; }
.#{$fa-css-prefix}-github:before { content: $fa-var-github; }
.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; }
.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; }
.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }
......
......@@ -43,3 +43,11 @@ article {
padding: $small-padding;
}
}
h1 > span, h2 > span, h3 > span {
float: right;
}
span.secondary-text {
color: $link-inactive;
}
......@@ -26,3 +26,7 @@ div#page-content {
//background: $tan;
}
}
.gimme-some-space {
margin-top: $big-padding;
}
{{ $paginator := .Paginator }}
{{ if or ($paginator.HasPrev) ($paginator.HasNext) }}
{{ $prev := "Previous" }}
{{ $next := "Next" }}
<nav aria-label="Pagination tools" class="pagination-nav">
<div class="row">
<div class="col">
<a title="RSS feed" href="index.xml"><i class="fa fa-rss"></i></a>
</div>
<div class="col">
{{ if or ($paginator.HasPrev) ($paginator.HasNext) }}
{{ $prev := "Previous" }}
{{ $next := "Next" }}
<nav aria-label="Pagination tools" class="pagination-nav">
<div class="row">
<div class="col">
<a title="RSS feed" href="/index.xml"><i class="fa fa-rss"></i></a>
</div>
<div class="col">
<ul class="pagination">
<li class="page-item">
{{ if $paginator.HasPrev }}
......@@ -35,9 +35,9 @@
{{ end }}
</li>
</ul>
</div>
{{ end }}
</div>
</nav>
</div>
</nav>
<div class="clearfix"></div>
{{ end }}
<div class="clearfix"></div>
......@@ -2,7 +2,7 @@
{{ $count := len .Params.tags }}
{{ if gt $count 0 }}
<ul class="tag-list">
<ul class="tag-list gimme-some-space">
{{ range $k, $v := .Params.tags }}
<li>
<a
......
{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
{{ if .Params.job_title }}
<p>{{ .Title }} is a {{ .Params.job_title }}.</p>
{{ end }}
<h1>
{{ .Title }}
{{ if .Params.job_title }}
<span class="secondary-text">{{ .Params.job_title }}</span>
{{ end }}
</h1>
{{ if or .Params.website .Params.gitlab }}
<ul>
<ul class="tag-list">
{{ if .Params.website }}
<li>
<a
title="Author's website"
href="{{ .Params.website }}"
>
<span class="badge badge-secondary">
<i class="fa fa-globe"></i> Website
</span>
</a>
</li>
{{ end }}
{{ if .Params.gitlab }}
<li><i class="fa fa-gitlab"></i> Gitlab</li>
<li>
<a
title="Author's Gitlab profile"
href="{{ .Params.gitlab }}"
>
<span class="badge badge-secondary">
<i class="fa fa-gitlab"></i> Gitlab
</span>
</a>
</li>
{{ end }}
{{ if .Params.website }}
<li><i class="fa fa-globe"></i> Website</li>
{{ if .Params.github }}
<li>
<a
title="Author's GitHub profile"
href="{{ .Params.github }}"
>
<span class="badge badge-secondary">
<i class="fa fa-github"></i> GitHub
</span>
</a>
</li>
{{ end }}
</ul>
{{ end }}
</header>
<section class="post-content" id="about-author">
{{ .Content }}
</section>
<section class="post-content">
{{ $paginator := .Paginate .Data.Pages }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment