Giter Site home page Giter Site logo

grav-theme-cacti's Introduction

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.

grav-theme-cacti's People

Contributors

flaviocopes avatar hexplor avatar jadb avatar jmkeil avatar melz avatar rhukster avatar ricardo118 avatar shomodj avatar swader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grav-theme-cacti's Issues

After activate theme

Hello,

After install theme and activated, Grav say : You have'nt default.html.twig for this theme.
i created templates/default.html.twig with this code.

{% extends 'partials/base.html.twig' %}

{% block content %}
    {{ page.content }}
{% endblock %}

enjoy

Disqus comments.

For some reason the disqus comments twig file is empty despite it being listed as a feature.

Q about css wrapper width

Is it possible to make the with default to 800px, that leaves us with 720px of usable space in the content width.

520px is just crazy small.

Or better if somehow we can make it configurable?

How to change footer 'your company'

Hi,
I was able to customize everything except two things, the footer where it says 'Your Company' and 'Blogging about stuff'
I appreciate if you can direct me to the path where I can edit these. Thanks.

Infinite scroll not working

Hi!
I updated Cacti to version 1.4.1, but the infinite scroll is not working anymore. I have Pagination v1.4.2 and Grav v1.7.0.
Thanks in advance for your help!

Collapsible navbar on mobile?

Any intention to have this theme support a collapsible navbar on mobile? As of now, it looks quite awkward, with navigation items on top of each other, a situation that is particularly acute in multilanguage environments.

Image in demo...

Visited this demo using an Android Nexus 5 phone running the Android M Preview Release 1. The link in the tweet took me to the site, but the image on the demo site did not display. Could be OS, my version of Chrome or a bug in the demo site (or something else).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.