Grav theme using swiss style guide for the landing page of the Federal Office for civil Protection FOCP. 🇨🇭 | Read-only mirror of https://github.com/ZEM-Mediamatiker/grav-babs-theme — Schweizer Armee. Issues & pull requests at the source.
  • Twig 86.7%
  • CSS 12.8%
  • PHP 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zemmediamatiker da0acc64a4 search button fix
fixed search icon on mobile
2017-04-28 10:41:48 +02:00
assets search button fix 2017-04-28 10:41:48 +02:00
templates search button fix 2017-04-28 10:41:48 +02:00
blueprints.yaml search button fix 2017-04-28 10:41:48 +02:00
CHANGELOG.md search button fix 2017-04-28 10:41:48 +02:00
grav-babs-theme.php initial commit 2017-04-12 10:42:44 +02:00
grav-babs-theme.yaml initial commit 2017-04-12 10:42:44 +02:00
languages.yaml mobile navigation update 2017-04-27 14:10:09 +02:00
LICENSE initial commit 2017-04-12 10:42:44 +02:00
README.md search button fix 2017-04-28 10:41:48 +02:00
screenshot.jpg initial commit 2017-04-12 10:42:44 +02:00
thumbnail.jpg initial commit 2017-04-12 10:42:44 +02:00

Grav BABS theme

Version: 1.0.3 (28.04.2017 - see changelog for details)


Grav theme using swiss style guide for the landing page of the Federal Office for civil Protection FOCP.

! Important: If you have another swiss styleguide Grav theme activated on your site, it may be necessary to edit the theme name manually in system.yaml (see instruction below)

Installation

Installation (using Grav Admin)

Simply copy the grav-babs-theme folder in to your Grav user/themes folder and activate it via Grav admin plugin.

Installation (not using Grav Admin)

  1. Copy the grav-babs-theme folder to your Grav user/themes folder.
  2. Open your user/config/system.yaml and add grav-babs-theme to the following entry:
pages:
  theme: grav-babs-theme

That`s it.

Add search functionality

In order to make the search field working, you need to install the Grav Simple Search plugin. Define a category in which the plugin searches and add this category to all your pages that should be searchable.

Issues

Found an issue? Report it using the issues on this repo. Thanks for your contibution.