geschke / grav-theme-tikva

Tikva is a minimalistic Grav theme, based on Bootstrap 4 framework.
MIT License
1 stars 0 forks source link

Tikva

Tikva

The Tikva Theme is for Grav CMS. Tikva is a minimalistic Grav theme, based on Bootstrap 4 framework.

Installation

Installing the Tikva theme can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the theme with a simple terminal command, while the manual method enables you to do so via a zip file.

The theme is designed to be used to provide a documentation site. You can see this in action at

GPM Installation (Preferred)

The simplest way to install this theme is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:

bin/gpm install Tikva

This will install the Tikva theme into your /user/themes directory within Grav. Its files can be found under /your/site/grav/user/themes/tikva.

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 tikva. You can find these files either on GitHub or via GetGrav.org.

You should now have all the theme files under

/your/site/grav/user/themes/tikva

NOTE: This theme is a modular component for Grav which requires the Grav, Error and Problems plugins.

Updating

As development for the Tikva theme continues, new versions may become available that add additional features and functionality, improve compatibility with newer Grav releases, and generally provide a better user experience. Updating Tikva is easy, and can be done through Grav's GPM system, as well as manually.

GPM Update (Preferred)

The simplest way to update this theme is via the Grav Package Manager (GPM). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:

bin/gpm update tikva

This command will check your Grav install to see if your Tikva theme is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type y and hit enter. The theme will automatically update and clear Grav's cache.

Manual Update

Manually updating Tikva is pretty simple. Here is what you will need to do to get this done:

Note: Any changes you have made to any of the files listed under this directory will also be removed and replaced by the new set. Any files located elsewhere (for example a YAML settings file placed in user/config/themes) will remain intact.

Features

Setup

If you want to set Tikva as the default theme, you can do so by following these steps:

Once this is done, you should be able to see the new theme on the frontend. Keep in mind any customizations made to the previous theme will not be reflected as all of the theme and templating information is now being pulled from the tikva folder.

Configuration options

You can reach all configuration options in the admin interface, so it's recommended to use it. Since version 0.1.1 the configuration options are splitted into tabs. You'll find the global or general options in the first tab, the footer and sub-footer options in the second tab and the Social Media settings beside it.

Footer support

Most websites need a special area at the bottom with common contents - the footer. The Tikva theme supports this in a flexible, but simple manner. In the admin interface (or by the option "footer.columns") you can set the number of columns the footer should have. Due to Bootstrap's grid system you can choose between 1, 2, 3, 4 or 6 columns.

Every column is represented by a special page, so the content can be edited with the usual interfaces (or with the help of a text/markdown editor).

The simplest way to create the footer is to use the admin user interface.

At first, create a folder named "footer" in the page area.

The name is important, so please use the folder name "footer". This folder must not be publish, so please switch the "published" option to "no" and save the page.

At last, create the content area pages.

As parent page use the previously created "footer" folder. The page template should be "footer". After finished you can edit the footer sections in the same manner as you edit pages.

General Options

Tikva offers 25 themes! Most of them originate in Bootswatch by Thomas Park. But you can also customize header and footer settings by the following options.

Both image files have to be stored in a folder in user/pages/images/:

Footer Options

Subfooter Options

Social Media Settings

Options

In the first Social Media tab you can set generic options:

Social Media Buttons

In the second tab you can add preconfigured and custom Social Media sites.

For Facebook, LinkedIn etc. just add your profile URL.

For custom sites, you have to add the site name, Font Awesome Icon and the page URL. You can add as many buttons as you want.

Slider

Tikva supports an image slider, which is a component of Bootstrap framework. The slider is fully configurable by the admin plugin, so it's strong recommended to use it. In the first tab you will find the generic options to configure the slider. You can switch in on or off and choose the place where the slider will be displayed.

Usage: The slider is embeddable in every page. To enable the slider view, please choose the page template "Default with slider". You can switch the slider on and off in the slider options, but without choosing the right page template, it will never be displayed.

Options

Items

The slider items (images) are stored in a list, so you can add as many as you want. The itemss can be configured by the following fields:

Thanks