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:
parent
da3eebc944
commit
39d9813c02
17
config.toml
Normal file
17
config.toml
Normal 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"
|
||||||
@ -1,2 +0,0 @@
|
|||||||
languageCode = "en-us"
|
|
||||||
title = "DanBarber.me"
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
AuthorName = "Daniel Barber"
|
|
||||||
GitHubUser = "danbee"
|
|
||||||
@ -1 +0,0 @@
|
|||||||
blog = "/:year/:month/:day/:title"
|
|
||||||
@ -1 +0,0 @@
|
|||||||
baseURL = "http://danbarber.localhost:1313"
|
|
||||||
@ -1 +0,0 @@
|
|||||||
baseURL = "https://next.danbarber.me/"
|
|
||||||
@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
{{/* set image sizes, these are hardcoded for now, x dictates that images are resized to this width */}}
|
{{/* set image sizes, these are hardcoded for now, x dictates that images are resized to this width */}}
|
||||||
|
|
||||||
{{ $tinyw := default "408x Lanczos" }}
|
{{ $tinyw := default "408x" }}
|
||||||
{{ $smallw := default "816x Lanczos" }}
|
{{ $smallw := default "816x" }}
|
||||||
{{ $mediumw := default "1224x Lanczos" }}
|
{{ $mediumw := default "1224x" }}
|
||||||
{{ $largew := default "1632x Lanczos" }}
|
{{ $largew := default "1632x" }}
|
||||||
|
|
||||||
{{/* resize the src image to the given sizes */}}
|
{{/* resize the src image to the given sizes */}}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user