feat: add multilingual mode support (#241)
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
This commit is contained in:
parent
42ebf067bb
commit
5c22ce57dc
88 changed files with 437 additions and 144 deletions
64
exampleSite/content/en/_index.md
Normal file
64
exampleSite/content/en/_index.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
---
|
||||
title: Welcome to the documentation
|
||||
description: Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there.
|
||||
geekdocNav: false
|
||||
geekdocAlign: center
|
||||
geekdocAnchor: false
|
||||
---
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable MD033 -->
|
||||
|
||||
<span class="badge-placeholder">[](https://drone.thegeeklab.de/thegeeklab/hugo-geekdoc)</span>
|
||||
<span class="badge-placeholder">[](https://gohugo.io)</span>
|
||||
<span class="badge-placeholder">[](https://github.com/thegeeklab/hugo-geekdoc/releases/latest)</span>
|
||||
<span class="badge-placeholder">[](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors)</span>
|
||||
<span class="badge-placeholder">[](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE)</span>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of got alternatives out there.
|
||||
|
||||
{{< button size="large" relref="usage/getting-started/" >}}Getting Started{{< /button >}}
|
||||
|
||||
## Feature overview
|
||||
|
||||
{{< columns >}}
|
||||
|
||||
### Clean and simple design
|
||||
|
||||
Stay focused on exploring the content and don't get overwhelmed by a complex design.
|
||||
|
||||
<--->
|
||||
|
||||
### Light and mobile-friendly
|
||||
|
||||
The theme is powered by less than 1 MB and looks impressive on mobile devices as well as on a regular Desktop.
|
||||
|
||||
<--->
|
||||
|
||||
### Easy customization
|
||||
|
||||
The look and feel can be easily customized by CSS custom properties (variables), features can be adjusted by Hugo parameters.
|
||||
|
||||
{{< /columns >}}
|
||||
|
||||
{{< columns >}}
|
||||
|
||||
### Zero initial configuration
|
||||
|
||||
Getting started in minutes. The theme is shipped with a default configuration and works out of the box.
|
||||
|
||||
<--->
|
||||
|
||||
### Handy shortcodes
|
||||
|
||||
We included some (hopefully) useful custom shortcodes so you don't have to and can focus on writing amazing docs.
|
||||
|
||||
<--->
|
||||
|
||||
### Dark mode
|
||||
|
||||
Powerful dark mode that detects your system preferences or can be controlled by a toggle switch.
|
||||
|
||||
{{< /columns >}}
|
Loading…
Add table
Add a link
Reference in a new issue