From 7a53ab39480f665e752d61c6db14b9a4fb3bdc64 Mon Sep 17 00:00:00 2001 From: ianrussel Date: Sat, 6 Mar 2021 22:16:47 +0800 Subject: [PATCH] update --- archetypes/default.md | 6 +++ config.toml | 85 ++++++++++++++++++++++++++++++++ layouts/404.html | 0 layouts/_default/baseof.html | 12 +++++ layouts/_default/list.html | 18 +++++++ layouts/_default/single.html | 12 +++++ layouts/index.html | 61 +++++++++++++++++++++++ layouts/partials/categories.html | 5 ++ layouts/partials/copyright.html | 15 ++++++ layouts/partials/footer.html | 14 ++++++ layouts/partials/head.html | 12 +++++ layouts/partials/header.html | 39 +++++++++++++++ layouts/partials/scripts.html | 36 ++++++++++++++ layouts/partials/tags.html | 5 ++ layouts/taxonomy/category.html | 18 +++++++ layouts/taxonomy/tag.html | 18 +++++++ 16 files changed, 356 insertions(+) create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/categories.html create mode 100644 layouts/partials/copyright.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/scripts.html create mode 100644 layouts/partials/tags.html create mode 100644 layouts/taxonomy/category.html create mode 100644 layouts/taxonomy/tag.html 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..6874d9c --- /dev/null +++ b/config.toml @@ -0,0 +1,85 @@ +baseURL = "https://ianrusseladem.com" +title = "Home" +languageCode = "en" +DefaultContentLanguage = "en" # Change this to change the site's language + +preserveTaxonomyNames = true + +[params] + # The name to display as main title in the home page + mainpagetitle = "Ian Russel Adem" + + # The subtitle to display under the title in the home page + mainpagesubtitle = "Welcome to the early 90s!" + + # The description of your website. It will be displayed in the home page + mainpagedesc = "I am a software developer with more than 6 years of experience. Well versed in OOP architecture" + + # The name to display in the copyright section in the footer + copyrightname = "Ian Russel Adem" + + # The url to use as link in the copyright name in the footer. Leave empty to use none. + copyrighturl = "" + + + # Urls for social networks + facebook = "https://www.facebook.com/ianrussel.adem.31" + linkedin = "https://www.linkedin.com/in/ian-russel-adem-6a4b71177/" + github = "https://github.com/ianrussel" + + + # Enables or disables the loading animations. false activates them. Default is false. + loadfastload = false + + # Sets the speed for the page loading effect. Default is 1.0. + loadspeedfactor = 1.0 + + # Enables or disables the second flyby cursor. Default is false. + loadonepass = false + +[params.copyright] + name = "Ian Russel Adem" + + + +[menu] + # This displays buttons in the navbar to access your contents + [[menu.main]] + identifier = "about" # An unique identifier for the button + name = "About" # A display name for the button + url = "/" # The path to the content. It can lead to a single page (like here) + weight = 10 # A number to order the buttons in the navbar + + + +[taxonomies] +category = "categories" +tag = "tags" + + +[privacy] + + [privacy.vimeo] + disabled = false + simple = true + + [privacy.twitter] + disabled = false + enableDNT = true + simple = true + + [privacy.instagram] + disabled = false + simple = true + + [privacy.youtube] + disabled = false + privacyEnhanced = true + +[services] + + [services.instagram] + disableInlineCSS = true + + [services.twitter] + disableInlineCSS = true \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..991a221 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,12 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + {{- partial "scripts.html" . -}} + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..d011a1b --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,18 @@ +{{ define "main" }} + + +{{ end }} + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..6cca59d --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} + + + +{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..5d7b1b2 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,61 @@ +{{ define "main" }} + + + +
+
+

{{ .Site.Params.mainpagesubtitle }}

+

+

{{ .Site.Params.mainpagedesc }}

+

+
+

+
+ +
+

Stacks

+ +

+

Frameworks

+ +

+

Devops

+ +

+

OS

+ +

+

Cloud Platform

+ +

+
+
+ +{{ end }} \ No newline at end of file diff --git a/layouts/partials/categories.html b/layouts/partials/categories.html new file mode 100644 index 0000000..909a281 --- /dev/null +++ b/layouts/partials/categories.html @@ -0,0 +1,5 @@ +{{range first 10 ($.Site.GetPage "taxonomyTerm" "categories").Pages }} +
  • + {{.Title}} +
  • +{{ end }} \ No newline at end of file diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html new file mode 100644 index 0000000..99b60be --- /dev/null +++ b/layouts/partials/copyright.html @@ -0,0 +1,15 @@ + +{{ with .Site.Params.Copyright.Prefix }} + {{ . | markdownify }} | +{{end}} +© +{{ with .Site.Params.copyright.url }}{{ end }} + {{ .Site.Params.copyright.name }} +{{ with .Site.Params.copyright.url }}{{ end }} +2021 ianrussel537@gmail.com +{{ with .Site.Params.Copyright.Suffix }} + | {{ . | markdownify }} +{{end}} +{{ if isset .Site.Params "showhugo" }} + | {{ i18n "builton" }} Hugo +{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..cb7e370 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,14 @@ + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..7c84942 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,12 @@ + + {{ .Site.Title }} + + + + + + + + {{/* Don't ask why it's like this. This original theme is a mess... */}} + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..7fe2281 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,39 @@ + + \ No newline at end of file diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html new file mode 100644 index 0000000..3e36a65 --- /dev/null +++ b/layouts/partials/scripts.html @@ -0,0 +1,36 @@ + + + +{{ range .Site.Params.customCSS -}} + +{{- end }} + + + + + + + + + + + + + + + + +{{- range .Site.Params.customJS }} + +{{- end }} \ No newline at end of file diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..df110f1 --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,5 @@ +{{range first 10 ($.Site.GetPage "taxonomyTerm" "tags").Pages }} +
  • + {{.Title}} +
  • +{{ end }} \ No newline at end of file diff --git a/layouts/taxonomy/category.html b/layouts/taxonomy/category.html new file mode 100644 index 0000000..22de77f --- /dev/null +++ b/layouts/taxonomy/category.html @@ -0,0 +1,18 @@ +{{ define "main" }} + + +{{ end }} + diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html new file mode 100644 index 0000000..73222c1 --- /dev/null +++ b/layouts/taxonomy/tag.html @@ -0,0 +1,18 @@ +{{ define "main" }} + + +{{ end }} +