Permalink
Browse files

Added .dist versions of the config files.

  • Loading branch information...
bobdenotter committed Oct 14, 2012
1 parent 1023c91 commit 718cbcb49b0714496c5edb94b3c73d04aa74b2ac
Showing with 221 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +67 −0 app/config/config.dist
  3. +105 −0 app/config/contenttypes.dist
  4. +26 −0 app/config/menu.dist
  5. +22 −0 app/config/taxonomy.dist
View
@@ -1,4 +1,5 @@
app/cache/*
+app/config/*.yml
app/database/*.db
files/*
vendor/
View
@@ -0,0 +1,67 @@
+# Database setup. The driver can be either sqlite, mysql or postgres. For
+# SQLite, only the databasename is required, while MySQL and PostgreSQL also
+# require username, password and perhaps a hostname.
+# If you're trying out Bolt, just keep it set to SQLite for now.
+database:
+ driver: sqlite
+ databasename: bolt
+
+# The name of the website
+sitename: A sample Bolt site.
+
+# If your site is reachable under different urls (say, both blog.example.org/
+# as well as example.org/), it's a good idea to set one of these as the canonical,
+# so it's clear which is the primary address of the site. Don't include the
+# http:// protocol prefix.
+canonical: example.org
+
+# The default content to use for the homepage, and the template to render it with.
+homepage: page/1
+homepage_template: index.twig
+
+# The theme to use. Be sure to copy the theme/default folder, and change the
+# name here accordingly. Don't edit the templates in theme/default, because
+# they _will_ get updated in next releases
+theme: default
+
+# The list of enabled extensions.
+# TestSnippets, GoogleAnalytics
+enabled_extensions: [ HelloWorld, FacebookLike, TwitterButton, FacebookComments, Disqus ]
+
+# The default amount of records to show on overview pages. Can be overridden
+# for each contenttype.
+recordsperpage: 10
+
+# The default template and amount of records to use for listing-pages on the site.
+# Can be overridden for each contenttype.
+listing_template: listing.twig
+listing_records: 6
+
+# The default template and amount of records to use for listing-pages on the site.
+# Can be overridden for each contenttype, and for each record, if it has a
+# 'templateselect' field.
+record_template: record.twig
+
+# Show the 'debug' nu in the lower right corner for logged-in user.
+debug: true
+developer_notices: false
+
+# By default, the debugbar is only shown to logged-in users. Use the following
+# option to show it to all users. You probably do not want to use this in a
+# production environment
+debug_show_loggedoff: false
+
+# Use strict variables. This will make Bolt complain if you use {{ foo }},
+# when foo doesn't exist.
+strict_variables: false
+
+# There are several options for giving editors more options to insert images, video,
+# etc in the Wysiwyg areas. But, as you give them more options, that means they also have
+# more ways of breaking the preciously designed layout. By default the most 'dangerous'
+# options are set to 'false'. If you choose to enable them for your editors, please
+# instruct them thoroughly on their responsibilty not to break the layout.
+wysiwyg_images: false
+wysiwyg_tables: false
+wysiwyg_embed: false
+wysiwyg_fontcolor: false
+wysiwyg_align: false
@@ -0,0 +1,105 @@
+# This file defines the contenttypes on the website. See the documentation for
+# details: http://docs.bolt.cm/content#defining-contenttypes
+
+entries:
+ name: Entries
+ singular_name: Entry
+ fields:
+ title:
+ type: text
+ class: large
+ slug:
+ type: slug
+ uses: title
+ image:
+ type: image
+ teaser:
+ type: html
+ height: 150px
+ video:
+ type: video
+ body:
+ type: html
+ height: 300px
+ taxonomy: [ categories, tags ]
+ record_template: entry.twig
+ listing_template: listing.twig
+ listing_records: 10
+ sort: datecreated DESC
+ recordsperpage: 7
+
+
+pages:
+ name: Pages
+ singular_name: Page
+ fields:
+ title:
+ type: text
+ class: large
+ slug:
+ type: slug
+ uses: title
+ image:
+ type: image
+ introduction:
+ type: html
+ height: 150px
+ body:
+ type: html
+ height: 300px
+ template:
+ type: templateselect
+ filter: '*.twig'
+ taxonomy: [ chapters ]
+ sort: title
+ recordsperpage: 100
+
+kitchensink:
+ name: Kitchensinks
+ singular_name: Kitchensink
+ fields:
+ title:
+ type: text
+ class: large
+ slug:
+ type: slug
+ uses: title
+ markdown:
+ type: markdown
+ textarea:
+ type: textarea
+ video:
+ type: video
+ html:
+ type: html
+ height: 150px
+ geolocation:
+ type: geolocation
+ image:
+ type: image
+ file:
+ type: file
+ template:
+ type: templateselect
+ filter: '*.twig'
+ datetime:
+ type: datetime
+ date:
+ type: date
+ taxonomy: [ categories, tags, chapters ]
+ sort: title
+ recordsperpage: 8
+
+
+# possible field types:
+# text - varchar(256) - input type text
+# number - double - input type text, useful for storing number that need to be sortable
+# templateselect - varchar(256) - select with template filenames
+# image - varchar(256) - image select/upload widget, stored as filename
+# file - varchar(256) - file select/upload widget, stored as filename
+# video - varchar(256) - Video embed widget, stored as filename
+# html - text (65kb) - wysiwyg element
+# textarea - varchar(32768) - < textarea >
+# datetime - datetime - date and time selector widget
+# date - datetime - date selector widget
+# divider - simple divider to enter a short text and/or line in the edit page.
View
@@ -0,0 +1,26 @@
+# This file defines the menus on the website. See the documentation for
+# details: http://docs.bolt.cm/menus
+# TODO: Write documentation for menus. ;-)
+
+main:
+ - label: Home
+ title: This is the first menu item. Fo shizzle!
+ path: homepage
+ class: first
+ - path: entry/1
+ label: Second item
+ submenu:
+ - label: Sub 1
+ path: entry/2
+ - label: Sub 2
+ class: okidoki
+ path: entry/3
+ - label: Sub 3
+ path: entry/4
+ - class: sub-class
+ path: page/3
+ - label: Menu item 3
+ path: page/4
+ - label: Last menu item
+ link: http://google.nl
+ class: last
View
@@ -0,0 +1,22 @@
+# This file defines the different types of taxonomies in Bolt. This will be
+# further developed and documented, as we get closer to version 1.0.
+
+tags:
+ slug: tags
+ singular_slug: tag
+ behaves_like: tags
+
+chapters:
+ slug: chapters
+ singular_slug: chapter
+ behaves_like: grouping
+ options: [ main, meta, other ]
+
+categories:
+ name: Categories
+ slug: categories
+ singular_name: Category
+ singular_slug: category
+ behaves_like: categories
+ multiple: 1
+ options: [ news, events, movies, music, books, life, love, fun ]

0 comments on commit 718cbcb

Please sign in to comment.