This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
42 lines (35 loc) · 1.56 KB
/
config.yml
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
---
# Usage: http://ruhoh.com
# This helps parsers (and hosting platforms) determine which version is needed to compile your site.
# If you compile your blog yourself, setting this won't matter, but it's a nice thing to keep updated.
RuhohSpec: "2.0.alpha"
# Used for things like RSS that need the full URL to a given resource.
# This DOES NOT affect any of your paths or links in any way.
# This DOES NOT configure domain mapping. See post2.ruhoh.com for hosting options.
production_url: "http://sample.com"
# Intelligently prepends all urls in the system with the given base_path.
# This allows you to host your blog in a subdirectory of a given website.
# Example:
# To host at the path: http://myuniversity.edu/staff/me/~/blog.
# set base_path: "/staff/me/~/blog"
# NOTE: base_path is never added in development mode (for convenience).
base_path: "/"
theme:
name: "twitter"
posts:
permalink: "/:categories/:title/"
summary_lines: 20
latest: 5
pages:
summary_lines: 20
paginator:
# The namespace your paginated pages will be located: e.g /posts/1, /posts/2, /posts/3
# Always start with a forward slash, as ruhoh will internally respect any base_path you set.
namespace: "/posts/"
per_page: 5
# Set the custom page you want page#1 of your posts paginator to link to. (default: /posts/1)
# Note the default is technically <paginator.namespace>/1 just as the other paginated pages.
# It is up to you to display the paginator_pagination links somewhere in this case.
#
# root_page has been set to the root for a more traditional style blog feel.
root_page: '/'