diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..01a0b24 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-theme-learn"] + path = themes/hugo-theme-learn + url = https://github.com/matcornic/hugo-theme-learn.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..74e3ff5 --- /dev/null +++ b/config.toml @@ -0,0 +1,12 @@ +baseURL = "http://localhost/" +languageCode = "en-US" +title = "/r/SelfHosted Official Wiki" +theme = "hugo-theme-learn" + +[params] + themeVariant = "green" + description = "The official wiki for the reddit /r/selfhosted community" + titleSeparator = "| |" + +[outputs] + home = [ "HTML", "RSS", "JSON"] \ No newline at end of file diff --git a/content/Contribution/Adding a Page/_index.md b/content/Contribution/Adding a Page/_index.md new file mode 100644 index 0000000..7edfa99 --- /dev/null +++ b/content/Contribution/Adding a Page/_index.md @@ -0,0 +1,3 @@ +--- +Title: Adding a Page +--- \ No newline at end of file diff --git a/content/Contribution/File Structure/_index.md b/content/Contribution/File Structure/_index.md new file mode 100644 index 0000000..4884a1f --- /dev/null +++ b/content/Contribution/File Structure/_index.md @@ -0,0 +1,3 @@ +--- +title: File Structure +--- \ No newline at end of file diff --git a/content/Contribution/Modify a Page/_index.md b/content/Contribution/Modify a Page/_index.md new file mode 100644 index 0000000..8878867 --- /dev/null +++ b/content/Contribution/Modify a Page/_index.md @@ -0,0 +1,4 @@ +--- +title: "Modify a Page" +--- + diff --git a/content/Contribution/_index.md b/content/Contribution/_index.md new file mode 100644 index 0000000..5a89409 --- /dev/null +++ b/content/Contribution/_index.md @@ -0,0 +1,5 @@ +--- +title: Contribution Guidelines +--- + +This guide aims to showcase how to contribute to this wiki, including best practices, pull requests, adding and editing articles and content, and file structure. \ No newline at end of file diff --git a/content/Guides/Webservers/_index.md b/content/Guides/Webservers/_index.md new file mode 100644 index 0000000..8a6591a --- /dev/null +++ b/content/Guides/Webservers/_index.md @@ -0,0 +1,3 @@ +--- +Title: Webservers +--- \ No newline at end of file diff --git a/content/Guides/_index.md b/content/Guides/_index.md new file mode 100644 index 0000000..00eb666 --- /dev/null +++ b/content/Guides/_index.md @@ -0,0 +1,7 @@ +--- +title: Guides +--- + +# Guides + +Find the link to your desired guide below! \ No newline at end of file diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..4b286ab --- /dev/null +++ b/content/_index.md @@ -0,0 +1,22 @@ +--- +title: /r/Selfhosted Official Wiki +--- + +# /r/SelfHosted Official Wiki +___ + +## Welcome to the Wiki +We welcome you to explore the pages here and familiarize yourself with the layout of the wiki. If you have any suggestions for better/alternative organization methods, or feedback/questions in general about the wiki, feel free to [reach out](https://www.reddit.com/message/compose/?to=/r/selfhosted) to the modertors of the subreddit. + +### Getting Started + +Here are a couple articles about the best ways to get started, based on what you're looking to accomplish. + +* Learn about what self-hosting is +* Learn about hosting websites +* Learn about using reverse proxies +* Learn about self-hosted alternatives to popular services and providers +* Learn about the most common ways to self-host + + + diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html new file mode 100644 index 0000000..08d5411 --- /dev/null +++ b/layouts/partials/favicon.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html new file mode 100644 index 0000000..8c39ede --- /dev/null +++ b/layouts/partials/logo.html @@ -0,0 +1,2 @@ +Selfhosted Logo +
/r/Selfhosted Official Wiki
diff --git a/static/images/favicon.png b/static/images/favicon.png new file mode 100644 index 0000000..af7aa59 Binary files /dev/null and b/static/images/favicon.png differ diff --git a/static/images/logo.png b/static/images/logo.png new file mode 100644 index 0000000..af7aa59 Binary files /dev/null and b/static/images/logo.png differ diff --git a/themes/hugo-theme-learn b/themes/hugo-theme-learn new file mode 160000 index 0000000..0c0b906 --- /dev/null +++ b/themes/hugo-theme-learn @@ -0,0 +1 @@ +Subproject commit 0c0b906ae12f740c89c2d746060e58a3bf5ffb99