Grav Cacti Theme
Switch branches/tags
Clone or download
MATsxm and flaviocopes Language reordering + 🇫🇷 fixes (#17)
* Reordering of the Languages (first the `en` source then alphabetical order)
* 🇫🇷 fixes.
note that in french, months & days MUST be lowercases
Thanks
Latest commit 376bed6 Aug 8, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_demo/pages more updates Jul 14, 2015
assets more updates Jul 14, 2015
css Fix code highlighting support (#15) Apr 19, 2016
fonts initial commit Jul 14, 2015
images initial commit Jul 14, 2015
js initial commit Jul 14, 2015
templates Update base.html.twig (#16) Aug 5, 2016
CHANGELOG.md Prepare release Jul 14, 2016
LICENSE initial commit Jul 14, 2015
README.md Update README.md Apr 19, 2016
blueprints.yaml Prepare release Jul 14, 2016
cacti.yaml Fix language in html tag. Drop default_lang config option Mar 30, 2016
languages.yaml Language reordering + 🇫🇷 fixes (#17) Aug 8, 2016
screenshot.jpg more updates Jul 14, 2015
thumbnail.jpg more updates Jul 14, 2015

README.md

Cacti

Cacti

Cacti is a lightweight blogging theme based on the Cactus static generator theme and the Kactus Jekyll theme.

Features

  • Lightweight and minimal for optimal performance
  • Infinite loading of blog posts utilizing the pagination plugin.
  • Multi-Language Compatible!
  • Included languages:
    • English
    • Spanish
    • Czech
    • German
    • Italian
    • Finnish
    • French
    • Dutch
    • Polish
    • Portuguese
    • Romanian
    • Russian
  • Super clean and modern design
  • Twitter and Facebook integration
  • Support for Disqus comments
  • Google Analytics built-in

Cacti

Installation

Installing the Cacti 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 by itself is useful, but you may have an easier time getting up and running by installing a skeleton. The Cacti theme is used in the Multi-Language Skeleton, which is a read-to-run site including: sample content, configuration, theme, and plugins.

GPM Installation

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 cacti

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

GPM Update

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 cacti

This command will check your Grav install to see if your Cacti 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.

Setup

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

  • Navigate to /your/site/grav/user/config.
  • Open the system.yaml file.
  • Change the theme: setting to theme: cacti.
  • Save your changes.
  • Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in Terminal and typing bin/grav clear-cache.

Configuration

The Cacti theme has a few simple options that help you configure the theme (cacti.yaml):

enabled: true
author: Wilberforce Humphries
title_header: false
home_profile: true
infinite_scroll: true
analytics: UA-YOURCODE
social:
    twitter: @getgrav
    facebook: rockettheme

In order to configure Cacti, you should copy the theme's cacti.yaml file into a file of your own: user/config/themes/cacti.yaml and make your modifications there.

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 cacti folder.

Enable Disqus

To enable comments with Disqus, add disqus_shortname: YOUR_DISQUS_HANDLE to the user/config/site.yaml file.