minor rearrangements and fixes
This commit is contained in:
parent
c05a285efa
commit
5979be2db6
9 changed files with 61 additions and 34 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
public
|
||||
resources
|
||||
themes
|
||||
static/images
|
||||
static/img
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
summary: ""
|
||||
img:
|
||||
domains: []
|
||||
topics: []
|
||||
date: {{ .Date }}
|
||||
author:
|
||||
draft: true
|
||||
weight: 10
|
||||
---
|
||||
|
||||
### First Headline
|
||||
|
|
30
i18n/de.yaml
30
i18n/de.yaml
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# en.yaml 2020-03-08
|
||||
# en.yaml 2020-05-10
|
||||
#
|
||||
|
||||
about:
|
||||
|
@ -8,21 +8,21 @@ about:
|
|||
author:
|
||||
other: Autor
|
||||
|
||||
categories:
|
||||
other: Kategorien
|
||||
|
||||
Categories:
|
||||
other: Kategorien
|
||||
|
||||
category:
|
||||
other: Kategorie
|
||||
|
||||
contact:
|
||||
other: Kontakt
|
||||
|
||||
dateFormat:
|
||||
other: 02.01.2006
|
||||
|
||||
domains:
|
||||
other: Bereiche
|
||||
|
||||
Domains:
|
||||
other: Bereiche
|
||||
|
||||
domains:
|
||||
other: Bereich
|
||||
|
||||
next:
|
||||
other: Weiter
|
||||
|
||||
|
@ -31,3 +31,13 @@ prev:
|
|||
|
||||
recentArticles:
|
||||
other: Aktuelle Artikel
|
||||
|
||||
topics:
|
||||
other: Themen
|
||||
|
||||
Topics:
|
||||
other: Themen
|
||||
|
||||
topic:
|
||||
other: Thema
|
||||
|
||||
|
|
30
i18n/en.yaml
30
i18n/en.yaml
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# en.yaml 2020-03-08
|
||||
# en.yaml 2020-05-10
|
||||
#
|
||||
|
||||
about:
|
||||
|
@ -8,15 +8,6 @@ about:
|
|||
author:
|
||||
other: Author
|
||||
|
||||
categories:
|
||||
other: Categories
|
||||
|
||||
Categories:
|
||||
other: Categories
|
||||
|
||||
category:
|
||||
other: Category
|
||||
|
||||
contact:
|
||||
other: Contact
|
||||
|
||||
|
@ -24,6 +15,15 @@ dateFormat:
|
|||
other: Jan 02, 2006
|
||||
# other: 2006-01-02
|
||||
|
||||
domains:
|
||||
other: Domains
|
||||
|
||||
Domains:
|
||||
other: Domains
|
||||
|
||||
domain:
|
||||
other: Domain
|
||||
|
||||
next:
|
||||
other: Next
|
||||
|
||||
|
@ -32,3 +32,13 @@ prev:
|
|||
|
||||
recentArticles:
|
||||
other: Recent Posts
|
||||
|
||||
topics:
|
||||
other: Topics
|
||||
|
||||
Topics:
|
||||
other: Topics
|
||||
|
||||
topic:
|
||||
other: Topic
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<div class="panel panel-default">
|
||||
|
||||
{{ if .Params.img }}
|
||||
<img width="100%" src="{{ .Site.BaseURL }}images/{{ .Params.img }}" alt="{{ .Title }}">
|
||||
<img width="100%" src="{{ .Site.BaseURL }}img/{{ .Params.img }}" alt="{{ .Title }}">
|
||||
{{ else if .Site.Params.defaultImage }}
|
||||
<img width="100%" src="{{ .Site.BaseURL }}images/{{ .Site.Params.defaultImage }}" alt="{{ .Site.Title }}">
|
||||
<img width="100%" src="{{ .Site.BaseURL }}img/{{ .Site.Params.defaultImage }}" alt="{{ .Site.Title }}">
|
||||
{{ end }}
|
||||
|
||||
<div class="panel-body">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<div class="col-md-4 text-center mt25" >
|
||||
{{ with .Site.Params.builtBy }}
|
||||
<a target="_blank" href="{{.link}}"><img src="/{{.Site.BaseURL}}images/{{.image}}" alt="{{.name}}"></a>
|
||||
<a target="_blank" href="{{.link}}"><img src="/{{.Site.BaseURL}}img/{{.image}}" alt="{{.name}}"></a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a href="{{ .Site.BaseURL }}"><img src="{{.Site.BaseURL}}images/{{.Site.Params.logo}}" alt="{{.Site.Title}}"></a>
|
||||
<a href="{{ .Site.BaseURL }}"><img src="{{.Site.BaseURL}}img/{{.Site.Params.logo}}" alt="{{.Site.Title}}"></a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{ .Site.BaseURL }}pages/about/">{{i18n "about"}}</a></li>
|
||||
<li><a href="{{ .Site.BaseURL }}categories/">{{i18n "categories"}}</a></li>
|
||||
<li><a href="{{ .Site.BaseURL }}topics/">{{i18n "topics"}}</a></li>
|
||||
<li><a href="{{ .Site.BaseURL }}pages/contact/">{{i18n "contact"}}</a></li>
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
<div class="post-img">
|
||||
{{ if .Params.img }}
|
||||
<img width="600" src="{{ .Site.BaseURL}}images/{{ .Params.img }}" alt="{{ .Params.title }}">
|
||||
<img width="600" src="{{ .Site.BaseURL}}img/{{ .Params.img }}" alt="{{ .Params.title }}">
|
||||
{{ else }}
|
||||
<img width="600" src="{{ .Site.BaseURL }}images/{{ .Site.Params.defaultImage }}" alt="matrix">
|
||||
<img width="600" src="{{ .Site.BaseURL }}img/{{ .Site.Params.defaultImage }}" alt="matrix">
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
{{ $taxo := "categories" }}
|
||||
{{ $taxo := "topics" }}
|
||||
{{ if .Param $taxo }}
|
||||
<div class="mt10 sb-box">
|
||||
<h3>{{i18n "categories"}}</h3>
|
||||
<h3>{{i18n "topics"}}</h3>
|
||||
<ul id="{{ $taxo }}">
|
||||
{{ range .Param $taxo }}
|
||||
{{ $name := . }}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="home">
|
||||
|
||||
<div class="row">
|
||||
<h1 class="site-title">{{i18n "category"}}: {{.Title | title}}</h1>
|
||||
<h1 class="site-title">{{i18n "topic"}}: {{.Title | title}}</h1>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue