~n0mn0m/Statiq.Blog

ref: e954b158815086aa609e9c8c9bdc677aa131c36e Statiq.Blog/src/Program.cs -rw-r--r-- 872 bytes
e954b158n0mn0m Correct post template and clean up commands 6 months ago
                                                                                
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
using System;
using System.Threading.Tasks;
using Statiq.App;
using Statiq.Common;
using Statiq.Feeds;

namespace src
{
    internal static class Program
    {
        private static Task<int> Main(string[] args)
        {
            return Bootstrapper
                .Factory
                .CreateDefault(args)
                // .AddHostingCommands()
                .AddSetting(Keys.LinkLowercase, true)
                .AddSetting(Keys.LinksUseHttps, true)
                .AddSetting(Keys.Host, "alexander@unexpectedeof.net")
                .AddSetting(Keys.Title, "unexpectedeof")
                .AddSetting(FeedKeys.Author, "Alexander Hagerman")
                .AddSetting(FeedKeys.Description, "Notes from building things.")
                .AddSetting(FeedKeys.Copyright, DateTime.UtcNow.Year.ToString())
                .RunAsync();
        }
    }
}