Skeletons and themes
This is a case study about how to migrate a Drupal 7 website to Grav.
Table of contents
Grav skeletons mentioned in this chapter: Gateway, Project Space.
Introduction
Grav uses the terminology “theme” and “child theme” (Drupal “subtheme”) to talk about themes derived themes.
Grav uses Twig for templates.
Twig
https://learn.getgrav.org/16/themes/twig-primerCreating a child theme
Themes live in /user/themes
.
Skeleton reviews
A Grav skeleton is an all-in-one package containing the core plus a theme, sample pages, plugins, configuration. These are “starter-kits” to quickly create a sample website.
To use, simply download the ZIP file, extract it in your web-root, and you have the sample site available with dummy content. You simply replace the dummy content it with your own to create the website.
Inspect available skeletons at GetGrav.org.
Gateway
- Version:
- 1.3.1 by Team Grav.
- Links:
- Homepage. Demo. Issues. Readme.
- Keywords:
- gateway, theme, core, modern, fast, responsive, html5, css3, blog
- Description:
- Gateway incorporates elegant style with user friendly options making it perfectly suited for a variety of Grav users.
- License:
- GPLv2
It has a bug and do not display months corectly: Discourse.
Project Space
- Version:
- 1.0.3 by Ole Vik.
- Links:
- Homepage. Demo. Issues. Readme.
- Keywords:
- projects, board, responsive
- Description:
- Visualize projects in an organized manner, as notes on a board. Projects can be categorized, color-coded and tagged to be easily identified, and displayed in a variety of ways with filtering and sorting.
- License:
- MIT
The site title is set in user/config/site.yaml
.
The title as it appears on the browser tab is defined in user/page/projects/default.md
Woo
- Version:
- 1.0.1 by Team Grav.
- Links:
- Homepage. Demo. Issues. Readme.
- Keywords:
- x
- Description:
- Woo is a clean, modern, landing page site template by Styleshout. It has a fully responsive design and was tested on all major browser and mobile devices.
- License:
- CC BY 3.0
Final word
[TBA]
Last update: 2020-05-09.