From 42f24936ea07bb12ad77d17954af11401d62ac77 Mon Sep 17 00:00:00 2001
From: zzzmisa
Date: Mon, 5 Aug 2019 23:42:23 +0900
Subject: Initial commit
---
LICENSE | 21 +++++
README.md | 45 +++++++++++
archetypes/default.md | 2 +
exampleSite/config.toml | 63 +++++++++++++++
exampleSite/content/.gitignore | 2 +
exampleSite/static/images/work1.jpg | Bin 0 -> 122257 bytes
exampleSite/static/images/work2.jpg | Bin 0 -> 138403 bytes
exampleSite/static/images/work3.jpg | Bin 0 -> 294829 bytes
exampleSite/static/images/work4.jpg | Bin 0 -> 145048 bytes
exampleSite/static/images/work5.jpg | Bin 0 -> 160572 bytes
images/screenshot.png | Bin 0 -> 602549 bytes
images/screenshot_mb.png | Bin 0 -> 848516 bytes
images/tn.png | Bin 0 -> 375390 bytes
layouts/404.html | 0
layouts/index.html | 153 ++++++++++++++++++++++++++++++++++++
theme.toml | 12 +++
16 files changed, 298 insertions(+)
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 archetypes/default.md
create mode 100644 exampleSite/config.toml
create mode 100644 exampleSite/content/.gitignore
create mode 100644 exampleSite/static/images/work1.jpg
create mode 100644 exampleSite/static/images/work2.jpg
create mode 100644 exampleSite/static/images/work3.jpg
create mode 100644 exampleSite/static/images/work4.jpg
create mode 100644 exampleSite/static/images/work5.jpg
create mode 100644 images/screenshot.png
create mode 100644 images/screenshot_mb.png
create mode 100644 images/tn.png
create mode 100644 layouts/404.html
create mode 100644 layouts/index.html
create mode 100644 theme.toml
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d9208dc
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 zzzmisa
+
+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/README.md b/README.md
new file mode 100644
index 0000000..75ac401
--- /dev/null
+++ b/README.md
@@ -0,0 +1,45 @@
+# Hugo Theme Doors
+Single page theme for links to your works.
+See a real usage here: https://zzzmisa.com/
+
+## PC view
+![Doors screenshot](https://github.com/zzzmisa/hugo-theme-doors/blob/master/images/screenshot.png?raw=true)
+
+## Mobile view
+
+
+## Features
+* Links to your works
+* Responsive
+* SNS button
+* Google Analytics
+* Accelerated Mobile Pages (AMP) supported
+
+## Getting started
+The example of how to use this theme is provided in the `exampleSite` folder. At first, try running the example site. The contents of the site can be configured by `config.toml`. After the example site appears, rewrite `config.toml` with your own data to make your own site.
+
+## Run example site
+1. Install [Hugo](https://gohugo.io/).
+2. Create a new project folder to running the example site.
+ ```
+ $ mkdir mySite
+ ```
+3. Install this theme into your project folder.
+ ```
+ $ cd mySite
+ $ git clone https://github.com/zzzmisa/hugo-theme-doors.git themes/hugo-theme-doors
+ ```
+4. Copy the entire contents of the `exampleSite` to root folder of your project folder.
+ ```
+ $ cp -r themes/hugo-theme-doors/exampleSite/* .
+ ```
+5. Test the example site.
+ ```
+ $ hugo server -w
+ ```
+ See the result at http://localhost:1313/ on your browser.
+6. Build the example site.
+ ```
+ $ hugo
+ ```
+ Find result files in the `public` folder in the root of your project folder.
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..ac36e06
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,2 @@
++++
++++
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..35e7539
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,63 @@
+# Page settings
+
+baseurl = "https://example.org/"
+languageCode = "en-us"
+title = "Hugo Theme Doors"
+copyright = "© Hugo Theme Door"
+googleAnalytics = "UA-xxxxxxxx-x"
+disableKinds = ["taxonomy", "taxonomyTerm"]
+theme = "hugo-theme-doors"
+
+disableRSS = true
+disableSitemap = true
+disable404 = true
+
+# Site information
+[params]
+description = ""
+ogimage = "images/work1.jpg"
+
+# Project section
+[params.projects]
+
+[[params.projects.list]]
+title = "Name of the work 1"
+url = "#"
+description = "Describe your work summary"
+image = "images/work1.jpg"
+w = "780"
+h = "518"
+
+# Subproject section
+[params.subprojects]
+
+[[params.subprojects.list]]
+title = "The work 2"
+url = "#"
+description = "Lorem ipsum dolor sit amet"
+image = "images/work2.jpg"
+w = "780"
+h = "522"
+
+[[params.subprojects.list]]
+title = "The work 3"
+url = "#"
+description = "Consectetur adipiscing elit"
+image = "images/work3.jpg"
+w = "780"
+h = "518"
+
+[[params.subprojects.list]]
+title = "The work 4"
+url = "#"
+description = "Sed do eiusmod tempor incididunt"
+image = "images/work4.jpg"
+w = "780"
+h = "518"
+
+# Contact section
+[params.contact]
+twitter = "#"
+linkedin = "#"
+github = ""
+email = "#"
diff --git a/exampleSite/content/.gitignore b/exampleSite/content/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/exampleSite/content/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/exampleSite/static/images/work1.jpg b/exampleSite/static/images/work1.jpg
new file mode 100644
index 0000000..7dc6831
Binary files /dev/null and b/exampleSite/static/images/work1.jpg differ
diff --git a/exampleSite/static/images/work2.jpg b/exampleSite/static/images/work2.jpg
new file mode 100644
index 0000000..6f69c67
Binary files /dev/null and b/exampleSite/static/images/work2.jpg differ
diff --git a/exampleSite/static/images/work3.jpg b/exampleSite/static/images/work3.jpg
new file mode 100644
index 0000000..c74a309
Binary files /dev/null and b/exampleSite/static/images/work3.jpg differ
diff --git a/exampleSite/static/images/work4.jpg b/exampleSite/static/images/work4.jpg
new file mode 100644
index 0000000..d6dee2f
Binary files /dev/null and b/exampleSite/static/images/work4.jpg differ
diff --git a/exampleSite/static/images/work5.jpg b/exampleSite/static/images/work5.jpg
new file mode 100644
index 0000000..84c1454
Binary files /dev/null and b/exampleSite/static/images/work5.jpg differ
diff --git a/images/screenshot.png b/images/screenshot.png
new file mode 100644
index 0000000..ee0d832
Binary files /dev/null and b/images/screenshot.png differ
diff --git a/images/screenshot_mb.png b/images/screenshot_mb.png
new file mode 100644
index 0000000..ce57e15
Binary files /dev/null and b/images/screenshot_mb.png differ
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..8b7a22a
Binary files /dev/null and b/images/tn.png differ
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..e69de29
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..f4abb68
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+ {{ .Site.Title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ .Site.Title }}
+ {{ .Site.Params.description }}
+
+ {{ range .Site.Params.projects.list }}
+
+
+
+
+
+ {{ .title }}
+ {{ .description }}
+
+
+
+
+ {{ end }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/theme.toml b/theme.toml
new file mode 100644
index 0000000..0c107fa
--- /dev/null
+++ b/theme.toml
@@ -0,0 +1,12 @@
+name = "Doors"
+license = "MIT"
+licenselink = "https://github.com/zzzmisa/hugo-theme-doors/blob/master/LICENSE"
+description = "Single page theme for links to your works"
+homepage = "https://github.com/zzzmisa/hugo-theme-doors"
+tags = ["single page", "onepage", "one page", "amp", "mobile", "google-analytics", "projects", "portfolio"]
+features = []
+min_version = "0.53"
+
+[author]
+ name = "zzzmisa"
+ homepage = "https://zzzmisa.com/"
--
cgit v1.2.3