From f9436fdb45c8a40fe7d79feb9323a6463273e4e3 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Wed, 17 Jan 2024 21:42:39 +0100 Subject: [PATCH 1/3] Fix typos --- exampleSite/content/about.md | 2 +- exampleSite/content/posts/tg-gh.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index a4128062..70923b83 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -20,7 +20,7 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. -Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. +Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. Learn more and contribute on [GitHub](https://github.com/gohugoio). diff --git a/exampleSite/content/posts/tg-gh.md b/exampleSite/content/posts/tg-gh.md index 44001481..26d5d89c 100644 --- a/exampleSite/content/posts/tg-gh.md +++ b/exampleSite/content/posts/tg-gh.md @@ -251,7 +251,7 @@ branding: icon: 'repeat' color: 'green' ``` -Here we're defining the Input variables to be loaded for the action in GitHub's runtime environemt. All these `default` data are taken from the response of the webhooks which are send by GitHub when a trigger event is occured. You can find out more in the [Action Documentation Here](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context). +Here we're defining the Input variables to be loaded for the action in GitHub's runtime environment. All these `default` data are taken from the response of the webhooks which are send by GitHub when a trigger event is occurred. You can find out more in the [Action Documentation Here](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context). ```yml runs: @@ -379,4 +379,4 @@ bot.sendMessage(chatid,output,{parse_mode : "Markdown"}) ------ -You can try out many different items using actions and this is just a sample action to get you started. Maybe sending Cat GIFs if the build succeded on the pull request or sending a welcome message to a first time contributor. You imagination is the limit😄 and **Never Stop being ⚡️** \ No newline at end of file +You can try out many different items using actions and this is just a sample action to get you started. Maybe sending Cat GIFs if the build succeeded on the pull request or sending a welcome message to a first time contributor. You imagination is the limit😄 and **Never Stop being ⚡️** \ No newline at end of file From 069b103ccf359f2967f2e23045883353c778353d Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Wed, 17 Jan 2024 21:53:51 +0100 Subject: [PATCH 2/3] Shortcode tweet: fix deprecation warning --- exampleSite/content/posts/post-6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/posts/post-6.md b/exampleSite/content/posts/post-6.md index 0a297644..da32634d 100644 --- a/exampleSite/content/posts/post-6.md +++ b/exampleSite/content/posts/post-6.md @@ -21,7 +21,7 @@ description: Here is a demo of all shortcodes available in Hugo. ## Tweet -{{< tweet 877500564405444608 >}} +{{< tweet user="GoHugoIO" id="877500564405444608" >}} ## Vimeo From 4ee5de39523cbbe471cb36d3957d4411debf26e1 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Wed, 17 Jan 2024 21:54:54 +0100 Subject: [PATCH 3/3] Rename config file to hugo.toml --- exampleSite/.gitignore | 2 ++ exampleSite/config.toml | 1 + exampleSite/hugo.toml | 47 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 exampleSite/.gitignore create mode 100644 exampleSite/hugo.toml diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore new file mode 100644 index 00000000..c4b387a7 --- /dev/null +++ b/exampleSite/.gitignore @@ -0,0 +1,2 @@ +.hugo_build.lock +public/ diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ec4ec0bf..a9b7bc01 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,6 +6,7 @@ copyright = "© Athul" pygmentsstyle = "monokai" pygmentscodefences = true pygmentscodefencesguesssyntax = true + [params] mode="auto" useCDN=false diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml new file mode 100644 index 00000000..ec4ec0bf --- /dev/null +++ b/exampleSite/hugo.toml @@ -0,0 +1,47 @@ +baseURL = "https://example.com" +languageCode = "en-us" +title = "Archie" +theme="archie" +copyright = "© Athul" +pygmentsstyle = "monokai" +pygmentscodefences = true +pygmentscodefencesguesssyntax = true +[params] + mode="auto" + useCDN=false + subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)" + +[[params.social]] +name = "GitHub" +icon = "github" +url = "https://github.com/athul/archie" + +[[params.social]] +name = "Twitter" +icon = "twitter" +url = "https://twitter.com/athulcajay/" + +[[params.social]] +name = "GitLab" +icon = "gitlab" +url = "https://gitlab.com/athul/" + +[[menu.main]] +name = "Home" +url = "/" +weight = 1 + +[[menu.main]] +name = "All posts" +url = "/posts" +weight = 2 + +[[menu.main]] +name = "About" +url = "/about" +weight = 3 + +[[menu.main]] +name = "Tags" +url = "/tags" +weight = 4