diff --git a/.drone.yml b/.drone.yml index 397ed75..3085ffe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,10 @@ kind: pipeline type: docker -name: default +name: hugo_builder steps: -- name: build +- name: hugo-std + pull: if-not-exists image: plugins/hugo settings: hugo_version: 0.65.3 @@ -12,3 +13,11 @@ steps: - git submodule init - git submodule update - hugo --gc=true + +- name: hugo-extended + pull: if-not-exists + image: archlinux/archlinux-docker + commands: + - pacman -Syu --noconfirm wget tar + - wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.tar.gz | tar xfv - + - ./hugo --gc=true diff --git a/config.toml b/config.toml index 1ac88bc..e4207f7 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseurl = "/~y192235/" +baseurl = "/" languageCode = "en-us" theme = "hello-friend-ng" @@ -17,7 +17,7 @@ theme = "hello-friend-ng" images = [""] # Directory name of your blog content (default is `content/posts`) - contentTypeName = "status" + contentTypeName = "posts" # Default theme "light" or "dark" defaultTheme = "dark" @@ -28,12 +28,12 @@ theme = "hello-friend-ng" logoHomeLink = "/" [[params.social]] - name = "telegram" - url = "https://t.me/#" + name = "telegram" + url = "https://t.me/#" [[params.social]] - name = "email" - url = "mailto:" + name = "email" + url = "mailto:" [languages] [languages.en] @@ -45,13 +45,13 @@ theme = "hello-friend-ng" [languages.en.params.logo] logoText = "dotya.ml" - logoHomeLink = "/~y192235/" + logoHomeLink = "/" # or # # path = "/img/your-example-logo.svg" # alt = "Your example logo alt text" - # You can create a language based menu + # You can create a language based menu [languages.en.menu] [[languages.en.menu.main]] identifier = "about" diff --git a/deploy b/deploy index fc08f3d..6b2dfd0 100755 --- a/deploy +++ b/deploy @@ -1,8 +1,8 @@ #!/bin/sh -USER=y192235 -HOST=mrkev.fme.vutbr.cz -DIR=public_html/ +USER=dotyaoverlord +HOST=dotya.ml +DIR=public/ git submodule init git submodule update