Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cdeck3r/OneDly-Theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcdeck3r <cdecker@outlook.de>2019-08-07 11:47:51 +0300
committercdeck3r <cdecker@outlook.de>2019-08-07 11:47:51 +0300
commit40710e025aed8d70411fcf62c92f07216cbaeb9c (patch)
treea5a3279c835d1edf0678a095780eebdd78c8df4a
parentd73bd468fdbe73df2e356ccec7738bc0c45e0f73 (diff)
Added Imprint and GDPR pages.
-rw-r--r--README.md20
-rw-r--r--exampleSite/content/imprint-gdpr/_index.md4
-rw-r--r--exampleSite/content/imprint-gdpr/gdpr.md10
-rw-r--r--exampleSite/content/imprint-gdpr/imprint.md42
-rw-r--r--layouts/partials/footer.html14
5 files changed, 81 insertions, 9 deletions
diff --git a/README.md b/README.md
index 5464bae..63b18f8 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,15 @@ One-Day-Only or OneDly projects help to acquire a new skill or to complete a tas
This will certainly generate some personal insights and improve your activities in future projects.
+# Features
+
+* Social media links as buttons at the top of the page
+* Social media sharing links as buttons at the end of the page
+* All posts on a single page as separated sections
+* Post ordering by `sec` parameter in post's front matter, instead of date
+* Imprint and GDPR examples pages
+* Examples for project structure included
+
# Demo and Examples
A demo can be found here [...](https://github.com/cdeck3r/OneDly-Theme)
@@ -24,13 +33,6 @@ Example files structuring a project are stored in theme's `exampleSite/content`
![screenshot](https://github.com/cdeck3r/OneDly-Theme/blob/master/images/screenshot.png)
-# Notable Differences
-
-* Social media links as buttons at the top of the page
-* Social media sharing links as buttons at the end of the page
-* All posts on a single page as separated sections
-* Post ordering by `sec` parameter in post's front matter, instead of date
-
# Quick Start
1. install [Hugo](http://gohugo.io)
@@ -45,6 +47,8 @@ Example files structuring a project are stored in theme's `exampleSite/content`
Check [config.toml](https://github.com/cdeck3r/OneDly-Theme/blob/master/exampleSite/config.toml) for available configuration. Below is a description for each of them.
+**Imprint & GDRP:** Both declarations are stored in `content/imprint-gdpr`. The links are only displayed, if the files exist. So, you do not have dead links.
+
### Project Specification Parameters
The project name is specified as the title of the site.
@@ -76,7 +80,7 @@ Examples
### Section Ordering
-The project documentation may consists of several files indicating different sections. All files need to be placed in `myproject\content\post` directory.
+The project documentation may consists of several files indicating different sections. All files need to be placed in `myproject/content/post` directory.
One may create a new section using `hugo new post/about.md`. It is recommended to start with an About section. In the file's front matter specify
diff --git a/exampleSite/content/imprint-gdpr/_index.md b/exampleSite/content/imprint-gdpr/_index.md
new file mode 100644
index 0000000..6abc75e
--- /dev/null
+++ b/exampleSite/content/imprint-gdpr/_index.md
@@ -0,0 +1,4 @@
++++
+author = "Hugo Authors"
++++
+
diff --git a/exampleSite/content/imprint-gdpr/gdpr.md b/exampleSite/content/imprint-gdpr/gdpr.md
new file mode 100644
index 0000000..947823b
--- /dev/null
+++ b/exampleSite/content/imprint-gdpr/gdpr.md
@@ -0,0 +1,10 @@
++++
+title = "General Data Protection Regulation (GDPR)"
+description = "General Data Protection Regulation (GDPR)"
+date = "2019-08-07"
+author = "Christian Decker"
++++
+
+GDPR information are highly specific to the site. You may use a generator, e.g.
+[Datenschutz-Generator](https://datenschutz-generator.de/datenschutzerklaerung/)
+
diff --git a/exampleSite/content/imprint-gdpr/imprint.md b/exampleSite/content/imprint-gdpr/imprint.md
new file mode 100644
index 0000000..91c27fa
--- /dev/null
+++ b/exampleSite/content/imprint-gdpr/imprint.md
@@ -0,0 +1,42 @@
++++
+title = "Imprint"
+description = "Imprint information"
+date = "2019-08-07"
+author = "Christian Decker"
++++
+
+Information according to § 5 TMG
+
+_first and last name_
+_address_
+
+#### Contact:
+Phone: _phone number_
+E-Mail: _e-mail address_
+
+#### Responsible for content according to § 55 Abs. 2 RStV:
+
+_first and last name_
+_address_
+
+#### Disclaimer:
+
+#### Content Liability
+
+The contents of our pages were created with great care. However, we can not assume any liability for the accuracy, completeness and timeliness of the content. As a service provider we are responsible according to § 7 Abs.1 TMG for own contents on these sides according to the general laws. According to §§ 8 to 10 TMG, however, we as a service provider are not obliged to monitor transmitted or stored external information or to investigate circumstances that indicate illegal activity. Obligations to remove or block the use of information under general law remain unaffected. A liability in this regard, however, is only possible from the date of knowledge of a specific infringement. Upon notification of such violations, we will remove this content immediately.
+
+#### Liability for links
+
+Our offer contains links to external websites of third parties on whose contents we have no influence. Therefore, we can not assume any liability for these external contents. The respective provider or operator of the pages is always responsible for the contents of the linked pages. The linked pages were checked for possible legal violations at the time of linking. Illegal content was not recognizable at the time of linking. However, a permanent content control of the linked pages is not reasonable without concrete evidence of an infringement. Upon notification of violations, we will remove such links immediately.
+
+#### Copyright
+
+The content and works on these pages created by the site operators are subject to German copyright law. The reproduction, processing, distribution and any kind of exploitation outside the limits of copyright require the written consent of the respective author or creator. Downloads and copies of this site are for private, non-commercial use only. As far as the contents on this side were not created by the operator, the copyrights of third parties are considered. In particular contents of third parties are marked as such. If you should still be aware of a copyright infringement, we ask for a note. Upon discovery of violations, we will remove such content immediately.
+
+#### Privacy Policy
+
+The use of our website is usually possible without providing personal information. As far as on our sides personal data (for example name, address or eMail addresses) are raised, this takes place, as far as possible, always on freiwilliger basis. These data will not be disclosed to third parties without your explicit consent.
+Please note that data transmission over the Internet (for example, when communicating via e-mail) may have security vulnerabilities. A complete protection of the data from access by third parties is not possible.
+The use of contact data published in the context of the imprint obligation by third parties for sending unsolicited advertising and information materials is hereby expressly excluded. The operators of the pages expressly reserve the right to take legal action in case of unsolicited promotional information, such as spam e-mails.
+
+Website Imprint generated by [impressum-generator.de](http://www.impressum-generator.de/) and afterwards translated using Google Translate.
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b0abc6d..bb0b1d4 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -7,8 +7,20 @@
<li>
<a class="page-scroll" href="#intro">Up</a>
</li>
+ {{ if (fileExists "imprint-gdpr/imprint.md") -}}
+ <li class="footer-menu-divider">&sdot;</li>
+ <li>
+ <a href="{{ "imprint-gdpr/imprint" | absURL }}" >Imprint</a>
+ </li>
+ {{- end }}
+ {{ if (fileExists "imprint-gdpr/gdpr.md") -}}
+ <li class="footer-menu-divider">&sdot;</li>
+ <li>
+ <a href="{{ "imprint-gdpr/gdpr" | absURL }}" >GDPR</a>
+ </li>
+ {{- end }}
</ul>
- <p class="copyright text-muted small">Copyright &copy; {{ .Title }} All Rights Reserved</p>
+ <p class="copyright text-muted small">Copyright &copy; {{ .Site.Title }} All Rights Reserved</p>
</div>
<div class="col-md-4">
Built with <a href="http://gohugo.io">Hugo</a> and the