Add zola #5
28
.drone.yml
28
.drone.yml
@ -1,28 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
type: docker
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
- name: blog
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: kasperhermansen
|
||||
password:
|
||||
from_secret:
|
||||
docker_secret
|
||||
repo: kasperhermansen/kasperhermansen-blog
|
||||
tags: latest
|
||||
- name: send telegram notification
|
||||
image: appleboy/drone-telegram
|
||||
settings:
|
||||
token:
|
||||
from_secret: telegram_token
|
||||
to: 2129601481
|
||||
format: markdown
|
||||
depends_on:
|
||||
- blog
|
||||
when:
|
||||
status: [failure, success]
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "themes/anubis"]
|
||||
path = themes/anubis
|
||||
url = https://github.com/mitrichius/hugo-theme-anubis.git
|
8
.idea/.gitignore
vendored
8
.idea/.gitignore
vendored
@ -1,8 +0,0 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/blog-2.iml" filepath="$PROJECT_DIR$/.idea/blog-2.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/themes/anubis" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
10
Caddyfile
10
Caddyfile
@ -1,10 +0,0 @@
|
||||
{
|
||||
auto_https off
|
||||
debug
|
||||
http_port: 80
|
||||
}
|
||||
|
||||
blog.kasperhermansen.com {
|
||||
root * /usr/share/caddy
|
||||
file_server
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
FROM klakegg/hugo:0.93.2-onbuild AS hugo
|
||||
|
||||
FROM nginx
|
||||
COPY --from=hugo /target /usr/share/nginx/html
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
@ -1,19 +0,0 @@
|
||||
http {
|
||||
include mime.types;
|
||||
sendfile on;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
autoindex off;
|
||||
|
||||
server_name _;
|
||||
server_tokens off;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
gzip_static on;
|
||||
}
|
||||
}
|
||||
|
||||
events {}
|
76
config.yaml
76
config.yaml
@ -1,76 +0,0 @@
|
||||
languageCode: "en-us"
|
||||
baseUrl: "https://blog.kasperhermansen.com"
|
||||
title: "Kjuulh"
|
||||
theme: "anubis"
|
||||
paginate: 10
|
||||
disqusShortname: "kjuulh"
|
||||
googleAnalytics: "G-12345"
|
||||
enableRobotsTXT: true
|
||||
|
||||
menu:
|
||||
main:
|
||||
- identifier: archive
|
||||
name: Archive
|
||||
title: Archive
|
||||
url: /posts/
|
||||
weight: 0
|
||||
|
||||
taxonomies:
|
||||
category: "categories"
|
||||
tag: "tags"
|
||||
|
||||
params:
|
||||
author: "Kasper J. Hermansen"
|
||||
email: contact@kasperhermansen.com # used for microformats
|
||||
#avatar: "/images/me.png" # used for microformats
|
||||
description: "A blog about what I am working on and think about at the moment and in the past"
|
||||
# Uncomment if you need this
|
||||
# images:
|
||||
# - images/og-featured.png # relative path to "static" directory
|
||||
# customCSS:
|
||||
# - css/my.css # relative path to "assets" directory (don't use main.css filename)
|
||||
# customJS:
|
||||
# - js/main.js # relative path to "assets" directory
|
||||
dateFormat: "2006-01-02"
|
||||
paginationSinglePost: true
|
||||
style: dark
|
||||
readMore: false # show read more button
|
||||
readNextPosts: 5 # show 5 related posts, 0 by default
|
||||
disableSummary: false
|
||||
copyCodeButton: true # true by default
|
||||
rssAsSocialIcon: true
|
||||
# utteranc.es support
|
||||
utterancesRepo: "" # mandatory
|
||||
utterancesTheme: "" # optional
|
||||
utterancesIssue: "" # optional
|
||||
utterancesLabel: "" # optional
|
||||
# isso support
|
||||
isso:
|
||||
enabled: true # mandatory
|
||||
data: "https://comments.example.com/" # mandatory
|
||||
jsLocation: "https://comments.example.com/js/embed.min.js" # mandatory
|
||||
css: true # optional
|
||||
lang: "dk" # optional
|
||||
replyToSelf: true # mandatory
|
||||
requireAuthor: true # mandatory
|
||||
requireEmail: true # mandatory
|
||||
id: "thread-id" # optional
|
||||
avatar: true # optional
|
||||
avatar-bg: "#f0f0f0" # optional
|
||||
graphcommentId: ""
|
||||
webmentions:
|
||||
url: https://yourdomain.com/webemntions/receive
|
||||
login: hugo-theme-anubis
|
||||
pingback: true
|
||||
social:
|
||||
- id: github
|
||||
name: kjuulh
|
||||
# - id: hugo
|
||||
# url: "https://gohugo.io/"
|
||||
# icon: "hugo"
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true # enable raw HTML in Markdown
|
||||
|
@ -1,7 +0,0 @@
|
||||
+++
|
||||
aliases = ["posts","articles","blog","showcase","docs"]
|
||||
title = "Posts"
|
||||
author = "kjuulh"
|
||||
tags = ["index"]
|
||||
+++
|
||||
|
@ -1,4 +0,0 @@
|
||||
+++
|
||||
hidden = true
|
||||
+++
|
||||
|
@ -1,12 +0,0 @@
|
||||
+++
|
||||
author = "kjuulh"
|
||||
title = "Start of blog"
|
||||
date = "2022-05-22"
|
||||
description = "Start of the blog"
|
||||
aliases = ["start"]
|
||||
favorite = false
|
||||
+++
|
||||
|
||||
Some start of blog
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
services:
|
||||
kasperhermansen_blog:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
ports:
|
||||
- 15000:80
|
@ -1,6 +0,0 @@
|
||||
services:
|
||||
kasperhermansen_blog:
|
||||
image: kasperhermansen/kasperhermansen-blog:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 15000:80
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
@ -1 +0,0 @@
|
||||
Subproject commit cdef276335a7537d065251727487b7e744aff98d
|
Loading…
Reference in New Issue
Block a user