update
This commit is contained in:
8
deploy
Executable file
8
deploy
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
USER=pleb
|
||||
HOST=bob
|
||||
DIR=/var/www/resumes/julien/ # the directory where your website files should go
|
||||
|
||||
hugo && rsync -avz --rsync-path='sudo rsync' --progress -e ssh --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
||||
|
||||
exit 0
|
||||
113
hokus.toml
Normal file
113
hokus.toml
Normal file
@@ -0,0 +1,113 @@
|
||||
hugover = "0.69.0"
|
||||
|
||||
[[serve]]
|
||||
key = "default"
|
||||
config = "config.toml"
|
||||
|
||||
[[build]]
|
||||
key = "default"
|
||||
config = "config.toml"
|
||||
|
||||
[[collections]]
|
||||
key = "posts"
|
||||
title = "Posts"
|
||||
folder = "content/posts/"
|
||||
extension = "md"
|
||||
dataformat = "toml"
|
||||
itemtitle = "Post"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "info"
|
||||
type = "info"
|
||||
size = "small"
|
||||
content = "# Info\nYou can write custom instructions here."
|
||||
theme = "gray"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "title"
|
||||
title = "Title"
|
||||
type = "string"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "mainContent"
|
||||
title = "Content"
|
||||
type = "markdown"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "pubdate"
|
||||
title = "Pub Date"
|
||||
type = "date"
|
||||
default = "now"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "draft"
|
||||
title = "Draft"
|
||||
type = "boolean"
|
||||
|
||||
[[collections.fields]]
|
||||
key = "bundle-manager"
|
||||
title = "Images"
|
||||
type = "bundle-manager"
|
||||
path = "imgs"
|
||||
extensions = [
|
||||
"png",
|
||||
"jpg",
|
||||
"gif"
|
||||
]
|
||||
|
||||
[[collections.fields.fields]]
|
||||
key = "title"
|
||||
title = "Title"
|
||||
type = "string"
|
||||
|
||||
[[collections.fields.fields]]
|
||||
key = "description"
|
||||
title = "Description"
|
||||
type = "string"
|
||||
multiLine = true
|
||||
|
||||
[[collections.fields.fields]]
|
||||
key = "bundle-image-thumbnail"
|
||||
type = "bundle-image-thumbnail"
|
||||
|
||||
[[singles]]
|
||||
key = "mainConfig"
|
||||
title = "Main Config"
|
||||
file = "config.toml"
|
||||
dataformat = "toml"
|
||||
|
||||
[[singles.fields]]
|
||||
key = "title"
|
||||
title = "Site Title"
|
||||
type = "string"
|
||||
tip = "Your page title."
|
||||
|
||||
[[singles.fields]]
|
||||
key = "baseURL"
|
||||
title = "Base URL"
|
||||
type = "string"
|
||||
tip = "Your site URL."
|
||||
|
||||
[[singles.fields]]
|
||||
key = "theme"
|
||||
title = "Theme"
|
||||
type = "readonly"
|
||||
tip = "The current theme."
|
||||
|
||||
[[singles.fields]]
|
||||
key = "languageCode"
|
||||
title = "Language Code"
|
||||
type = "readonly"
|
||||
|
||||
[[singles.fields]]
|
||||
key = "googleAnalytics"
|
||||
title = "Google Analytics"
|
||||
type = "string"
|
||||
tip = "Provide a Google Analitics Tracking Code to enable analytics."
|
||||
|
||||
[[singles.fields]]
|
||||
key = "enableRobotsTXT"
|
||||
title = "Enable Robots"
|
||||
type = "boolean"
|
||||
default = true
|
||||
tip = "If you want your page to be indexed, keep this enabled."
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user