config: Add the foundation for GDPR privacy configuration

See #4616
This commit is contained in:
Bjørn Erik Pedersen
2018-05-04 10:18:45 +02:00
parent 9bd4236e1b
commit 0bbdef986d
7 changed files with 239 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ func TestShouldNotAddTrailingSlashToBaseURL(t *testing.T) {
d := deps.DepsCfg{Cfg: cfg, Fs: fs}
s, err := NewSiteForCfg(d)
require.NoError(t, err)
s.initializeSiteInfo()
require.NoError(t, s.initializeSiteInfo())
if s.Info.BaseURL() != template.URL(this.expected) {
t.Errorf("[%d] got %s expected %s", i, s.Info.BaseURL(), this.expected)