From ea6fa8bbc08508cd145b618fa0fe75823805e0e6 Mon Sep 17 00:00:00 2001 From: Derek Severin Date: Mon, 10 Sep 2018 14:13:58 +0700 Subject: First commit --- archetypes/default.md | 27 + archetypes/section.md | 12 + archetypes/subsection.md | 19 + layouts/404.html | 43 + layouts/_default/baseof.html | 47 + layouts/_default/li.html | 8 + layouts/_default/limage.html | 34 + layouts/_default/list.html | 6 + layouts/_default/single.html | 46 + layouts/index.html | 16 + layouts/partials/footer.html | 2 + layouts/partials/head.html | 47 + layouts/partials/header.html | 2 + layouts/partials/homepage.html | 31 + layouts/partials/nav.html | 62 + layouts/partials/pages/hero.html | 21 + layouts/partials/pages/lists.html | 45 + layouts/partials/pages/sidebar.html | 79 + layouts/partials/pages/title.html | 26 + layouts/partials/sections/about.html | 37 + layouts/partials/sections/contact.html | 63 + layouts/partials/sections/home.html | 30 + layouts/partials/sections/projects.html | 23 + layouts/partials/sections/services.html | 48 + layouts/partials/sections/skills.html | 69 + layouts/partials/tail.html | 7 + layouts/partials/utils/get-keywords.html | 36 + layouts/partials/utils/get-number-columns.html | 25 + layouts/partials/utils/list-keywords.html | 16 + layouts/partials/utils/ordered-list.html | 42 + static/css/custom.css | 114 + static/css/default.css | 34 + static/css/theme.css | 1190 ++++++ static/js/theme.js | 48 + static/plugins/animate/animate.min.css | 6 + static/plugins/bootstrap/css/bootstrap.min.css | 5 + static/plugins/bootstrap/js/bootstrap.min.js | 7 + static/plugins/font-awesome/css/all.css | 3809 ++++++++++++++++++++ .../font-awesome/webfonts/fa-brands-400.eot | Bin 0 -> 118560 bytes .../font-awesome/webfonts/fa-brands-400.svg | 1154 ++++++ .../font-awesome/webfonts/fa-brands-400.ttf | Bin 0 -> 118324 bytes .../font-awesome/webfonts/fa-brands-400.woff | Bin 0 -> 76344 bytes .../font-awesome/webfonts/fa-brands-400.woff2 | Bin 0 -> 65316 bytes .../font-awesome/webfonts/fa-regular-400.eot | Bin 0 -> 40576 bytes .../font-awesome/webfonts/fa-regular-400.svg | 467 +++ .../font-awesome/webfonts/fa-regular-400.ttf | Bin 0 -> 40348 bytes .../font-awesome/webfonts/fa-regular-400.woff | Bin 0 -> 18168 bytes .../font-awesome/webfonts/fa-regular-400.woff2 | Bin 0 -> 14868 bytes .../plugins/font-awesome/webfonts/fa-solid-900.eot | Bin 0 -> 180720 bytes .../plugins/font-awesome/webfonts/fa-solid-900.svg | 2444 +++++++++++++ .../plugins/font-awesome/webfonts/fa-solid-900.ttf | Bin 0 -> 180500 bytes .../font-awesome/webfonts/fa-solid-900.woff | Bin 0 -> 86876 bytes .../font-awesome/webfonts/fa-solid-900.woff2 | Bin 0 -> 67400 bytes static/plugins/jquery/jquery.easing.min.js | 44 + static/plugins/jquery/jquery.fittext.js | 43 + static/plugins/jquery/jquery.js | 4 + static/plugins/jquery/wow.min.js | 2 + 57 files changed, 10340 insertions(+) create mode 100644 archetypes/default.md create mode 100644 archetypes/section.md create mode 100644 archetypes/subsection.md create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/li.html create mode 100644 layouts/_default/limage.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/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/homepage.html create mode 100644 layouts/partials/nav.html create mode 100644 layouts/partials/pages/hero.html create mode 100644 layouts/partials/pages/lists.html create mode 100644 layouts/partials/pages/sidebar.html create mode 100644 layouts/partials/pages/title.html create mode 100644 layouts/partials/sections/about.html create mode 100644 layouts/partials/sections/contact.html create mode 100644 layouts/partials/sections/home.html create mode 100644 layouts/partials/sections/projects.html create mode 100644 layouts/partials/sections/services.html create mode 100644 layouts/partials/sections/skills.html create mode 100644 layouts/partials/tail.html create mode 100644 layouts/partials/utils/get-keywords.html create mode 100644 layouts/partials/utils/get-number-columns.html create mode 100644 layouts/partials/utils/list-keywords.html create mode 100644 layouts/partials/utils/ordered-list.html create mode 100644 static/css/custom.css create mode 100644 static/css/default.css create mode 100644 static/css/theme.css create mode 100644 static/js/theme.js create mode 100644 static/plugins/animate/animate.min.css create mode 100644 static/plugins/bootstrap/css/bootstrap.min.css create mode 100644 static/plugins/bootstrap/js/bootstrap.min.js create mode 100644 static/plugins/font-awesome/css/all.css create mode 100644 static/plugins/font-awesome/webfonts/fa-brands-400.eot create mode 100644 static/plugins/font-awesome/webfonts/fa-brands-400.svg create mode 100644 static/plugins/font-awesome/webfonts/fa-brands-400.ttf create mode 100644 static/plugins/font-awesome/webfonts/fa-brands-400.woff create mode 100644 static/plugins/font-awesome/webfonts/fa-brands-400.woff2 create mode 100644 static/plugins/font-awesome/webfonts/fa-regular-400.eot create mode 100644 static/plugins/font-awesome/webfonts/fa-regular-400.svg create mode 100644 static/plugins/font-awesome/webfonts/fa-regular-400.ttf create mode 100644 static/plugins/font-awesome/webfonts/fa-regular-400.woff create mode 100644 static/plugins/font-awesome/webfonts/fa-regular-400.woff2 create mode 100644 static/plugins/font-awesome/webfonts/fa-solid-900.eot create mode 100644 static/plugins/font-awesome/webfonts/fa-solid-900.svg create mode 100644 static/plugins/font-awesome/webfonts/fa-solid-900.ttf create mode 100644 static/plugins/font-awesome/webfonts/fa-solid-900.woff create mode 100644 static/plugins/font-awesome/webfonts/fa-solid-900.woff2 create mode 100644 static/plugins/jquery/jquery.easing.min.js create mode 100644 static/plugins/jquery/jquery.fittext.js create mode 100644 static/plugins/jquery/jquery.js create mode 100644 static/plugins/jquery/wow.min.js diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..e8eb876 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,27 @@ +--- +# Template for projects. +title: "" +subtitle: "" +#image: "" +#small_image: "" +#small_url: "" +categories: [ "" ] +tags: [ "" ] +#resources: +##For each "logo" image file: +#- src: "logos/" +# title: "" +##For each "image" image file: +#- src: "images/" +# title: "" +# params: +# copyright: "" +--- + +CLIENT: ... + +DESCRIPTION:
+... + +ROLE:
+... diff --git a/archetypes/section.md b/archetypes/section.md new file mode 100644 index 0000000..56d6d50 --- /dev/null +++ b/archetypes/section.md @@ -0,0 +1,12 @@ +--- +title: "" +#showsections: #default: true +sections_title: "" +#sections_order: "" #default: "title" +#sections_order_reverse: #default: false +#showposts: #default: true +posts_title: "" +#posts_order: "" #default: "date" +#posts_order_reverse: #default: true +#showbrothers: #default: true +--- diff --git a/archetypes/subsection.md b/archetypes/subsection.md new file mode 100644 index 0000000..bc01622 --- /dev/null +++ b/archetypes/subsection.md @@ -0,0 +1,19 @@ +--- +# Template for subsections, such as a company or a category. +title: "" +subtitle: "" +#startDate: "YYYY-MM-DD" +#endDate: "YYYY-MM-DD" +#image: "" +#image_copyright: "" +#small_image: "" +#small_url: "" +#showposts: #default: true +posts_title: "" +#posts_order: "" #default: "date" +#posts_order_reverse: #default: true +#showbrothers: #default: true +--- + +Description:
+... diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..842c9b6 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,43 @@ + + + {{ "" | safeHTML }} + + {{ partial "head.html" . }} + + + + {{ partial "nav.html" (dict "context" . "fixed" false) }} + +
+ {{ with .Site.Params.page404 }} +
+
+
+ {{ with .background_image }} +
+
+ {{ end }} +
+

