~n0mn0m/Statiq.Blog

ref: 8e87bd16d2e7dbb24169e4393de3f6765c17a4d2 Statiq.Blog/src/Program.cs -rw-r--r-- 831 bytes
8e87bd16n0mn0m Remove reference to statiq web. 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
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)
                .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();
        }
    }
}