1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Simplify config

This commit is contained in:
Daniel Barber 2019-10-12 17:25:09 -04:00
parent da3eebc944
commit 39d9813c02
7 changed files with 21 additions and 11 deletions

17
config.toml Normal file
View File

@ -0,0 +1,17 @@
baseURL = "https://next.danbarber.me/"
languageCode = "en-us"
title = "Me, Dan Barber"
timeout = 30000
[params]
AuthorName = "Daniel Barber"
GitHubUser = "danbee"
[permalinks]
blog = "/:year/:month/:day/:title"
photos = "/:year/:month/:day/:title"
[imaging]
resampleFilter = "lanczos"
quality = 75
anchor = "smart"

View File

@ -1,2 +0,0 @@
languageCode = "en-us"
title = "DanBarber.me"

View File

@ -1,2 +0,0 @@
AuthorName = "Daniel Barber"
GitHubUser = "danbee"

View File

@ -1 +0,0 @@
blog = "/:year/:month/:day/:title"

View File

@ -1 +0,0 @@
baseURL = "http://danbarber.localhost:1313"

View File

@ -1 +0,0 @@
baseURL = "https://next.danbarber.me/"

View File

@ -3,10 +3,10 @@
{{/* set image sizes, these are hardcoded for now, x dictates that images are resized to this width */}}
{{ $tinyw := default "408x Lanczos" }}
{{ $smallw := default "816x Lanczos" }}
{{ $mediumw := default "1224x Lanczos" }}
{{ $largew := default "1632x Lanczos" }}
{{ $tinyw := default "408x" }}
{{ $smallw := default "816x" }}
{{ $mediumw := default "1224x" }}
{{ $largew := default "1632x" }}
{{/* resize the src image to the given sizes */}}