style for product summary / added home page link on navbar
This commit is contained in:
19
config.toml
19
config.toml
@@ -51,36 +51,37 @@ enableRobotsTXT = true
|
||||
|
||||
[menu]
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "homepage"
|
||||
name = "Startseite"
|
||||
url = "/"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "products"
|
||||
name = "Lösungen & Produkte"
|
||||
url = "/products/"
|
||||
weight = 1
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "blog"
|
||||
name = "Neuheiten"
|
||||
url = "/blog/"
|
||||
weight = 2
|
||||
weight = 3
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "Über mich"
|
||||
url = "/about/"
|
||||
weight = 3
|
||||
weight = 4
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "contact"
|
||||
name = "Kontakt"
|
||||
url = "/contact/"
|
||||
weight = 4
|
||||
weight = 5
|
||||
|
||||
# Footer Menu
|
||||
[[menu.footer]]
|
||||
name = "Home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Impressum & Datenschutzerklärung"
|
||||
url = "/impressum-datenschutzerklaerung"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<div class="mx-auto my-10 max-w-6xl">
|
||||
<div class="mx-3 col-span-3 lg:col-span-2 px-2">
|
||||
<h1 class="title text-5xl mb-4">{{.Title}}</h1>
|
||||
<h1 class="title text-5xl mb-4 text-white-custom">{{.Title}}</h1>
|
||||
<div class="content py-1">{{.Content}}</div>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 mb-2 gap-2">
|
||||
{{ range .Pages.ByWeight }}
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
</style>
|
||||
|
||||
<a href="{{ .Permalink }}">
|
||||
<div class="summary border p-3">
|
||||
<div class="summary border p-3 border-green-custom">
|
||||
<h2 class="text-3xl title-product-summary">
|
||||
{{ .Title }}
|
||||
</h2>
|
||||
<img src="{{ .Params.image | relURL }}" alt="-product-image-">
|
||||
<p class="description-product-summary">{{ .Description }}</p>
|
||||
<p class="description-product-summary text-white-custom">{{ .Description }}</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user