initial commit
This commit is contained in:
parent
8c840658d1
commit
6bc49c80cf
35
.drone.yml
Normal file
35
.drone.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: plugins/hugo
|
||||||
|
settings:
|
||||||
|
hugo_version: 0.69
|
||||||
|
validate: true
|
||||||
|
# pull: always
|
||||||
|
# url: https://foo.com
|
||||||
|
# config: path/to/config
|
||||||
|
# content: path/to/content/
|
||||||
|
# layout: path/to/layout
|
||||||
|
# output: path/to/public
|
||||||
|
# source: path/to/source
|
||||||
|
# theme: path/themes/THEMENAME/
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
environment:
|
||||||
|
RSYNC_KEY:
|
||||||
|
from_secret: deploy_ssh_key
|
||||||
|
RSYNC_USER:
|
||||||
|
from_secret: deploy_ssh_user
|
||||||
|
settings:
|
||||||
|
hosts:
|
||||||
|
- from_secret: deploy_host
|
||||||
|
source: public/
|
||||||
|
target:
|
||||||
|
from_secret: deploy_dir
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*~
|
||||||
|
\#*
|
||||||
|
.#*
|
||||||
|
*.bak
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "themes/sustain-vitae"]
|
||||||
|
path = themes/hugo-sustain-vitae
|
||||||
|
url = https://github.com/maurete/hugo-sustain-vitae.git
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
57
config.toml
Normal file
57
config.toml
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
baseurl = "https://example.com/"
|
||||||
|
languageCode = "en-US"
|
||||||
|
title = "Chris Turner"
|
||||||
|
# Enable comments by entering your Disqus shortname
|
||||||
|
disqusShortname = ""
|
||||||
|
# Enable Google Analytics by entering your tracking code
|
||||||
|
googleAnalytics = ""
|
||||||
|
theme = "hugo-sustain-vitae"
|
||||||
|
|
||||||
|
[permalinks]
|
||||||
|
post = "/:year/:month/:day/:slug"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
avatar = "profile.png"
|
||||||
|
author = "Chris Turner"
|
||||||
|
description = "Describe your website"
|
||||||
|
|
||||||
|
# Custom assets can be linked with their paths relative to static/
|
||||||
|
custom_css = []
|
||||||
|
custom_js = []
|
||||||
|
|
||||||
|
[params.social]
|
||||||
|
Github = "username"
|
||||||
|
Email = "email@example.com"
|
||||||
|
Twitter = "username"
|
||||||
|
LinkedIn = "username"
|
||||||
|
Stackoverflow = "username"
|
||||||
|
Medium = "username"
|
||||||
|
Telegram = "username"
|
||||||
|
|
||||||
|
[params.vitae]
|
||||||
|
website = "git.io/sustain"
|
||||||
|
website_full = "https://demo.nurlan.co/hugo-sustain/"
|
||||||
|
tel = "+44 0000 000000"
|
||||||
|
tel_full = "+440000000000"
|
||||||
|
google_maps = "https://www.google.co.uk/maps/place/44+Perth+St,+Edinburgh,+Edinburgh+City+EH3+5BL"
|
||||||
|
address = "44 Perth Street"
|
||||||
|
postcode = "EH3 5BL"
|
||||||
|
city = "Edinburgh"
|
||||||
|
country = "United Kingdom"
|
||||||
|
|
||||||
|
## Main Menu
|
||||||
|
[[menu.main]]
|
||||||
|
name = "blog"
|
||||||
|
weight = 100
|
||||||
|
identifier = "blog"
|
||||||
|
url = "/blog/"
|
||||||
|
[[menu.main]]
|
||||||
|
name = "projects"
|
||||||
|
identifier = "projects"
|
||||||
|
weight = 200
|
||||||
|
url = "/projects/"
|
||||||
|
[[menu.main]]
|
||||||
|
name = "resume"
|
||||||
|
identifier = "resume"
|
||||||
|
weight = 300
|
||||||
|
url = "/vitae/"
|
1
themes/hugo-sustain-vitae
Submodule
1
themes/hugo-sustain-vitae
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 2331ec11c9106d283fd8cacb1c78eaa1613a45b5
|
Loading…
x
Reference in New Issue
Block a user