mirror of
https://github.com/Pagwin-Fedora/website.git
synced 2025-07-18 08:05:42 +00:00
began working on linking to other sites
This commit is contained in:
parent
1d30b3cf7f
commit
bbff946bf5
4 changed files with 70 additions and 0 deletions
66
layouts/_default/single.html
Normal file
66
layouts/_default/single.html
Normal file
|
@ -0,0 +1,66 @@
|
|||
{{ partial "head.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
{{ $baseurl := .Site.BaseURL }}
|
||||
{{ $categories := .Params.categories }}
|
||||
{{ $tags := .Params.tags }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="sixteen columns">
|
||||
<article class="li-article">
|
||||
<header class="li-article-header">
|
||||
<h1 class="li-article-title">{{ .Title }}</h1>
|
||||
<span class="li-article-taxonomies">
|
||||
{{ with $categories }}
|
||||
Posted in
|
||||
{{ range $categories }}
|
||||
<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ with $tags }}
|
||||
with tags
|
||||
{{ range $tags }}
|
||||
<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ if or $categories $tags }} - {{ end }}
|
||||
<time class="li-article-date">{{ .Date.Format "Monday, January 2, 2006" }}</time>
|
||||
</header>
|
||||
<section>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "author.html" .}}
|
||||
{{ partial "media.html" .}}
|
||||
<div class="row li-pagination">
|
||||
<div class="eight columns">
|
||||
<div class="li-pagination-previous">
|
||||
{{with .Prev}}
|
||||
Older article<br />
|
||||
<a href="{{.Permalink}}"> {{.Title}}</a>
|
||||
{{else}}
|
||||
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="eight columns">
|
||||
<div class="li-pagination-next">
|
||||
{{with .Next}}
|
||||
Later article<br />
|
||||
<a href="{{.Permalink}}"> {{.Title}}</a>
|
||||
{{else}}
|
||||
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "tail.html" . }}
|
4
layouts/partials/media.html
Normal file
4
layouts/partials/media.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div id="media">
|
||||
<a href="{{ .Site.BaseURL }}/index.xml">rss</a>
|
||||
<a href="https://github.com/Pagwin-Fedora">github</a>
|
||||
</div>
|
BIN
static/img/GitHub-Mark-32px.png
Normal file
BIN
static/img/GitHub-Mark-32px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
static/img/rss-icon.jpg
Normal file
BIN
static/img/rss-icon.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue