Merge pull request #1 from EDUDD22/dev

Dev
This commit is contained in:
EDUDD22 2020-12-02 09:02:41 +01:00 committed by GitHub
commit fcbd3bcff1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 4463 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/public

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/syna"]
path = themes/syna
url = https://git.okkur.org/syna

View file

@ -1,3 +1,141 @@
baseURL = "http://example.org/"
# Site settings
baseurl = ""
languageCode = "en-us"
title = "Aroy"
theme = "syna"
enableGitInfo = true
version = "0.17.3"
# Google Analytics tracking
googleAnalytics = ""
disableKinds = ["RSS", "taxonomy", "taxonomyTerm"]
[outputs]
home = ["HTML", "JSON"]
[frontmatter]
date = ["date", "lastmod"]
lastmod = ["lastmod", ":git", "date"]
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[params]
name = "Aroy Art"
description = "I am a hobby programmer and artist."
[params.style]
#background = "secondary"
# Theme customizations
# Assets relative to 'static/'
[params.custom]
favicon = "favicon.ico"
favicon_ico_sizes = "16x16 32x32"
favicon_png = "favicon.png"
favicon_svg = "favicon.svg"
# Piwik tracking
[params.analytics.piwik]
#url = ""
#id = ""
#domain = "" # Track subdomains via "*.example.com"
# Optional hash for integrity check
#hash = "sha512-RfeD0pacGTqy9m7U6PgehQfS4cc7SIt+e+P+H5e848kEvB/RW84CUGO3O4O3LNbxjevym6KPUZ8muPsMrI8WIw=="
# Optional, global disable switch for fontawesome related files
# For custom fontawesome js files use the custom.js method
[params.fontawesome]
disabled = false
pro = false
[params.colors]
primary = "#00838F"
secondary = "#868e96"
success = "#008f54"
info = "#00c9dc"
warning = "#fdf314"
danger = "#dc1200"
light = "#f8f9fa"
dark = "#343a40"
# main/prepend/postpend menus are displayed in nav fragment.
# Keep an eye out for updates. These will be moved out to make navbar more
# configurable.
[[menu.main]]
url = "/"
name = "Home"
weight = 10
[[menu.main]]
url = "/portfolio"
name = "Portfolio"
weight = 20
[[menu.main]]
url = "/blog"
name = "Blog"
weight = 30
[[menu.main]]
url = "/about"
name = "About Me"
weight = 40
[[menu.main]]
url = "#contact"
name = "Contact"
weight = 50
[[menu.footer]]
url = "#"
name = "Link"
weight = 10
[[menu.footer]]
url = "#"
name = "Long Link"
weight = 30
[[menu.footer]]
url = "#"
name = "Tiny Link"
weight = 30
[[menu.copyright_footer]]
url = "/about"
name = "About Me"
weight = 10
#[[menu.copyright_footer]]
# url = "#"
# name = "Another Link"
# weight = 30
[[menu.footer_social]]
weight = 10
name = "Reddit"
pre = "fab fa-reddit-alien"
url = "https://www.reddit.com/user/EDUDD22"
[[menu.footer_social]]
weight = 20
name = "GitHub"
pre = "fab fa-github"
url = "https://github.com/EDUDD22"
[[menu.footer_social]]
weight = 30
name = "Twitter"
pre = "fab fa-twitter"
url = "https://twitter.com/EDUDD22"
[[menu.footer_social]]
weight = 40
name = "Discord"
pre = "fab fa-discord"
url = "https://discord.com/invite/25gW5KN"

16
content/_global/404.md Normal file
View file

@ -0,0 +1,16 @@
+++
date = "2020-12-1"
fragment = "404"
weight = 150
#title = "" # default i18n "404.title"
#subtitle = "" # default i18n "404.subtitle"
#redirect_text = "" # default i18n "404.direction"
#button_text = "" # default i18n "404.button"
#redirect_url = "" # default /
[asset]
image = "logo.svg"
width = "500px" # optional - will default to image width
#height = "150px" # optional - will default to image height
+++

View file

@ -0,0 +1,10 @@
+++
fragment = "copyright"
#disabled = true
date = "2020-12-1"
weight = 1250
copyright = "" # default: Copyright $Year .Site.params.name
attribution = true # enable attribution by setting it to true
background = "dark"
+++

21
content/_global/footer.md Normal file
View file

@ -0,0 +1,21 @@
+++
fragment = "footer"
#disabled = true
date = "2020-12-1"
weight = 1200
background = "secondary"
menu_title = "Link Title"
[asset]
title = "Logo Title"
image = "logo.svg"
text = "Logo Subtext"
url = "#"
+++
#### Description Title
Project description such as:
Open source theme for your next project
Provided by Okkur Labs

3
content/_global/index.md Normal file
View file

@ -0,0 +1,3 @@
+++
headless = true
+++

19
content/_global/nav.md Normal file
View file

@ -0,0 +1,19 @@
+++
fragment = "nav"
disabled = false
date = "2020-12-1"
weight = 0
background = "dark"
search = true
sticky = true
#[repo_button]
# url = "https://github.com/okkur/syna"
# text = "Star" # default: "Star"
# icon = "fab fa-github" # defaults: "fab fa-github"
# Branding options
[asset]
image = "logo.svg"
text = "EDUDD22"
+++

6
content/_index.md Normal file
View file

@ -0,0 +1,6 @@
+++
title = "Aroy"
date = "2020-12-01"
description = "I am a hobby programmer and artist."
+++

51
content/_index/contact.md Normal file
View file

@ -0,0 +1,51 @@
+++
fragment = "contact"
#disabled = true
date = "2020-12-01"
weight = 1100
#background = "light"
form_name = "defaultContact"
title = "Contact Me"
# subtitle = "*not working on demo page*"
# PostURL can be used with backends such as mailout from caddy
post_url = "https://example.com/mailout" #default: formspree.io
email = "mail@example.com"
button = "Send Button" # defaults to theme default
#netlify = false
# Optional google captcha
#[recaptcha]
# sitekey = ""
[message]
success = "" # defaults to theme default
#error = "" # defaults to theme default
# Only defined fields are shown in contact form
[fields.name]
text = "Your Name *"
#error = "" # defaults to theme default
[fields.email]
text = "Your Email *"
#error = "" # defaults to theme default
#[fields.phone]
# text = "Your Phone *"
# #error = "" # defaults to theme default
[fields.message]
text = "Your Message *"
#error = "" # defaults to theme default
# Optional hidden form fields
# Fields "page" and "site" will be autofilled
[[fields.hidden]]
name = "page"
[[fields.hidden]]
name = "someID"
value = "example.com"
+++

34
content/_index/hero.md Normal file
View file

@ -0,0 +1,34 @@
+++
fragment = "hero"
#disabled = true
date = "2020-12-01"
weight = 50
background = "light" # can influence the text color
particles = true
title = "Aroy"
subtitle = "I am a hobby programmer and artist."
[header]
image = "header.jpg"
[asset]
image = "logo.svg"
width = "500px" # optional - will default to image width
#height = "150px" # optional - will default to image height
[[buttons]]
text = "Portfolio"
url = "/portfolio"
color = "info" # primary, secondary, success, danger, warning, info, light, dark, link - default: primary
#[[buttons]]
# text = "Download"
# url = "https://github.com/okkur/syna/releases"
# color = "primary"
[[buttons]]
text = "Blog"
url = "/blog"
color = "primary"
+++

3
content/_index/index.md Normal file
View file

@ -0,0 +1,3 @@
+++
headless = true
+++

View file

@ -0,0 +1,8 @@
+++
fragment = "sample-custom-fragment"
#disabled = false
date = "2020-12-01"
weight = 1000
background = "light"
+++

32
content/about/content.md Normal file
View file

