First commit

This commit is contained in:
Christoffer Martinsson 2018-10-24 00:01:32 +02:00
parent e3b9d35763
commit 44886589d1
8 changed files with 213 additions and 0 deletions

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/hugo
image: dettmering/hugo-build
variables:
PROJECT_NAME: haasp
before_script:
- apk --no-cache upgrade && apk --no-cache add samba samba-common-tools supervisor
build:
script:
- hugo
- smbclient '//192.168.30.10/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; rmdir '$PROJECT_NAME';'
- smbclient '//192.168.30.10/pages' $PASS -U $USER -c 'prompt OFF; recurse ON; mkdir '$PROJECT_NAME'; cd '$PROJECT_NAME'; lcd public; mput *'
only:
- master

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/forty"]
path = themes/forty
url = https://github.com/MarcusVirg/forty

View File

@ -0,0 +1,2 @@
**Deployed at:** https://haasp.net

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

178
config.toml Normal file
View File

@ -0,0 +1,178 @@
# Site settings
baseURL = "https://haasp.net/"
languageCode = "en-us"
title = "HomeAutomationAndSecurityPlatform"
theme = "forty"
# Enter your tracking code to enable Google Analytics
googleAnalytics = ""
# Enter your disqus shortname to enable comments
disqusShortname = ""
[params]
# You can use Markdown syntax for urls [text](//url.to/source)
# To create multi-line text in strings use the """example Text""" format
#
# All icons using Fontawesome's icon font. Look at fontawesome.io/icons
# for more icons. The icons are represented by their corresponding
# CSS class.
# Provide your metadata here.
name = "CMtec"
description = "Your description"
# Link custom assets relative to /static
custom_css = []
custom_js = []
favicon = "favicon.ico"
# Just a custom image variable, please define it in .md files for content.
image = ""
# 404 error customization
[params.error404]
heading = "Page couldn't be found"
text = "Please visit [this page](/)"
# Navigation Section
[params.navigation]
title = "Forty"
subtitle = "By HTML5 Up"
menu = "Menu"
# Optional logo as brand stored in img/
# logo = "logo.png"
[[params.navigation.links]]
name = "Home"
url = "#"
[[params.navigation.links]]
name = "Blogs"
url = "blogs"
[[params.navigation.links]]
name = "Generic Blog"
url = "blogs/ipsum"
[[params.navigation.links]]
name = "Elements"
url = "elements.html"
# Add custom links here by uncommenting code below. To remove links just delete
# the [[params.navigation.links]] map associated with that link. Copy and paste
# code below if you need more links. Buttons work in the same way.
# [[params.navigation.links]]
# name = "NameOfLink"
# url = "UrlOfLink"
# Button Style 1
[[params.navigation.button1]]
name = "Get Started"
url = "blogs"
# Button Style 2
[[params.navigation.button2]]
name = "Log In"
url = "#"
# Banner section
[params.banner]
# To change the background image on the homepage banner, replace 'banner.jpg' in
# the 'static/img' folder.
title = "HAASP"
subtitle = "<<< BY PROGRAMMERS FOR PROGRAMMERS >>>"
buttonText = "Learn more"
# Tiles Section
[params.tiles]
enable = true
# Display your showcases here.
[[params.tiles.showcase]]
title = "Aliquam"
subtitle = "Ipsum Dolor Sit Amet"
image = "pic01.jpg"
url = "blogs/aliquam"
[[params.tiles.showcase]]
title = "Tempus"
subtitle = "Feugiat Amet Tempus"
image = "pic02.jpg"
url = "blogs/tempus"
[[params.tiles.showcase]]
title = "Magna"
subtitle = "Lorem Etiam Nullam"
image = "pic03.jpg"
url = "blogs/magna"
[[params.tiles.showcase]]
title = "Ipsum"
subtitle = "Nisl Sed Aliquam"
image = "pic04.jpg"
url = "blogs/ipsum"
[[params.tiles.showcase]]
title = "Consequat"
subtitle = "Ipsum Dolor Sit Amet"
image = "pic05.jpg"
url = "blogs/ipsum"
[[params.tiles.showcase]]
title = "Etiam"
subtitle = "Feugiat Amet Tempus"
image = "pic06.jpg"
url = "blogs/ipsum"
# You can make more showcases by copy and pasting the code above
[params.blog]
# All blogs defined in their own files. You can find example blogs
# at 'exampleSite/content/blogs'. Copy the 'blogs' folder into the 'content' directory
# at the root of this Hugo site.
# For more informtion take a look at the README.
# To add more blogs just copy and paste the code.
# Section Type Two
[params.two]
enable = true
title = "Massa libero"
subtitle = """Nullam et orci eu lorem consequat tincidunt vivamus et sagittis libero.
Mauris aliquet magna magna sed nunc rhoncus pharetra.
Pellentesque condimentum sem. In efficitur ligula tate urna. Maecenas laoreet massa vel lacinia pellentesque lorem ipsum dolor.
Nullam et orci eu lorem consequat tincidunt. Vivamus et sagittis libero.
Mauris aliquet magna magna sed nunc rhoncus amet pharetra et feugiat tempus."""
buttonText = "Get Started"
url = "blogs"
# Contact section
[params.contact]
enable = true
buttonSend = "Send message"
buttonClear = "Clear"
# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
# email. Visitors can send up to a 1000 emails each month for free.
#
# What you need to do for the setup?
#
# - set your email address under 'email' below and uncomment
# - upload the generated site to your server
# - send a dummy email yourself to confirm your account
# - click the confirm link in the email from www.formspree.io
# - you're done. Happy mailing!
formEmail = "info@haasp.net"
# Footer section
[params.footer]
enable = true
copyright = "CMtec"
[[params.footer.quicklinks]]
text = "Design: "
url= "https://www.html5up.net"
alt = "HTML5 UP"

1
static/images Symbolic link
View File

@ -0,0 +1 @@
../images

4
static/js/jquery-2.x.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
themes/forty Submodule

@ -0,0 +1 @@
Subproject commit ad1b71f3d7e00d17eb61576f8357261645a158e3