From 732b3c9a11ee5d0bbf227d7ea0ddd81bf602c152 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Fri, 22 Jul 2022 16:43:41 +0530 Subject: [PATCH] init commit --- .gitignore | 13 +++++++++++++ archetypes/default.md | 6 ++++++ config.toml | 45 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 config.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86c95ef --- /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 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..ac2222f --- /dev/null +++ b/config.toml @@ -0,0 +1,45 @@ +baseURL = "/" +title = "Setting up Pratham's machines" +theme = "hello-friend-ng" +languageCode = "en-in" + +[params] + + # params for website + author = "Pratham Patel" + homeSubtitle = "the guide to follow when machines are formatted" + + # params for Hugo + readMore = false + disableReadOtherPosts = true + readNextPosts = 10 + enableThemeToggle = true + enableSharingButtons = false + enableEmoji = true + + dateform = "2006-01-02" + dateformShort = "01/02" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-01 15:04" + + [params.footer] + author = true + topText = [] + bottomText = [ + "Powered by Hugo, for Pratham Patel (theme: (hello-friend-ng)[https://github.com/rhazdon/hugo-theme-hello-friend-ng])" + ] + + [params.logo] + logoMark = "# " + logoText = " dd if=/dev/zero of=/dev/sda" + logoHomeLink = "/" + + +[menu] + [[menu.main]] + name = "Machines" + url = "/posts" + + +#[markup.goldmark.renderer] +# unsafe = true