Grav Deliver Theme
Go to file
Navas 17bb11854e - Several modifications of template files for Libretic's web site
- Addition of prerequisites files for scss modifications
- Update of Fontawesome font
- Update of NovecentoSans font for latin characters
- Integration of Pacifico font in the theme instead of dynamically downloading from some google web site
- Removal of some unuseful font files
2022-05-14 19:43:00 +02:00
assets Ready update 2015-01-30 14:18:11 +01:00
blueprints Fix #5 Blueprints for admin and other fixes 2015-10-09 10:52:00 +02:00
css - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
css-compiled - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
fonts - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
images - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
js Add an option to have a sticky menu 2016-12-08 20:35:13 +01:00
scss - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
templates - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
webfonts - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
.gitignore - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
CHANGELOG.md Fixed missing `|raw` filters in `simplesearch_base.html.twig` [#39] 2021-12-20 08:44:39 +02:00
LICENSE Initial commit 2015-01-15 18:45:51 +01:00
README.md - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
blueprints.yaml - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
deliver.php Initial Commit 2015-01-15 19:15:54 +01:00
deliver.yaml Add an option to have a sticky menu 2016-12-08 20:35:13 +01:00
gulpfile.js - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
package.json - Several modifications of template files for Libretic's web site 2022-05-14 19:43:00 +02:00
screenshot.jpg Initial Commit 2015-01-15 19:15:54 +01:00
scss.sh Initial Commit 2015-01-15 19:15:54 +01:00
thumbnail.jpg Initial Commit 2015-01-15 19:15:54 +01:00

README.md

Libretic's Deliver Theme for Grav

Deliver

This is a customization, made for Libretic Website, of the Deliver theme which is a port of the Deliver by Michael Reimer.

Installation / Update

  • Delete the your/site/user/themes/deliver directory.
  • Download the new version of the Libretic theme from our GIT repository
  • Unzip the zip file in your/site/user/themes and rename the resulting folder to deliver.
  • 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.

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.

Setup

To set this theme as the default theme, follow these steps:

  • Navigate to /your/site/grav/user/config.
  • Open the system.yaml file.
  • Change the theme: setting to theme: deliver.
  • 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.

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

SCSS modifications and compilation of css

Tested on debian 10 :

apt install nodejs nmp
git clone https://git.libretic.fr/libretic/grav-theme-libretic.git
cd grav-theme-libretic
npm install    # install dependancies
    
[ modifications of scss here ]
    
npm run build  # build css-compiled
    
[git commit and push, then "setup" again in grav site]