Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wileybaba/hugo-theme-robotico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwileybaba <wileymckayconte@gmail.com>2018-10-31 20:41:45 +0300
committerwileybaba <wileymckayconte@gmail.com>2018-10-31 20:41:45 +0300
commit6d24bb46624cfbe983fdff6151e35d9f5add7a8f (patch)
treebffc74693c03a080390ee4bebd8762bfa4881e83
parentc30c3cd4c1897e9893ac27cc71ec061c05176f63 (diff)
added example site
-rw-r--r--exampleSite/config.toml69
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--static/img/github.svg6
3 files changed, 74 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 941004f..1f82169 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,8 +4,8 @@ theme = "minimo"
paginate = 3
[params]
-logofile = "wileys.website/img/Robobrand.png"
-faviconfile = "wileys.website/img/Robobrand.png"
+logofile = "https://wileys.website/img/Robobrand.png"
+faviconfile = "https://wileys.website/img/Robobrand.png"
copyright = "Wiley McKay Conte 2018"
github = "wileybaba"
email = "baba@example.com"
@@ -19,3 +19,68 @@ defaultContentLanguage = 'en'
[[params.portfolio]]
link = ""
+
+[languages]
+ [languages.en]
+ languageCode = "en-us"
+ [[languages.en.menu.primary]]
+ identifier = "code"
+ name = "code"
+ url = "https://github.com/wileybaba"
+ weight = 10
+
+ [[languages.en.menu.primary]]
+ identifier = "portfolio"
+ name = "portfolio"
+ url = "/portfolio/"
+ weight = 20
+
+ [[languages.en.menu.primary]]
+ identifier = ""
+
+ [[languages.en.menu.primary]]
+ identifier = "booklist"
+ name = "booklist"
+ url = "/booklist/"
+ weight = 30
+
+ # [[languages.en.menu.secondary]]
+ # identifier = "patreon"
+ # name = "Learn More"
+ # url = "https://www.patreon.com/bePatron?u=10637849"
+ # weight = 110
+
+ [[languages.en.menu.secondary]]
+ identifier = "bmc"
+ name = "Buy me a coffee"
+ url = "https://www.buymeacoffee.com/wiley"
+ weight = 120
+
+ [languages.es]
+ languageCode = "es-us"
+ [[languages.es.menu.primary]]
+ identifier = "codigo"
+ name = "codigo"
+ url = "https://github.com/wileybaba"
+ weight = 10
+
+ [[languages.es.menu.primary]]
+ identifier = "portfolio"
+ name = "Portfolio"
+ url = "/portfolio/"
+ weight = 20
+
+ [[languages.es.menu.primary]]
+ identifier = ""
+
+ [[languages.es.menu.secondary]]
+ identifier = "patreon"
+ name = "Patreon"
+ url = "https://www.patreon.com/bePatron?u=10637849"
+ weight = 110
+
+ [[languages.es.menu.secondary]]
+ identifier = "bmc"
+ name = "Comprame Un Cafe"
+ url = "https://www.buymeacoffee.com/gokmen"
+ weight = 120
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 7211d51..7dd4239 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -22,7 +22,7 @@
{{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
- <img class="icon" src="{{ "github.svg" | relURL }}" alt="github" />
+ <img class="icon" src="{{ "img/github.svg" | relURL }}" alt="github" />
</a>
{{ end }}
diff --git a/static/img/github.svg b/static/img/github.svg
new file mode 100644
index 0000000..8a75650
--- /dev/null
+++ b/static/img/github.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+aria-label="GitHub" role="img"
+viewBox="0 0 512 512"><rect
+width="512" height="512"
+rx="15%"
+fill="#1B1817"/><path fill="#fff" d="M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-50c-71 16-86-28-86-28-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z"/></svg> \ No newline at end of file