meaz
14264695a8
Creates a banner on translated page as requested in Disroot/Disroot-Project#147 To used a banner, you simply need to modify `modular.en.md` in the website repo, so for example `pages/05.community/modular.en.md` and add: ``` translation_banner: set: true last_modified: December 2021 language: German ``` `Set`: you can disable it, for example on English page. `last_modified`: pretty obvious... `language`: set the language of the banner text, so here the German version would appear. See attached preview What has to be done: - [ ] Agree on text - [ ] Agree on design / colors - [ ] Translate agreed text While I was working on this, I also found some not related errors that I corrected. Co-authored-by: meaz <meaz@disroot.org> Reviewed-on: Disroot/grav-theme-disroot#55 Reviewed-by: antilopa <antilopa@no-reply@disroot.org> |
||
---|---|---|
assets | ||
blueprints/modular | ||
css | ||
images | ||
templates | ||
blueprints.yaml | ||
CHANGELOG.md | ||
disroot.php | ||
disroot.yaml | ||
grav-theme-disroot | ||
languages.yaml | ||
LICENSE | ||
README.md | ||
screenshot.jpg | ||
thumbnail.jpg |
Disroot Fresh Theme
The Disroot Theme is for Grav CMS. This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
Description
The Disroot theme was created for disroot.org website.
Features:
- HTML5 and CSS3
- No JavaScript
- Fully Responsive
- Clean and modern design
- Fontawesome icon font
- Local custom web fonts
- Cross browser compatible
Installation
As for now the disroot theme is not released via GPM and only manual install is possible.
Manual Installation
To install this theme, just download the zip version of this repository and unzip it under /your/site/grav/user/themes. Then, rename the folder to disroot.
You should now have all the theme files under
/your/site/grav/user/themes/disroot
Tweaking the theme when using vagrant
When you use the Website vagrant deployment and work on the Theme templates, you sometimes have to clear the cache in order to see your change on the website. The simplest way to do this is by going to the root Grav directory in Terminal and typing bin/grav clearcache.