From 764c790230a9f0e347989510be28c4e9aec7efdf Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 22 Feb 2022 08:16:31 +0100 Subject: [PATCH] Initial commit --- .github/workflows/gh-pages.yml | 32 +++++++++++++++++++++ .gitignore | 13 +++++++++ .gitmodules | 3 ++ archetypes/default.md | 6 ++++ config.toml | 51 ++++++++++++++++++++++++++++++++++ content/_index.md | 4 +++ content/about.md | 7 +++++ content/post/_index.md | 6 ++++ content/post/goveal.md | 16 +++++++++++ static/fa-icons/xing.svg | 1 + themes/anubis | 1 + 11 files changed, 140 insertions(+) create mode 100644 .github/workflows/gh-pages.yml create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 content/about.md create mode 100644 content/post/_index.md create mode 100644 content/post/goveal.md create mode 100644 static/fa-icons/xing.svg create mode 160000 themes/anubis diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..6b992ec --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,32 @@ +name: github pages + +on: + push: + branches: + - main # Set a branch to deploy + pull_request: + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 'latest' + # extended: true + + - name: Build + run: hugo --minify + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: github.ref == 'refs/heads/main' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b62a71 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5a69223 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/anubis"] + path = themes/anubis + url = https://github.com/mitrichius/hugo-theme-anubis.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b888d60 --- /dev/null +++ b/config.toml @@ -0,0 +1,51 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = '1533B4dC0.de' +theme = "anubis" +paginate = 10 + +[author] +name = "Peter Kurfer" + +[params] +author = "Peter Kurfer" +style= "auto" +copyCodeButton = true +rssAsSocialIcon = true + +[[menu.main]] +identifier = "about" +name = "About" +url = "/about/" +weight = 1 + +[[menu.main]] +identifier = "tags" +name = "Tags" +url = "/tags/" +weight = 2 + +[[menu.main]] +identifier = "archive" +name = "Archive" +url = "/posts/" +weight = 3 + +[[params.social]] +id = "github" +name = "baez90" + +[[params.social]] +id = "linkedin" +name = "peter-s-kurfer" + +[[params.social]] +id = "xing" +url = "https://www.xing.com/profile/Sebastian_Kurfer" + +[taxonomies] +category = "categories" +tag = "tags" + +[markup.goldmark.renderer] +unsafe = true \ No newline at end of file diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..23633e5 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,4 @@ ++++ +author = "Peter Kurfer" ++++ + diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..f0361ff --- /dev/null +++ b/content/about.md @@ -0,0 +1,7 @@ +--- +title: 'About me' +button: 'About me' +weight: 2 +--- + +Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. ipsum dolor sit amet, et essent mediocritatem quo, \ No newline at end of file diff --git a/content/post/_index.md b/content/post/_index.md new file mode 100644 index 0000000..5bd3da2 --- /dev/null +++ b/content/post/_index.md @@ -0,0 +1,6 @@ ++++ +aliases = ["posts","articles","blog","showcase","docs"] +title = "Posts" +author = "Peter Kurfer" +tags = ["index"] ++++ diff --git a/content/post/goveal.md b/content/post/goveal.md new file mode 100644 index 0000000..a1f7428 --- /dev/null +++ b/content/post/goveal.md @@ -0,0 +1,16 @@ ++++ +author = "Peter Kurfer" +title = "Goveal" +date = "2022-02-20" +description = "" +tags = [ + "markdown", + "slides", + "revealjs", + "goveal" +] +categories = [ + "goveal", +] ++++ + diff --git a/static/fa-icons/xing.svg b/static/fa-icons/xing.svg new file mode 100644 index 0000000..7f943d2 --- /dev/null +++ b/static/fa-icons/xing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/anubis b/themes/anubis new file mode 160000 index 0000000..8e61854 --- /dev/null +++ b/themes/anubis @@ -0,0 +1 @@ +Subproject commit 8e618548dad3553e196aeae334900d9afe76256e