better looking tags
This commit is contained in:
parent
22c1d31628
commit
c87cdded7b
@ -50,11 +50,10 @@ body {
|
|||||||
.fsfw-img {
|
.fsfw-img {
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin-bottom: 1.0rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.satrs-img {
|
.satrs-img {
|
||||||
max-width: 20%;
|
max-width: 20%;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin-bottom: 1.0rem;
|
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@ baseURL = 'https://www.absatsw.irs-uni-stuttgart.de'
|
|||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = 'IRS Satellite Division Software Projects'
|
title = 'IRS Satellite Division Software Projects'
|
||||||
theme = "minimal-theme"
|
theme = "minimal-theme"
|
||||||
|
enableRobotsTXT = true
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main aria-role="main">
|
|
||||||
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
|
||||||
<h1 class="display-6">{{ .Content }}</h1>
|
<h1 class="display-6">{{ .Content }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- TODO: Find a way that the content of these boxes can be specified in front matter. -->
|
<!-- TODO: Find a way that the content of these boxes can be specified in front matter. -->
|
||||||
<div class="container">
|
|
||||||
<div class="container py-3 text-center overflow-hidden">
|
<div class="container py-3 text-center overflow-hidden">
|
||||||
<div class="row row-cols-2">
|
<div class="row row-cols-2">
|
||||||
<a
|
<a
|
||||||
@ -87,6 +85,4 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<div class="container">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
3
themes/minimal-theme/layouts/404.html
Normal file
3
themes/minimal-theme/layouts/404.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{- define "main" }}
|
||||||
|
<div class="not-found">404</div>
|
||||||
|
{{- end }}{{/* end main */ -}}
|
@ -13,11 +13,12 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
|||||||
{{- with $page.GetTerms $taxonomy }}
|
{{- with $page.GetTerms $taxonomy }}
|
||||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||||
<div>
|
<div>
|
||||||
<div>{{ $label }}:</div>
|
<div class="container text-center">
|
||||||
<ul>
|
<ul>
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
<a class="badge px-2 py-2 text-bg-primary" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
7
themes/minimal-theme/layouts/robots.txt
Normal file
7
themes/minimal-theme/layouts/robots.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
User-agent: *
|
||||||
|
{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
|
||||||
|
Disallow:
|
||||||
|
{{- else }}
|
||||||
|
Disallow: /
|
||||||
|
{{- end }}
|
||||||
|
Sitemap: {{ "sitemap.xml" | absURL }}
|
Loading…
Reference in New Issue
Block a user