diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d59b6e1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,119 @@ +--- +kind: pipeline +name: build + +platform: + os: linux + arch: amd64 + +concurrency: + limit: 1 + +steps: +- name: assets + image: byrnedo/alpine-curl + commands: + - mkdir -p themes/hugo-geekblog/ + - curl -L https://github.com/xoxys/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C themes/hugo-geekblog/ --strip-components=1 + +- name: markdownlint + image: node:lts-alpine + commands: + - npm install -g markdownlint-cli + - markdownlint 'content/**/*.md' 'README.md' + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error + +- name: spellcheck + image: node:lts-alpine + commands: + - npm install -g spellchecker-cli + - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error + +- name: testbuild + image: klakegg/hugo:0.72.0-ext-alpine + commands: + - hugo-official -b http://localhost/ + +- name: link-validation + image: xoxys/link-validator + commands: + - link-validator -ro + environment: + LINK_VALIDATOR_BASE_DIR: public/ + +- name: build + image: klakegg/hugo:0.72.0-ext-alpine + commands: + - hugo-official + +- name: beautify + image: node:lts-alpine + commands: + - npm install -g js-beautify + - html-beautify -r -f 'public/**/*.html' + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error + +- name: publish + image: plugins/s3-sync + settings: + access_key: + from_secret: s3_access_key + bucket: thegeeklab-root + delete: true + endpoint: https://sp.rknet.org + path_style: true + secret_key: + from_secret: s3_secret_access_key + source: public/ + strip_prefix: public/ + +trigger: + ref: + - refs/heads/master + - refs/tags/** + +--- +kind: pipeline +name: notifications + +platform: + os: linux + arch: amd64 + +steps: +- name: matrix + image: plugins/matrix + settings: + homeserver: + from_secret: matrix_homeserver + password: + from_secret: matrix_password + roomid: + from_secret: matrix_roomid + template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" + username: + from_secret: matrix_username + +trigger: + ref: + - refs/heads/master + - refs/tags/** + status: + - success + - failure + +depends_on: +- build + +--- +kind: signature +hmac: e220fd19fcc087ca1cd9ac3bee409d70776ab5ebf4f926f962bc2856fe6a64f3 + +... diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2350b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +themes/ +public/ +resources/_gen/ diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..f85a2cc --- /dev/null +++ b/config.yml @@ -0,0 +1,78 @@ +--- +baseURL: https://thegeeklab.de/ +title: the Geeklab +theme: hugo-geekblog +pygmentsUseClasses: true +pygmentsCodeFences: true + +paginate: 5 + +markup: + goldmark: + renderer: + unsafe: true + tableOfContents: + startLevel: 1 + endLevel: 9 + +taxonomies: + author: authors + tag: tags + +mediaTypes: + "application/atom+xml": + suffixes: + - "xml" + +outputFormats: + Atom: + name: "Atom" + mediaType: "application/atom+xml" + baseName: "atom" + isPlainText: false + rel: "alternate" + isHTML: false + noUgly: true + permalinkable: false + +outputs: + home: + - HTML + - ATOM + page: + - HTML + section: + - HTML + taxonomy: + - HTML + term: + - HTML + - ATOM + +privacy: + disqus: + disable: true + googleAnalytics: + disable: true + instagram: + disable: true + twitter: + disable: true + vimeo: + disable: true + youtube: + disable: true + +params: + geekblogSubtitle: Linux and Open Source blog + geekblogToC: 3 + geekblogAuthor: robert-kaussow + + geekblogAnchorLeft: true + + geekblogLegalNotice: legal-notice/#contact-information + geekblogPrivacyPolicy: legal-notice/#privacy-policy + + geekblogContentLicense: + name: CC BY-SA 4.0 + link: https://creativecommons.org/licenses/by-sa/4.0/ diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..eb73646 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,13 @@ +--- +title: "Get in touch" +--- + +- E-Mail: mail [ett] thegeeklab.de +- Matrix: [@xoxys:rknet.org](https://matrix.to/#/@xoxys:rknet.org) +- XMPP: xoxys\@trashserver.net + +## More online profiles + +- GitHub: [github.com/xoxys](https://github.com/xoxys) +- Gitea: [gitea.rknet.org/xoxys](https://gitea.rknet.org/xoxys) +- Mastodon [@xoxys@social.tchncs.de](https://social.tchncs.de/@xoxys) diff --git a/content/legal-notice.md b/content/legal-notice.md new file mode 100644 index 0000000..b8cd0c2 --- /dev/null +++ b/content/legal-notice.md @@ -0,0 +1,31 @@ +--- +title: "Legal notice and privacy" +--- + +## Contact information + +Robert Kaussow\ +Email: [contact@thegeeklab.de](mailto:contact@thegeeklab.de) + +## Privacy policy + +### Collection of general data and information + +The website thegeekdocs.de collects a series of general data and information when a data subject or automated system calls up the website. This general data and information are stored in the server log files. Collected may be: + +- the browser types and versions used +- the operating system used by the accessing system +- the website from which an accessing system reaches our website (so-called referrers) +- the sub-websites +- the date and time of access to the Internet site +- an Internet protocol address (IP address) +- the Internet service provider of the accessing system +- any other similar data and information that may be used in the event of attacks on our information technology systems + +When using these general data and information, we do not draw any conclusions about the data subject. Rather, this information is needed to deliver the content of our website correctly and answer your request (Article 6.1b [GDPR](https://gdpr-info.eu/art-6-gdpr/)). + +Your IP address and the requested URL can be stored up to 7 days due to analyze possible problems with the web page. Given that a problem appears there are cases, where it is possible that this information is stored longer than 7 days to analyze the problem in depth. They will be deleted as soon as it is confirmed that they can no further help with diagnosing the problem or the problem is solved. (Article 6.1f [GDPR](https://gdpr-info.eu/art-6-gdpr/)). + +### Cookies + +This web page does not use any cookies. diff --git a/content/posts/welcome.md b/content/posts/welcome.md new file mode 100644 index 0000000..ee0633c --- /dev/null +++ b/content/posts/welcome.md @@ -0,0 +1,24 @@ +--- +title: "Welcome (back)" +date: 2020-07-21T23:00:08+02:00 +authors: + - robert-kaussow +tags: + - General +--- + +As some former readers may have noticed, 'geeklabor.de' is now 'thegeeklab.de', welcome back nice to have you here again. If you are a first time visitor, a very warm welcome goes to you as well. This is my private blog, where I write about everything that comes to my mind but mainly about topics from the Linux and Open Source world. + +For those of you who are interested in the backgrounds about the blog migration, here you go: + +- my old theme had to be reworked, [hugo-geekblog](https://github.com/xoxys/hugo-geekblog) was born + - looks pretty much the same as before but with a more up to date technical implementation + - works with recent Hugo versions now + - fully Open Source +- `geeklabor.de` does only work in German language, `thegeeklab.de` is bit more "international" +- the same applies to the entire blog, all the content is now only available in English for two simple reasons + - English works for a lot more people + - I am too lazy to provide posts in multiple languages +- the blog is running now on a Hetzner Cloud machine; CI driven and using Minio S3 backend + +That is a short summary right now. While I am currently still working on some remaining migration tasks, there will be more fresh posts during the next weeks - stay tuned! diff --git a/data/authors/robert-kaussow.yml b/data/authors/robert-kaussow.yml new file mode 100644 index 0000000..7f85b67 --- /dev/null +++ b/data/authors/robert-kaussow.yml @@ -0,0 +1,2 @@ +name: Robert Kaussow +email: mail@thegeeklab.de