404

+
+
+

{{ .text | markdownify }}

+
+
+ + {{ with .button_text }} + {{ . }} + {{ end }} + +
+
+
+ {{ end }} +
+ + {{ partial "footer.html" . }} + {{ partial "tail.html" . }} + + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..6fa2314 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,47 @@ + + + + {{ partial "head.html" . }} + + + + {{ block "header" . }} +
+ {{ partial "nav.html" (dict "context" . "fixed" false) }} + {{ partial "pages/hero.html" . }} +
+ {{ end }} + + {{ block "body" . }} +
+ {{ block "sidebar" . }} + {{ partial "pages/sidebar.html" . }} + {{ end }} +
+
+
+ {{ block "title" . }} + {{ partial "pages/title.html" . }} + {{ end }} + + {{ block "content" . }}{{ end }} + + {{ block "lists" . }} + {{ partial "pages/lists.html" . }} + {{ end }} +
+
+
+
+ {{ end }} + + {{ block "footer" . }} +
+ {{ partial "footer.html" . }} +
+ {{ end }} + {{ block "tail" . }} + {{ partial "tail.html" . }} + {{ end }} + + diff --git a/layouts/_default/li.html b/layouts/_default/li.html new file mode 100644 index 0000000..8532cec --- /dev/null +++ b/layouts/_default/li.html @@ -0,0 +1,8 @@ +
  • + {{ .Title }} + {{ with .Params.subtitle }} +

    + {{ . | markdownify }} +

    + {{ end }} +
  • diff --git a/layouts/_default/limage.html b/layouts/_default/limage.html new file mode 100644 index 0000000..c2ad958 --- /dev/null +++ b/layouts/_default/limage.html @@ -0,0 +1,34 @@ + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..dba9cb4 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,6 @@ +{{ define "content" }} + {{ with .Content}} + {{ . | markdownify }} +
    + {{ end }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..8b606f5 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,46 @@ +{{ define "content" }} + {{ $logos := .Resources.Match "logos/*" }} + {{ if gt (len $logos) 0 }} + + {{ end }} + + {{ with .Content}} +
    + {{ . | markdownify }} +
    +
    + {{ end }} + + {{ $images := .Resources.Match "images/*" }} + {{ if gt (len $images) 0 }} + + {{ end }} +{{ end }} + +{{ define "lists" }} +{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..ccb045e --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,16 @@ + + + + {{ partial "head.html" . }} + + +
    + {{ partial "header.html" . }} +
    + {{ partial "homepage.html" . }} +
    + {{ partial "footer.html" . }} +
    + {{ partial "tail.html" . }} + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..684e38e --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,2 @@ +{{ "" | safeHTML }} +

    Powered by Hugo ...

    diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..512966b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,47 @@ +{{ "" | safeHTML }} + + + + +{{ "" | safeHTML }} +{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }} + +{{ with .Site.Params.meta.author }} + +{{ end }} +{{ with .Site.Params.meta.description }} + +{{ end }} + + + +{{ .Hugo.Generator }} + +{{ "" | safeHTML }} + + + +{{ "" | safeHTML }} + + +{{ "" | safeHTML }} + + + + +{{ "" | safeHTML }} + + +{{ "" | safeHTML }} + +{{ range .Site.Params.custom_css }} + +{{ end }} + + +{{ "" | safeHTML }} +{{ "" | safeHTML }} +{{ "" | safeHTML }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e5e67d9 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,2 @@ +{{ "" | safeHTML }} +{{ partial "nav.html" (dict "context" . "fixed" true) }} diff --git a/layouts/partials/homepage.html b/layouts/partials/homepage.html new file mode 100644 index 0000000..f8faec7 --- /dev/null +++ b/layouts/partials/homepage.html @@ -0,0 +1,31 @@ +{{ "" | safeHTML }} + +{{ $sections := .Site.Params.homepage.sections }} + +{{ if in $sections "home" }} + {{ partial "sections/home.html" . }} +{{ end }} + +{{ if in $sections "about" }} + {{ partial "sections/about.html" . }} +{{ end }} + +{{ if in $sections "services" }} + {{ partial "sections/services.html" . }} +{{ end }} + +{{ if in $sections "skills" }} + {{ partial "sections/skills.html" . }} +{{ end }} + +{{ if in $sections "projects" }} + {{ range .Site.Params.projects.categories }} + {{ with $.Site.GetPage "section" . }} + {{ partial "sections/projects.html" . }} + {{ end }} + {{ end }} +{{ end }} + +{{ if in $sections "contact" }} + {{ partial "sections/contact.html" . }} +{{ end }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..abca1a2 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,62 @@ +{{ $fixed := .fixed }} +{{ with .context }} + {{ if .Site.Params.navigation.links }} + {{ "" | safeHTML }} + {{ if $fixed }} +