Skip to content
Single column theme for Bolt CMS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

gurzr Theme for Bolt CMS

gurzr is a single-column theme for the Bolt CMS.
It's build with help of many other great projects:

screenshot 2018-12-04 at 23 44 34

Static Demo

A static demo of the theme can be found here.


Please make sure strict_variables: false is set/uncommented in your config.yml if you get Twig Exceptions.


The main menu is used for the sidebar, you can adjust it in the config://menu.yml file.

A menu.yml can look like this:

    - label: Home
      title: Welcome page
      path: homepage
      class: first
    - label: Posts
      path: posts
    - label: Entries
      path: entries
    - label: Search
      path: search

Custom Favicon

Just add a favicon.png with at least size of 180px*180px at the top level of your files-folder and it will be used as favicon as well as apple-touch-icon, otherwise the themes default favicon will be used.

Custom CSS

You can upload your own CSS-file to change some small things. The file has to be named custom.css and be placed in the top level of your files-directory.

An example use of the custom.css is to change or add the prefix of taxonomy-links in the header-section of record-pages. By default tags will be prefixed with a hash #, categories will be prefixed with an @.
Each taxonomy-link is being supplemented by its taxonomy-name as class name, so to change the prefix of all tags to ♥ you could add the following to your custom.css:

#header .taxonomies a.tags::before{
	content: '' !important;


gurzr supports galleries - to use them just add a field gallery with type: imagelist to your ContentType.
PhotoSwipe is used as light-box for the gallery images.

Captions can be shown optionally, to manage this behavior add a field show_gallery_captions with type: checkbox to your ContentType.

If you want the first image of your gallery to be shown bigger (full width) add a field show_gallery_first_entry_big with type: checkbox to your ContentType.

GPX tracks

If you regularly publish gpx tracks with your posts, you can add a field gpx with type: file to your ContentType. You also have to extend accept_file_types in config.yml to accept gpx-files in order to be able to upload your tracks. If a nonempty field gpx is found in your record a map is drawn right below the content (and above a gallery, if there is one).

The map is created using leaflet and leaflet-gpx and uses maptiles from the Open Street Map Project, some symbols from Font Awesome are used in the footer to indicate distance, duration and elevations of your track.

Optional publishing of date and taxonomies

You can define for which ContentTypes the publishing date will be hidden by adding hide_publish_date: true to your ContentTypes values in config://contenttypes.yml. Typically you don't want to show the publishdate for pages.

Display of taxonomies can also be controlled via ContentType definition. If you don't want taxonomy tags to be shown, just add hidden_taxonomy: [ tags ] to your ContentType definition. Hereby it is possible to use some taxonomies internally but not showing them to your visitors.

The publish_date rule applies for listings and the records-page, hidden_taxonomies is applied only to the record page, as we do not show taxonomies in listings.


You can define a markdown subtitle-field in your ContentType, this subtitle will be rendered centered right below the title, above date and taxonomies (if they are published, see above).

Latest posts template

You can use the template latest.twig (see Bolt Docs) to include lists of the last three entries of each of your ContentTypes. Please note that ContentTypes with hide_in_listings: true will not appear in the list of the latest entries (see below). Also viewless must not be set to true.
The lists will be shown below the normal content (title, body/content) of the record whose template is set to latest.twig.

Archive template

Similar to the latest template (see above) there also exists an archive.twig template which can be used to list all records of all ContentTypes. Again note that ContentTypes with hide_in_listings: true will not appear in the list and viewless must not be set to true.

Prevent listing

You can prevent showing of records of a certain ContentTypes in listings and in in the latest template and archive template (see above) by adding hide_in_listings: true to this ContentType.
This can be useful for ContentTypes that should not be listable (e.g. pages) but should despite this be showable (if you know the slug/url). Unfortunately there seems to be no build-in parameter to forbid listings for a certain ContentType.

Maintenance text

To set an individual title and content of your Maintenance-Site, just create block/maintenance (it has to have exactly this slug) and set title and content there.
In your config.yml set maintenance_template: maintenance_default.twig (this should already be set by default).

Password Protection Extension

The theme supports the PasswordProtect extension by Bob den Otter.
To use it, just add the following new field to the fields of the ContentType you want to protect:

            type: checkbox
            default: false
            label: 'Use the password protection provided by the PasswordProtect extension'
            variant: inline

Now you are able to decide which records you want to password protect.

Please note you have to provide a redirect page in the configuration of the extension.
You have to create this page on your own, but you can use the login.twig template provided by of this theme.
Also the extension allows to define a custom form, we provide such a form by passwordform.twig and it should be applied without any customization in the extensions config.yml.

Password protected records are emphasized by a lock symbol in listings and the record-page itself.

Code highlighting

Code blocks are highlighted using highlight.js, the theme used for highlighting can be defined in your config.yml via the parameter highlight_theme (use only lowercase, eg: highlight_theme: dracula), see the highlight.js demo page for previews of the different themes.

Copyright notice

If you regularly use content which needs a copyright notice, just add a field copyright with type: html or type:markdown to your ContentType. The notice will be added below your content, and below the gallery (if there is one).

Example ContentType definition

An example ContentType-definition in your contenttypes.yml could be something like:

    name: Pages
    singular_name: Page
            type: text
            class: large
            group: content
            type: slug
            uses: title
            type: markdown
            height: 100px
            group: content
            type: image
            type: markdown
            height: 150px
            type: html
            height: 300px
            type: templateselect
            filter: '*.twig'
    taxonomy: [ groups ]
    hidden_taxonomy: [ groups ]
    hide_publish_date: true
    viewless: false
    searchable: false
    recordsperpage: 10
    hide_publish_date: true
    hide_in_listings: true

    name: Posts
    singular_name: Post
    slug: posts
    singular_slug: post
            type: text
            class: large
            group: content
            type: slug
            uses: title
            type: markdown
            height: 300px
            type: image
            group: content
            type: checkbox
            default: false
            label: "Shall the teaserimage be shown above the content?"
            group: content
            type: checkbox
            default: false
            label: 'Use the password protection provided by the PasswordProtect extension'
            variant: inline

            type: imagelist
            extensions: [ gif, jpg, png ]
            group: content
            type: checkbox
            default: false
            label: 'Show captions for gallery'
            variant: inline
            type: checkbox
            default: false
            label: 'Shall the first gallery image be shown bigger'
            variant: inline

            type: markdown
            group: content

            type: file
            extensions: [ gpx ]
            group: content
            label: 'GPX track related to the post'
            multiple: true
            order: title
            label: Select related other posts
    taxonomy: [ groups, categories, tags ]
    hidden_taxonomy: [ groups ]
    default_status: published
    sort: -datepublish
    recordsperpage: 5


  • support fa-icons in menu
  • add image to readme
  • provide example contenttype-definition
  • fix active-class in menu for pagination-pages of listings and search results


Open sourced under the MIT license.


You can’t perform that action at this time.