From 954a775d58562a0ff882287d34d7a50f93edd53b Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Mon, 9 Jan 2023 22:52:54 -0500 Subject: [PATCH] Initial commit --- .gitignore | 2 ++ archetypes/default.md | 6 ++++++ config.toml | 4 ++++ content/_index.md | 7 +++++++ themes/v2/LICENSE | 20 ++++++++++++++++++++ themes/v2/archetypes/default.md | 2 ++ themes/v2/layouts/404.html | 0 themes/v2/layouts/_default/baseof.html | 11 +++++++++++ themes/v2/layouts/_default/list.html | 0 themes/v2/layouts/_default/single.html | 0 themes/v2/layouts/index.html | 3 +++ themes/v2/layouts/partials/footer.html | 0 themes/v2/layouts/partials/head.html | 4 ++++ themes/v2/layouts/partials/header.html | 3 +++ themes/v2/theme.toml | 21 +++++++++++++++++++++ 15 files changed, 83 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 themes/v2/LICENSE create mode 100644 themes/v2/archetypes/default.md create mode 100644 themes/v2/layouts/404.html create mode 100644 themes/v2/layouts/_default/baseof.html create mode 100644 themes/v2/layouts/_default/list.html create mode 100644 themes/v2/layouts/_default/single.html create mode 100644 themes/v2/layouts/index.html create mode 100644 themes/v2/layouts/partials/footer.html create mode 100644 themes/v2/layouts/partials/head.html create mode 100644 themes/v2/layouts/partials/header.html create mode 100644 themes/v2/theme.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7e3002 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.hugo_build.lock +public 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..40e77f7 --- /dev/null +++ b/config.toml @@ -0,0 +1,4 @@ +baseURL = 'https://davideisinger.com/' +languageCode = 'en-us' +title = 'David Eisinger' +theme = 'v2' diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..5f3a39b --- /dev/null +++ b/content/_index.md @@ -0,0 +1,7 @@ +## Software Developer, Durham NC + +New site coming soon. + +[Version 1 of this website available here][1] + +[1]: https://v1.davideisinger.com diff --git a/themes/v2/LICENSE b/themes/v2/LICENSE new file mode 100644 index 0000000..17993f6 --- /dev/null +++ b/themes/v2/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2023 YOUR_NAME_HERE + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/v2/archetypes/default.md b/themes/v2/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/themes/v2/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/v2/layouts/404.html b/themes/v2/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/v2/layouts/_default/baseof.html b/themes/v2/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/themes/v2/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/v2/layouts/_default/list.html b/themes/v2/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/v2/layouts/_default/single.html b/themes/v2/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/themes/v2/layouts/index.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/themes/v2/layouts/partials/footer.html b/themes/v2/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/v2/layouts/partials/head.html b/themes/v2/layouts/partials/head.html new file mode 100644 index 0000000..8a50891 --- /dev/null +++ b/themes/v2/layouts/partials/head.html @@ -0,0 +1,4 @@ + + + {{ .Site.Title }} + diff --git a/themes/v2/layouts/partials/header.html b/themes/v2/layouts/partials/header.html new file mode 100644 index 0000000..9e44334 --- /dev/null +++ b/themes/v2/layouts/partials/header.html @@ -0,0 +1,3 @@ +
+

{{ .Site.Title }}

+
diff --git a/themes/v2/theme.toml b/themes/v2/theme.toml new file mode 100644 index 0000000..07fc471 --- /dev/null +++ b/themes/v2/theme.toml @@ -0,0 +1,21 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "V2" +license = "MIT" +licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" +description = "" +homepage = "http://example.com/" +tags = [] +features = [] +min_version = "0.41.0" + +[author] + name = "" + homepage = "" + +# If porting an existing theme +[original] + name = "" + homepage = "" + repo = ""