@ -0,0 +1,32 @@
+++
fragment = "content"
#disabled = true
date = "2020-12-01"
weight = 100
#background = ""
title = "About me"
#subtitle = "I am a hobby programmer and artist."
+++
Open Source Theme from Okkur for your next project.
Syna is based on the awesome work by digitalcraftsman with his Hugo Agency Theme.
The Hugo Agency Theme was based on the work of David Miller with his Startupbootstrap Agency Theme.
**Provided with <3 by Okkur Labs**
---
To actually test out the full single page some Lorem Ipsum:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a lorem urna. Quisque in neque malesuada, sollicitudin nunc porttitor, ornare est. Praesent ante enim, bibendum sed hendrerit et, iaculis laoreet felis. Morbi efficitur dui sit amet orci porttitor, nec tincidunt turpis elementum. Suspendisse rutrum, mi ac sollicitudin blandit, eros sem tincidunt enim, vitae feugiat turpis eros ut diam. Nunc hendrerit, nibh vitae dignissim pretium, magna nulla lacinia massa, et interdum lacus purus ultricies lacus. Nulla tincidunt quis lacus in posuere. Integer urna lorem, ultricies ut est vel, rhoncus euismod metus. Vestibulum luctus maximus massa, ut egestas est iaculis in. Nunc nisi dolor, sodales et imperdiet ut, lacinia ac justo. Phasellus ultrices risus cursus maximus lobortis. Vestibulum sagittis elementum dignissim. Suspendisse iaculis venenatis nisl, sed bibendum urna. Aliquam quis pellentesque tortor. Sed sed cursus nisl. Aenean eu lorem condimentum, feugiat mauris vitae, hendrerit tellus.
Morbi ac sapien at risus volutpat tincidunt. Sed vel lobortis nisl. Sed mattis facilisis dui quis luctus. Aliquam bibendum venenatis tellus, non interdum nunc convallis in. Sed elementum aliquam tortor, vel consectetur sem sollicitudin sit amet. Nullam in elit turpis. Phasellus sagittis lacus massa, eu porta erat dapibus a. Phasellus placerat, nisi nec molestie accumsan, elit ex rutrum augue, ac pulvinar nulla nisl id velit. Pellentesque sapien dolor, tempus vitae elementum in, gravida ac arcu. Morbi facilisis, mi eget fringilla posuere, lorem ipsum euismod ex, id consequat lacus nisl ac tortor. Vivamus pulvinar dui non arcu lacinia faucibus. Vestibulum sapien leo, pretium in ligula et, aliquet mattis augue. Vestibulum tristique mi ultrices suscipit placerat. Nunc vehicula volutpat tellus sed fringilla.
Curabitur ipsum ipsum, malesuada at tempus sed, pretium vulputate nunc. Praesent nec lectus ut mauris cursus hendrerit a vitae risus. Aliquam sodales lorem nisl, ut euismod dolor interdum ac. Vivamus facilisis justo vulputate augue finibus imperdiet. Aenean sem magna, tempus id orci eu, sodales pulvinar metus. Nullam pharetra ornare est. Vestibulum aliquet turpis et porttitor euismod. Nulla vitae orci orci. Suspendisse fringilla faucibus blandit. Nulla suscipit nulla ut massa elementum sollicitudin. Vivamus ultrices ipsum arcu, in vestibulum erat aliquam quis. Suspendisse eget mauris tellus. Maecenas euismod blandit odio, sed pellentesque orci mollis eget. Sed eget magna eu justo mollis hendrerit.
Suspendisse molestie, tellus quis finibus facilisis, nulla neque euismod mi, at aliquet lectus arcu ac neque. Proin lacus augue, porttitor in odio vitae, sollicitudin laoreet mi. Donec posuere hendrerit augue hendrerit ornare. Duis vestibulum, nisl sit amet cursus lobortis, felis sapien consequat augue, et accumsan eros ligula id nisl. Praesent iaculis fringilla molestie. Sed consequat nec mi vel venenatis. Nunc felis dui, bibendum ac laoreet pretium, cursus ut orci. Nullam risus nulla, tempus ut bibendum quis, consectetur in risus.
Etiam eget metus elit. Praesent turpis mi, malesuada nec libero a, cursus varius leo. In malesuada gravida est, nec maximus turpis posuere eu. Proin rutrum mattis lectus. Ut mi elit, tincidunt ut aliquet consequat, facilisis vitae arcu. Proin ut massa auctor, imperdiet sem ac, varius justo. Integer porta tellus quis eros sollicitudin mollis. Donec nulla sem, porttitor et velit vitae, tincidunt congue erat. Vivamus urna libero, viverra non pharetra eu, bibendum id arcu. In fermentum bibendum purus, vitae pharetra ipsum gravida quis. Nunc vitae congue diam. Maecenas pharetra orci vel magna fermentum, vitae auctor sapien consectetur. Nunc tempor erat vel nisi ullamcorper mollis. Sed et lectus accumsan, pharetra nunc scelerisque, finibus leo. Sed tempor eros nec nunc porta sodales.

