commit 156bd8ddd69d461be95a64b477601b474b77f5d8 Author: louis Date: Thu Jan 14 11:21:49 2021 -0500 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e196470 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +**/*.swp diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ce28484 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-dusk"] + path = themes/hugo-dusk + url = https://github.com/gyorb/hugo-dusk 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..5b71ef4 --- /dev/null +++ b/config.toml @@ -0,0 +1,37 @@ +baseURL = "/" +languageCode = "en-us" +title = "YameteTomete Fansubs" +canonifyurls = true +theme = "hugo-dusk" +copyright = "2021 YameteTomete" +paginate = 3 + +[author] + name = "louis" + +SectionPagesMenu = "main" + +[markup] + [markup.highlight] + style = "rrt" + +[[menu.main]] + name = "Posts" + weight = -120 + identifier = "post" + url = "/post/" + +[[menu.main]] + name = "Tags" + weight = -110 + identifier = "tag" + url = "/tags/" + +[params.meta] + keywords = "symphogear, yametetomete, magireco" + description = "YameteTomete Fansubs Homepage" + +[params] + theme_colors = "purple-dark" + twitter = "YameteTomete" + discord = "https://discord.gg/fpQZQ8g" diff --git a/content/post/initial_post.md b/content/post/initial_post.md new file mode 100644 index 0000000..d223fcb --- /dev/null +++ b/content/post/initial_post.md @@ -0,0 +1,22 @@ ++++ +title = "Welcome to Our New Homepage" +decription = "" +tags = [ + "meta", +] +date = "2021-01-14" +categories = [ + "Meta", +] +summary = """ +Welcome to our new homepage. Check back to keep up-to-date with news and +announcements regarding our releases and scheduled projects. Don't forget to +also follow us on [Twitter](https://twitter.com/YameteTomete) and join our +[Discord](https://discord.gg/fpQZQ8g). +""" ++++ + +Welcome to our new homepage. Check back to keep up-to-date with news and +announcements regarding our releases and scheduled projects. Don't forget to +also follow us on [Twitter](https://twitter.com/YameteTomete) and join our +[Discord](https://discord.gg/fpQZQ8g). diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html new file mode 100644 index 0000000..b6403fa --- /dev/null +++ b/layouts/_default/summary.html @@ -0,0 +1,28 @@ +
+ +
+

{{ .Title }}

+
+
+ {{ .Date.Format "2 Jan, 2006" }} +
+ {{ partial "tags.html" . }} +
+ +
+ +
+ + {{ if .Params.postsummary }} + {{ .Params.postsummary | markdownify }} + {{ else }} + {{ .Summary }} + {{ end }} +
+ +
+ Read more +
+ + +
diff --git a/layouts/partials/social-links.html b/layouts/partials/social-links.html new file mode 100644 index 0000000..4a2857e --- /dev/null +++ b/layouts/partials/social-links.html @@ -0,0 +1,31 @@ + + diff --git a/static/css/purple-dark.css b/static/css/purple-dark.css new file mode 100644 index 0000000..4d26af6 --- /dev/null +++ b/static/css/purple-dark.css @@ -0,0 +1,173 @@ + +/* + * main green: #99cc66 + * */ + +:root { + --main-bg-color: #101010; + --main-text: #ffffff; + --main-sec: #7B1FA2; /* main secondary color for the site */ + --code-quote-bg: #1D1F21; /* background color for quotes and code blocks */ + --copyright: #808080; /* copyright text color */ +} + +body { + background: var(--main-bg-color); + color: var(--main-text); +} + +a { + color: var(--main-text); +} + +.__h_instagram.card { + border: 1px solid #303030 !important; +} + +.__h_instagram .card-text { + color: var(--main-text); +} + +.__h_instagram .card-header { + color: var(--main-bg-color); + background-color: #101010; +} + +.__h_instagram .card-body { + color: var(--main-bg-color); + background-color: #101010; +} + +pre { + background: var(--main-bg-color); + border: 1px solid #303030; + border-radius: 5px; +} + +code { + background-color: transparent; +} + +/* + * syntax highlight code block table backround + * looks better if overwritten. + * */ +.post .content .highlight table { + background-color: #202020 !important; +} + +blockquote { + background: var(--main-bg-color); + border-left: 3px solid var(--main-sec); +} + +table { margin: 1em auto; border-collapse: collapse; } +table, th, td { border: 1px solid #5C5C5C; } +tr:hover { background: #1D1F21; } +th { background: #101010; } +.siteTitle a { + color: var(--main-sec); +} + +.post { + background: #202020; + border-left: 1px solid #303030; + border-right: 1px solid #303030; + border-top: 1px solid #303030; + border-radius: 0.2em; + box-shadow: 0 1px 2px 0 #000000, 0 2px 5px 0 #000000; +} + +.post .content h1{ color: var(--main-sec); } +.post .content h2{ color: var(--main-sec); } +.post .content h3{ color: var(--main-sec); } +.post .content h4{ color: var(--main-sec); } +.post .content h5{ color: var(--main-sec); } +.post .content h6{ color: var(--main-sec); } +.post .content a:hover { color: var(--main-sec); } +.social-link:hover { color: var(--main-sec); } +.nav-item-title:hover { color: var(--main-sec); } +.tag a:hover { color: var(--main-sec); } +.copyright { color: var(--copyright); } +.poweredby { color: var(--copyright); } +.poweredby a { color: var(--copyright); } + +.post-preview { + border: 1px solid #303030; + border-radius: 0.2em; + box-shadow: 0 1px 2px 0 #000000, 0 2px 5px 0 #000000; + background: #202020; +} + +.post-preview .meta { + border-bottom: 1px solid #303030; +} + +.post-preview .title a { + color: var(--main-sec); +} + +.post-footer-data { + background-color: #101010; + border-bottom: 1px solid #303030; +} + +.post-footer hr { + color: #303030; +} + +.content-item { + background: #202020; + border: 1px solid #303030; + border-radius: 0.2em; + box-shadow: 0 1px 2px 0 #000000, 0 2px 5px 0 #000000; +} + +.content-item .meta { + border-top: 1px dotted #303030; +} + +.content-item a:hover{ + text-decoration: underline; + color: var(--main-sec); +} + +.post-list .title { + color: var(--main-sec); +} + +.rmore { + color: var(--main-text); +} + +.rmore a { + background: var(--main-bg-color); + border: 1px solid #303030; +} + +.rmore a:hover { + background: #202020; + color: var(--main-text); +} + +.terms { + background: #202020; + border: 1px solid #303030; + box-shadow: 0 1px 2px 0 #000000, 0 2px 5px 0 #000000; +} + +.terms .term { + border-bottom: 1px dotted #303030; +} + +.term a:hover { + text-decoration: underline; + color: var(--main-sec); +} + +.err-404 { + border: 1px solid #303030; + border-radius: 0.2em; + background: #202020; + box-shadow: 0 1px 2px 0 #000000, 0 2px 5px 0 #000000; +} diff --git a/themes/hugo-dusk b/themes/hugo-dusk new file mode 160000 index 0000000..0e15715 --- /dev/null +++ b/themes/hugo-dusk @@ -0,0 +1 @@ +Subproject commit 0e157150a086f4f384b8ee2fce3ee907955f1023