Theme fest ins Repo uebernehmen statt als Submodule
Ein normaler git clone holt Submodules nicht mit - geprueft: nach dem Klonen des Repos war themes/gokarna leer. Portainer klont ebenso, der Build im Container waere also an dem fehlenden Theme gescheitert. Gokarna liegt jetzt direkt im Repo, festgeschrieben auf Commit 8306042, den Stand, mit dem die Seite bisher gebaut wurde. .gitmodules entfaellt. Nachteil: Theme-Updates muessen kuenftig von Hand eingespielt werden. Dafuer baut das Repo aus jedem beliebigen Klon heraus, ohne Sonderbehandlung. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
106
themes/gokarna/README.md
Normal file
106
themes/gokarna/README.md
Normal file
@@ -0,0 +1,106 @@
|
||||
# Gokarna
|
||||
|
||||
Gokarna is an opinionated theme with a focus on minimalism and simplicity.
|
||||
|
||||
### Authors:
|
||||
|
||||
- [Yash Mehrotra](https://yashmehrotra.com)
|
||||
- [Avijit Gupta](https://twitter.com/526avijit)
|
||||
|
||||
#### Major Contributors
|
||||
- [James Davidson](https://jamesdavidson.xyz)
|
||||
- [David Kröll](https://davidkroell.com)
|
||||
- [Mansoor Barri](https://mansoorbarri.com)
|
||||
|
||||
### Demo: [https://gokarna-hugo.netlify.app](https://gokarna-hugo.netlify.app)
|
||||
|
||||
## Support the developer
|
||||
|
||||
<a href="https://github.com/sponsors/gokarna-theme">
|
||||
<img src="https://img.shields.io/badge/Sponsor-❤-red?style=for-the-badge" width="170" height="37" alt="Sponsor us">
|
||||
</a>
|
||||
|
||||
[](https://www.buymeacoffee.com/avijitgupta)
|
||||
|
||||
## Features
|
||||
|
||||
Gokarna is fast, responsive, and [SEO-friendly](#performance).
|
||||
|
||||
- Light and dark modes
|
||||
- [Feather](https://feathericons.com/) and [Simple](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#icons-on-homepage) icons
|
||||
- [KaTeX](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#katex) math typesetting
|
||||
- [Syntax highlighting](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#syntax-highlighting)
|
||||
- [Custom HTML, JavaScript, and CSS](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#custom-head-and-footer-html)
|
||||
- [Configurable Table of Contents](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#table-of-contents)
|
||||
- Español (Spanish/Catalan), Deutsch (German), Français (French), Polski (Polish), Português Brasileiro (Brazilian Portuguese), Русский (Russian), and 正體字 (Traditional Chinese) [translations](https://github.com/gokarna-theme/gokarna-hugo/tree/main/i18n)
|
||||
- Google Lato fonts
|
||||
- Auto-generated RSS feed
|
||||
|
||||
And more...
|
||||
|
||||
## Screenshots
|
||||
|
||||
### Homepage
|
||||
|
||||
Light Mode | Dark Mode
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
### Post page
|
||||
|
||||
Light Mode | Dark Mode
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
### List page
|
||||
|
||||
Light Mode | Dark Mode
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
## Installation
|
||||
|
||||
Follow the steps in [Theme Documentation - Basics](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#installation).
|
||||
|
||||
```sh
|
||||
git submodule add https://github.com/gokarna-theme/gokarna-hugo.git themes/gokarna
|
||||
```
|
||||
|
||||
## Customization
|
||||
|
||||
For a complete guide on customization, please consult the [basic](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/) and [advanced](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/) documentation.
|
||||
|
||||
Examples include:
|
||||
|
||||
- [Add an avatar](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#avatar-url) and [change its size](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#avatar-size)
|
||||
- [Add text to the footer](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#footer)
|
||||
- [Change how dates are formatted on posts](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#date-format)
|
||||
- [Choose the syntax highlighting color scheme](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#syntax-highlighting)
|
||||
- [Compose navigation menu items](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#basic-configuration)
|
||||
- [Define the site's accent color](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#accent-color)
|
||||
Change the color of hyperlinks, including icons.
|
||||
- [Display recent or popular posts on the home page](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#display-posts-on-the-home-page)
|
||||
- [Inject custom HTML](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#custom-head-html)
|
||||
Use the `<head>` and `<footer>` elements to add arbitrary HTML, JavaScript, and CSS.
|
||||
|
||||
## Translations
|
||||
|
||||
Change [`languageCode`](https://gohugo.io/content-management/multilingual/#configure-languages) to use one of [our translations](https://github.com/gokarna-theme/gokarna-hugo/tree/main/i18n).
|
||||
|
||||
Missing a language? Make Gokarna multilingual by [creating a translation table](https://gohugo.io/functions/lang/translate/#simple-translations).
|
||||
|
||||
## Inspiration
|
||||
|
||||
The theme is inspired by, and accordingly named after, [Gokarna](https://en.wikipedia.org/wiki/Gokarna,_Karnataka), a small and peaceful beach town on the west coast of India.
|
||||
|
||||

|
||||
|
||||
## Performance
|
||||
|
||||
Google Lighthouse score: 100%
|
||||
|
||||

|
||||
|
||||
## LICENSE
|
||||
|
||||
This code is licensed under [GNU GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)
|
||||
Reference in New Issue
Block a user