Initial commit, using hugo-theme-learn
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2020-11-23 13:05:09 +01:00
commit e0e7576d18
10 changed files with 113 additions and 0 deletions

47
.drone.yml Normal file
View File

@ -0,0 +1,47 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
clone:
disable: true
steps:
- name: clone
image: alpine
commands:
- apk add --no-cache git
- git clone --recursive $DRONE_GIT_HTTP_URL .
- git checkout $DRONE_COMMIT
- name: build
image: plugins/hugo
settings:
hugo_version: 0.70.0
validate: true
- name: deploy
image: appleboy/drone-scp
settings:
debug: true
tar_tmp_path: /tmp/
host: help.happydns.org
target: /var/www/happydns.org/help/
source: public/*
strip_components: 1
username:
from_secret: ssh_username
key:
from_secret: deploy_key
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/hugo-theme-learn"]
path = themes/hugo-theme-learn
url = https://github.com/matcornic/hugo-theme-learn.git

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

38
config.toml Normal file
View File

@ -0,0 +1,38 @@
baseURL = "https://help.happydns.org/"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir= true
theme = "hugo-theme-learn"
metaDataFormat = "yaml"
[Languages]
[Languages.en]
title = "happyDNS help center"
weight = 1
languageName = "English"
landingPageURL = "/en"
landingPageName = "<i class='fas fa-home'></i> Home"
[Languages.fr]
title = "happyDNS centre d'aide"
weight = 2
languageName = "Français"
landingPageURL = "/fr"
landingPageName = "<i class='fas fa-home'></i> Accueil"
[params]
editURL = "https://framagit.org/happyDNS/help/-/blob/master/content/"
description = "Finally a simple interface for domain names."
themeVariant = "green"
author = "The happyDNS team"
showVisitedLinks = true
disableBreadcrumb = false
disableMermaid = true
[outputs]
home = [ "HTML", "RSS", "JSON"]
[[menu.shortcuts]]
name = "<i class='fab fa-gitlab'></i> Project sources"
url = "https://framagit.org/happyDNS/"
weight = 15

7
content/_index.en.md Normal file
View File

@ -0,0 +1,7 @@
---
date: 2020-11-23T12:59:49+01:00
title: Welcome to happyDNS
chapter: true
---
# Welcome to happyDNS

7
content/_index.fr.md Normal file
View File

@ -0,0 +1,7 @@
---
date: 2020-11-23T12:59:49+01:00
title: Bienvenue chez happyDNS
chapter: true
---
# Bienvenue chez happyDNS

View File

@ -0,0 +1,3 @@
<a id="logo" href="{{ .Site.Home.Permalink }}">
<img src="/img/happyDNS.png" alt="happyDNS">
</a>

BIN
static/img/happyDNS.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@ -0,0 +1 @@
Subproject commit 3efb32712c5cc77e644852d13ce3525780374b10