Fixed structure to be able to create working pages
the build was successful Details

This commit is contained in:
kolaente 2018-10-15 12:31:36 +02:00
parent 618b3dc48d
commit c82cdaee81
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
8 changed files with 56 additions and 27 deletions

23
content/_index.en.md Normal file
View File

@ -0,0 +1,23 @@
---
title: "Home"
date: 2018-10-13T19:26:34+02:00
draft: false
type: "home"
heading:
heading: Vikunja (/vɪˈkuːnjə/)
content: The to-do app to organize your life.
subtitle: Also one of the two wild South American camelids which live in the high<br/>
alpine areas of the Andes and a [relative of the llama](https://en.wikipedia.org/wiki/Vicu%C3%B1a).
subsubtitle: Vikunja is a [self-hosted](https://vikunja.io/docs/installation) To-Do list application with
a web app and [mobile apps](download) for all platforms.
It is licensed under the [LGPLv3](https://code.vikunja.io/api/src/branch/master/LICENSE).
menu:
page:
title: "Home"
weight: 10
---
<div class="container">
<a class="button is-success is-large" href="https://try.vikunja.io" target="_blank">Try it</a>
<a class="button is-light is-large" href="https://vikunja.io/docs">Docs</a>
</div>

View File

@ -1,27 +0,0 @@
---
title: "Home"
date: 2018-10-13T19:26:34+02:00
draft: false
type: "home"
menu:
page:
title: "Home"
weight: 10
---
<h1 class="title is-1">Vikunja (/vɪˈkuːnjə/)</h1>
<h3 class="subtitle is-3">The to-do app to organize your life.</h3>
<h4 class="subtitle is-4">
Also one of the two wild South American camelids which live in the high <br/>
alpine areas of the Andes and a [relative of the llama](https://en.wikipedia.org/wiki/Vicu%C3%B1a).
</h3>
<h4 class="subtitle text-normal">
Vikunja is a [self-hosted](https://vikunja.io/docs/installation) To-Do list application with
a web app and [mobile apps](download) for all platforms.
It is licensed under the [LGPLv3](https://code.vikunja.io/api/src/branch/master/LICENSE).
</h4>
<div class="container">
<a class="button is-success is-large" href="https://try.vikunja.io" target="_blank">Try it</a>
<a class="button is-light is-large" href="https://vikunja.io/docs">Docs</a>
</div>

View File

@ -0,0 +1,33 @@
{{ partial "header.html" . }}
<section class="homepage-hero hero is-dark is-medium">
<!-- Hero head: will stick at the top -->
<div class="hero-head">
{{ partial "navbar-blank.html" . }}
</div>
<!-- Hero content: will be in the middle -->
<div class="hero-body">
<div class="container has-text-centered">
{{ if .Params.heading }}
{{ if .Params.heading.heading }}
<h1 class="title is-1">{{.Params.heading.heading | markdownify}}</h1>
{{end}}
{{ if .Params.heading.content }}
<h3 class="subtitle is-3">{{.Params.heading.content | markdownify}}</h3>
{{end}}
{{ if .Params.heading.subtitle }}
<h4 class="subtitle is-4">{{.Params.heading.subtitle | markdownify}}</h4>
{{end}}
{{ if .Params.heading.subsubtitle }}
<h4 class="subtitle text-normal">{{.Params.heading.subsubtitle | markdownify}}</h4>
{{end}}
{{end}}
{{ .Content | markdownify}}
</div>
</div>
</section>
{{ partial "footer.html" . }}