-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.yml
48 lines (44 loc) · 1.35 KB
/
settings.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
43
44
45
46
47
48
# Hosting Settings
MinimumStatiqWebVersion-CleanBlog: "1.0.0-beta.3"
Host: open-ea.brenster.uk # Host Name
LinksUseHttps: true # Do we use HTTPS
# Branding
SiteTitle: Architecture Repository
PageTitle: |
=>
{
string siteTitle = Context.GetString("SiteTitle");
string title = GetString("Title");
return string.IsNullOrWhiteSpace(siteTitle) ? title : (string.IsNullOrWhiteSpace(title) ? siteTitle : $"{siteTitle} - {title}");
}
SiteDescriptions: Assorted articles about architecture
Copyright: => $"Copyright James Brewster© {DateTime.Now.Year}"
Layout: /_layout.cshtml
HeaderImage: /media/header01.png
Image: |
=>
{
string Host = Context.GetString("Host");
bool LinksUseHttps = Context.GetBool("LinksUseHttps");
string HeaderImage = Context.GetString("HeaderImage");
string result = Host + HeaderImage;
switch (LinksUseHttps)
{
case false:
result = "http://" + result;
break;
case true:
result ="https://" + result;
break;
}
return result;
}
# Post Settings
# PostSources: posts/*
PostSources: posts/*
PageSources: pages/*
Published: 2001-01-01
IsPost: => Outputs.FilterSources(Context.GetString("PostSources")).ContainsById(Document)
DateTimeInputCulture: "en-GB"
DateTimeDisplayCulture: "en-GB"
GenerateSearchIndex: true