4
content/about/index.md Normal file
View file

@ -0,0 +1,4 @@
+++
title = "About Me"
date = "2020-12-01"
+++

8
content/blog/_index.md Normal file
View file

@ -0,0 +1,8 @@
+++
date = "2020-12-01"
fragment = "list" # declare list fragment
weight = 100
title = "Blog"
section = "blog" # section to pull the list of pages
+++

View file

@ -0,0 +1,3 @@
+++
headless = true
+++

View file

@ -0,0 +1,13 @@
+++
date = "2020-12-01"
fragment = "list" # declare list fragment
weight = 150
#title_align = "left" # Default is center, can be left, right or center
section = "blog" # section to pull the list of pages
tiled = true
display_date = true
collapsible = false
#count = 5
+++

View file

@ -0,0 +1,6 @@
+++
fragment = "content"
weight = 100
+++
Hello world! This is my first blog post.

View file

@ -0,0 +1,4 @@
+++
title = "Hello World!"
date = "2020-12-01"
+++

View file

@ -0,0 +1,27 @@
{{- $fragment := .self.Params -}}
{{- $name := strings.TrimSuffix ".md" (replace .self.Name "/index.md" "") -}}
{{- $bg := $fragment.background | default "secondary" }}
<section id="{{ $name }}">
<div class="overlay container-fluid
{{- printf " bg-%s" $bg -}}
">
<div class="container py-5">
<div class="row">
<div class="col text-center
{{- if eq $bg "dark" -}}
{{- printf " text-%s" "light" -}}
{{- else -}}
{{- printf " text-%s" "dark" -}}
{{- end -}}
">
<h4>Custom fragments</h4>
</div>
</div>
<div class="row">
<div class="col text-center">
<h5>Introducing custom fragments</h5>
<p>This is a custom fragments. Dynamically loaded since there was a call for it in the index content directory.</p>
</div>
</div>
</div>
</section>

19
netlify.toml Normal file
View file

@ -0,0 +1,19 @@
[build]
publish = "public"
command = "hugo"
[context.production.environment]
HUGO_VERSION = "0.78.2"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.78.2"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.78.2"

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"style.css","MediaType":"text/css","Data":{}}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"style.min.f8cdeda1038ca40319355fba51c51a94c24cdca01b45ad145d4603f8103dd776.css","MediaType":"text/css","Data":{"Integrity":"sha256-+M3toQOMpAMZNV+6UcUalMJM3KAbRa0UXUYD+BA913Y="}}

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

3922
static/favicon.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 292 KiB

BIN
static/images/header.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 KiB

80
static/images/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 293 KiB

1
themes/syna Submodule

@ -0,0 +1 @@
Subproject commit 47741c9c9d42b68448de992ebf52ecd3ba825168