view docs/config.yml @ 1153:a9a592f655e3

config: Add setting for enabling baking or serving posts in the future.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 19 Jan 2019 17:41:30 -0800
parents 40228511d600
children
line wrap: on
line source

# Basic stuff.
site:
    title: PieCrust
    author: Ludovic Chabant
    tagline: Freshly baked sites & documents since 2006
    description: A static website generator and flat-file CMS
    pretty_urls: true
    sources:
        docs:
            type: ordered
            data_endpoint: site.docs
            default_layout: doc
        api:
            type: ordered
            data_endpoint: site.api
            default_layout: api
    routes:
        -
            url: /docs/%slug%
            source: docs
            func: docurl
        -
            url: /api/%slug%
            source: api
            func: apiurl

chef:
    env:
        PATH: node_modules/.bin

baker:
    assets_dirs:
        assets:
            # Ignore stuff that will get concatenated into the main JS file.
            ignore: js/piecrust

# This is 2015, come on Markdown.
markdown:
    extensions: abbr, fenced_code, footnotes, smart_strong, codehilite, smarty
    extension_configs:
        codehilite:
            css_class: highlight
            guess_lang: false

# Need Bootstrap.
sass:
    load_paths:
        - ../node_modules/bootstrap/scss