Giter Site home page Giter Site logo

marcodpt / zolastrap Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 7.0 2.76 MB

A bootstrap theme for zola

Home Page: https://marcodpt.github.io/zolastrap/

License: MIT License

HTML 75.37% JavaScript 24.63%
zola zola-theme ssg bootstrap bootstrap5 bootswatch bootswatch-theme

zolastrap's Introduction

zolastrap

A bootstrap theme for zola

Live Demo

config.toml [extra] variables

banner

  • type: string
  • default: ""

Path of a banner image, use empty string for no banner

date_format

  • type: string
  • default: "%d/%m/%Y"

date format expression

theme

  • type: string
  • default: "default"

one of the Bootswatch themes

bg

  • type: string
  • default: "dark"

one of the available backgrounds in Bootstrap5 for navbar and footer

inverted

  • type: boolean
  • default: false

Invert font for navbar and footer in case default choice is bad

themes

  • type: string
  • default: "Choose a Theme"

Navbar label for themes dropdown.

This dropdown will allow user to change Bootswatch theme.

Use empty string in case you do not want the user choose a theme.

schemes

  • type: string
  • default: "Choose a Color Scheme"

Navbar label for schemes dropdown.

This dropdown will allow user to change footer and navbar background color.

Use empty string in case you do not want the user choose a theme.

search

  • type: string
  • default: "Search"

Placeholder for navbar search input.

Remember that to enable and disable search you should set variable build_search_index.

tag

  • type: string
  • default: "Posts by Topic"

Taxonomy tag single label. Useful for translations.

tags

  • type: string
  • default: "Posts by Topics"

Taxonomy tag list label. Useful for translations. You can have a nice tag list at the bottom of a page using extra.tags = true in the _index.md

links

  • type: array
  • default: []

Navbar links. Use an empty array to ignore this.

Items (object):

  • title (String): label of the navbar link
  • url (String): href of associate link

email

  • type: string
  • default: ""

Footer email. Use an empty string to ignore this.

icons

  • type: array
  • default: []

Footer social icons. Use an empty array to ignore this.

Items (object):

  • title (string): Optional title string for icon
  • icon (string): One of
  • url (string): href of the icon

utterances

  • type: string
  • default: ""

utterances repo url.

Use an empty string to ignore utterances widget.

utterances_label

  • type: string
  • default: "Comments"

utterances widget label.

utterances_theme

  • type: string
  • default: "github-light"

utterances widget theme.

utterances_issue_term

  • type: string
  • default: "pathname"

utterances widget pathname.

Contributing

Any help is greatly appreciated!

zolastrap's People

Contributors

marcodpt avatar

Stargazers

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

Watchers

 avatar  avatar

zolastrap's Issues

Variable `paginator.pages` not found in context while rendering 'index.html'

New project, theme cloned to the themes dir and set in config.

>zola serve
Building site...
Checking all internal links with anchors.
> Successfully checked 0 internal link(s) with anchors.
-> Creating 0 pages (0 orphan) and 0 sections
Error: Failed to render section 'D:\Workspaces\StPauls\stpauls-www\content\_index.md'
Reason: Failed to render 'index.html'
Reason: Variable `paginator.pages` not found in context while rendering 'index.html'

zola 0.15.3

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.