From 9023c1d9ab8cec9bdb811b5d138167bd7b7c2aa9 Mon Sep 17 00:00:00 2001 From: Blagovest Petrov Date: Wed, 8 Jul 2020 01:26:43 +0300 Subject: [PATCH] Website init Signed-off-by: Blagovest Petrov --- .gitmodules | 3 + Website/tangraplay/archetypes/default.md | 6 + Website/tangraplay/config.toml | 145 +++++++++++++++++++++++ Website/tangraplay/content/downloads.md | 11 ++ Website/tangraplay/themes/potato-dark | 1 + 5 files changed, 166 insertions(+) create mode 100644 .gitmodules create mode 100644 Website/tangraplay/archetypes/default.md create mode 100644 Website/tangraplay/config.toml create mode 100644 Website/tangraplay/content/downloads.md create mode 160000 Website/tangraplay/themes/potato-dark diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..50c34d6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Website/tangraplay/themes/potato-dark"] + path = Website/tangraplay/themes/potato-dark + url = https://github.com/surajmandalcell/potato-dark diff --git a/Website/tangraplay/archetypes/default.md b/Website/tangraplay/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/Website/tangraplay/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/Website/tangraplay/config.toml b/Website/tangraplay/config.toml new file mode 100644 index 0000000..f87e076 --- /dev/null +++ b/Website/tangraplay/config.toml @@ -0,0 +1,145 @@ +baseurl = "https://tangraplay.petrovs.info" + +languageCode = "bg-bg" + +Title = "TangraPlay" + +# Copyright notice. This is displayer in the footer. + +copyright = "© 2020 Blagovest Petrov" + +theme = "potato-dark" + + + +[params] + + paginate = 10 + + # Social accounts. Link to these accounts are displayed in the header and + + # footer + + # twitter = "Your Twitter username" + + # facebook = "Your Facebook username" + + # instagram = "Your Instagram username" + + # github = "Your GitHub username" + + gitlab = "https://code.petrovs.info" + + # npm = "Your npm username" + + # codepen = "Your CodePen username" + + # dribbble = "Your Dribbble username" + + # fivehundredpx = "Your 500px username" # 500px + + # flickr = "Your Flickr username" + + # pinterest = "Your Pinterest username" + + # tumblr = "Your Tumblr username" + + # vimeo = "Your Vimeo username" + + # youtube = "Your YouTube username" + + # linkedin = "Your LinkedIn username" + + # Disqus shortname + + # disqus = "" + + # Google Analytics API key. + + # ga_api_key = "Your Google Analytics tracking id" + + # Logo image. This is displayed ogp image. + + # logo = "/path/to/logo" + + # favicon = "/path/to/favicon" + + + +[[menu.main]] + + name = "Начало" + + url = "/" + + weight = 1 + + + +[[menu.main]] + + name = "Снимки" + + url = "/screenshots" + + weight = 2 + + + +[[menu.main]] + + name = "Сваляне" + + url = "/downloads" + + weight = 3 + + + +[related] + + # Only include matches with rank >= threshold. This is a normalized rank between 0 and 100. + + threshold = 80 + + + + # To get stable "See also" sections we, by default, exclude newer related pages. + + includeNewer = false + + + + # Will lower case keywords in both queries and in the indexes. + + toLower = false + + + + [[related.indices]] + + name = "keywords" + + weight = 150 + + [[related.indices]] + + name = "author" + + toLower = true + + weight = 30 + + [[related.indices]] + + name = "tags" + + weight = 100 + + [[related.indices]] + + name = "date" + + weight = 10 + + pattern = "2017" diff --git a/Website/tangraplay/content/downloads.md b/Website/tangraplay/content/downloads.md new file mode 100644 index 0000000..4ef7ec4 --- /dev/null +++ b/Website/tangraplay/content/downloads.md @@ -0,0 +1,11 @@ +--- +title: "Downloads" +date: 2020-07-08T01:22:52+03:00 +draft: false +--- + + +# За Windows + +[64 битова версия](http://foo.com) + diff --git a/Website/tangraplay/themes/potato-dark b/Website/tangraplay/themes/potato-dark new file mode 160000 index 0000000..285fca4 --- /dev/null +++ b/Website/tangraplay/themes/potato-dark @@ -0,0 +1 @@ +Subproject commit 285fca4b0b1da3925f98e3e30dbedc4d4a975aea