How to make a blog

Screenshot
Learn how to make your own blog. See demo.

Install blog

  1. Download and unzip Datenstrom Yellow.
  2. Copy all files to your web hosting.
  3. Open your website in a web browser and select 'Blog'.

Your blog is immediately available. The installation comes with several pages, 'Home', 'Blog' and 'About'. This is just an example to get you started, change everything as you like. You can delete 'Home', if you want to show the blog on the home page.

When there are problems, please check the server configuration or ask the support.

Writing blog pages

Have a look inside your content folder, there's the blog folder with all your blog pages. Open the file 2013-04-07-blog-example.txt. You'll see settings and text of the page. You can change Title and other settings at the top of a page. Here's an example:

---
Title: Blog example
Published: 2013-04-07
Author: Datenstrom
Template: 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. 

To create a new blog page, add a new file to the blog folder. Set Published and more settings at the top of a page. Dates should be written in the format YYYY-MM-DD. The publishing date will be used to sort blog pages. You can use Tag to group similar pages together. Here's another example:

---
Title: Fika is good for you
Published: 2013-06-01
Author: Datenstrom
Template: blog
Tag: Example, Coffee
---
Fika is a Swedish custom. It's a social coffee break where people 
gather to have a cup of coffee or tea together. You can have fika with 
colleagues at work. You can invite your friends to fika. Fika is such 
an important part of life in Sweden that it is both a verb and a noun. 
How often do you fika?

Now let's add a video with the Youtube plugin:

---
Title: Fika is good for you
Published: 2013-06-01
Author: Datenstrom
Template: blog
Tag: Example, Coffee, Video
---
Fika is a Swedish custom. It's a social coffee break where people 
gather to have a cup of coffee or tea together. You can have fika with 
colleagues at work. You can invite your friends to fika. Fika is such 
an important part of life in Sweden that it is both a verb and a noun. 
How often do you fika?

[youtube aS52d3hcHfs]

Let's show the video when a visitor clicks on the blog page. You can add [--more--] where your want the page break:

---
Title: Fika is good for you
Published: 2013-06-01
Author: Datenstrom
Template: blog
Tag: Example, Coffee, Video
---
Fika is a Swedish custom. It's a social coffee break where people 
gather to have a cup of coffee or tea together. You can have fika with 
colleagues at work. You can invite your friends to fika. Fika is such 
an important part of life in Sweden that it is both a verb and a noun. 
How often do you fika? [--more--]

[youtube aS52d3hcHfs]

You can use Markdown to edit blog pages.

Showing a sidebar

To show a sidebar add the file sidebar.txt to your blog folder. The sidebar will be shown on all pages in the same folder. You can decide if you like to have a sidebar or not. Here's an example sidebar:

---
Title: Sidebar
Status: hidden
---
Links

* [Twitter](https://twitter.com/datenstromse)
* [GitHub](https://github.com/datenstrom)
* [Instagram](https://instagram.com/datenstromse)

You can use shortcuts to show information about the blog:

---
Title: Sidebar
Status: hidden
---
Recent

[blogrecent /blog/ 5]

Tags

[blogtags /blog/ 5]

Here is the same sidebar, if the blog is located on the home page:

---
Title: Sidebar
Status: hidden
---
Recent

[blogrecent / 5]

Tags

[blogtags / 5]

More features

Next: How to make a wiki →