Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (63 sloc) 3.39 KB

Blog 0.8.4

Blog for your website. See demo.

Screenshot

How to install extension

  1. Download and install Datenstrom Yellow.
  2. Download extension. If you are using Safari, right click and select 'Download file as'.
  3. Copy blog.zip into your system/extensions folder.

To uninstall delete the extension files.

How to use a blog

The blog is available on your website as http://website/blog/. To show the blog on the home page, go to your content folder and delete the 1-home folder. To create a new blog page, add a new file to the blog folder. Set Published and other settings at the top of a page. Use Tag to group similar pages together. You can use [--more--] to add a page break at the desired spot. Learn more.

How to show blog information

You can use shortcuts to show information about the blog:

[blogauthors] for a list of authors
[blogtags] for a list of tags
[blogarchive] for a list of months
[blogrelated] for a list of pages, related to the current page
[blogpages] for a list of pages, alphabetic order
[blogchanges] for a list of pages, published order

The following arguments are available, all but the first argument are optional:

Location = blog location
PagesMax = number of pages to show per shortcut, 0 for unlimited
Author = show pages by a specific author, [blogpages] or [blogchanges] only
Tag = show pages with a specific tag, [blogpages] or [blogchanges] only

Settings

The following settings can be configured in file system/settings/system.ini:

BlogLocation = blog location
BlogNewLocation = blog location for new page
BlogPagesMax = number of pages to show per shortcut
BlogPaginationLimit = number of entries to show per page

The following files can be configured:

content/shared/page-new-blog.md = content file for new blog page
system/layouts/blogpages.html = layout file for main blog page
system/layouts/blog.html = layout file for individual blog page

Examples

Content file with blog page:

---
Title: Blog example
Published: 2013-04-07
Author: Datenstrom
Layout: blog
Tag: Example
---
This is an example blog page.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut 
labore et dolore magna pizza. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris 
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt 
in culpa qui officia deserunt mollit anim id est laborum.

Showing latest blog pages:

[blogchanges /blog/]
[blogchanges /blog/ 3]
[blogchanges /blog/ 10]

Showing list of tags:

[blogtags /blog/]
[blogtags /blog/ 3]
[blogtags /blog/ 10]

Showing list of pages:

[blogpages /blog/]
[blogpages /blog/ 3]
[blogpages /blog/ 10 - example]

Developer

Datenstrom. Get support.

You can’t perform that action at this time.