File: blog.md

package info (click to toggle)
staticsite 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,648 kB
  • sloc: javascript: 33,722; python: 9,851; makefile: 46; sh: 4
file content (48 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# A new blog in under one minute

Create a new blog in few simple steps:

## Step 1: create `index.md`:

~~~~{.md}
```yaml
site_url: https://www.example.org
template: blog.html
syndication: yes
pages: "*"
```

# My new blog

Welcome to my new blog.
~~~~

## Step 2: run `ssite show`

A browser will open with a preview of your blog.


## Step 3: add posts

Create `new_post.md` and type something into it: as soon as you save it,
it will automatically appear in your blog.

Throw in a `new_post.jpg` to add an image to your new blog post.


## Step 4: publish your site

Run `ssite build -o built_site`

The contents of `built_site` are ready to be published by any web server.


## Next steps

* [See more tutorials](README.md)
* [Add an about page](../howto/about-page.md)
* [Group blog posts in a directory](../howto/blog-posts-in-a-directory.md)
* [Tag site pages](../howto/tag-pages.md)
* [Post series](../howto/post-series.md)
* [Add an image for a post](../howto/post-image.md)
* [Back to main documentation](../../README.md)