mirror of
https://gitlab.com/fabinfra/fabinfra-theme.git
synced 2025-03-12 14:41:51 +01:00
bmbf logo eingebaut
This commit is contained in:
parent
b5ad5af6fe
commit
97607fa180
12
layouts/partials/footer_fabaccess.html
Normal file
12
layouts/partials/footer_fabaccess.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<footer id = "bigfooter">
|
||||||
|
<div style = "padding:15px 15px 0px 15px;display:table;width: 100%">
|
||||||
|
<p>
|
||||||
|
<span style="display: table-cell; vertical-align: middle;width:10%;"></span>
|
||||||
|
<span style="display: table-cell; vertical-align: middle;width:80%;">{{ "Powered by [Hugo](https://gohugo.io). Themed by [fabinfra](https://gitlab.com/fabinfra/fabinfra-theme)." | markdownify }}</span>
|
||||||
|
<span style="display: table-cell; vertical-align: middle;width:10%;"><img src="/img/logo/BMBF_gefördert-vom_deutsch.jpg" alt="Gefördert vom BMBF"></span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
40
layouts/projects/single_fabaccess.html
Normal file
40
layouts/projects/single_fabaccess.html
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{{ partial "header" . }}
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div class="item-header">
|
||||||
|
{{ $.Scratch.Set "link" .RelPermalink }}
|
||||||
|
{{ with .Params.repo }}
|
||||||
|
{{ $repoHost := default "gitlab" $.Params.repoHost }}
|
||||||
|
{{ if eq "github" $repoHost }}
|
||||||
|
{{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }}
|
||||||
|
{{ else if eq "gitlab" $repoHost }}
|
||||||
|
{{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }}
|
||||||
|
|
||||||
|
<a href="{{ .Scratch.Get "link" }}">
|
||||||
|
<img class="logo" src="../{{ .Params.logo }}">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
</a>
|
||||||
|
<h4>{{ $.Scratch.Get "subtitle" }}</h4>
|
||||||
|
|
||||||
|
{{ range.Params.categories }}
|
||||||
|
|
||||||
|
<a href="{{"/categories/"|relLangURL }}{{.|urlize}}">
|
||||||
|
<kbd class="item-cat"> {{ . }} </kbd>
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ range .Params.tags }}
|
||||||
|
<a href="{{"/tags/"|relLangURL }}{{.|urlize}}">
|
||||||
|
<kbd class="item-tag"> {{ . }} </kbd>
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<br> <div class="text-justify">{{ .Content }}</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ partial "footer_fabaccess" . }}
|
BIN
static/img/logo/BMBF_gefördert-vom_deutsch.jpg
Normal file
BIN
static/img/logo/BMBF_gefördert-vom_deutsch.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
Loading…
x
Reference in New Issue
Block a user