-
Notifications
You must be signed in to change notification settings - Fork 34
/
Program.cs
28 lines (28 loc) · 1.41 KB
/
Program.cs
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
await Bootstrapper.Factory
.CreateDocs(args)
.AddMappedInputPath("external/Statiq.Web/examples/Statiq.Web.Examples/input", "guide/examples")
.AddMappedInputPath("external/Statiq.Web/examples/Statiq.Web.Examples/input/Shared", "Shared") // Promote the partial views to the root Shared folder
.AddShortcode(
"WebBadge",
new ShortcodeResult(@"<small class=""float-right ml-1"">
<span
class=""badge badge-pill badge-faded""
data-toggle=""tooltip""
data-html=""true""
title=""This section describes functionality available in <em>Statiq Web</em> and <em>Statiq Docs</em>, which require a license for commercial use."">
<span class=""small font-sans-serif text-blue"">W</span>
<span class=""small font-sans-serif text-orange"">D</span>
</span>
</small>"))
.AddShortcode(
"DocsBadge",
new ShortcodeResult(@"<small class=""float-right ml-1"">
<span
class=""badge badge-pill badge-faded""
data-toggle=""tooltip""
data-html=""true""
title=""This section describes functionality available in <em>Statiq Docs</em>, which requires a license for commercial use."">
<span class=""small font-sans-serif text-orange"">D</span>
</span>
</small>"))
.RunAsync();