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 09:49:31 +0300
committercdeck3r <cdecker@outlook.de>2019-08-07 09:49:31 +0300
commitb0099812ea88e8ebd76342a7aa944c41931025f4 (patch)
tree04d25b44c4a137071b854e0d35d404bb6764643d
parent344ec94b4e624da96c9f1fa354af0d5a4e9774dc (diff)
Content for the example site
-rw-r--r--exampleSite/content/_index.md4
-rw-r--r--exampleSite/content/about.md41
-rw-r--r--exampleSite/content/conclusion.md30
-rw-r--r--exampleSite/content/post/_index.md5
-rw-r--r--exampleSite/content/post/coding.md49
-rw-r--r--exampleSite/content/post/emoji-support.md45
-rw-r--r--exampleSite/content/post/first.md13
-rw-r--r--exampleSite/content/post/images.md41
-rw-r--r--exampleSite/content/post/math-typesetting.mmark49
-rw-r--r--exampleSite/content/post/second.md19
-rw-r--r--exampleSite/content/post/third.md13
-rw-r--r--exampleSite/content/project.md25
12 files changed, 289 insertions, 45 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md
new file mode 100644
index 0000000..6abc75e
--- /dev/null
+++ b/exampleSite/content/_index.md
@@ -0,0 +1,4 @@
++++
+author = "Hugo Authors"
++++
+
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
new file mode 100644
index 0000000..d23b5c2
--- /dev/null
+++ b/exampleSite/content/about.md
@@ -0,0 +1,41 @@
++++
+title = "About"
+description = "Initial project description"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 1
++++
+
+One-Day-Only or OneDly projects help to acquire a new skill or to complete a task within a short timeframe. It limits the available time and combines it with defined objectives. This situation forces you to focus on the relevant elements in order to successfully complete a task or project. Please note, the idea is not to pack as much work as you can do within a workday. At the end you will find answers for the following questions
+
+* What were the relevant elements for success?
+* How good are you in estimating your work effort?
+* What were road blocks or even showstoppers you haven't forseen even in a short-term project horizon?
+* What are typical reoccuring interuptions and distractions during your work?
+* What is your personal pace when working intensly on a task or project?
+
+
+This will certainly generate some personal insights and improve your activities in future projects.
+
+### Structuring OneDly Projects
+
+A single page stores an entire OneDly project documentation. We recommend the following concise structure.
+
+* About: Some background / intro information motivating the project
+* Project Definition
+ * Goal
+ * Approach and Objectives
+* Sections
+* ...
+* Summary and Conclusions
+* Next steps
+
+### Example
+
+Raspi mini computers are embedded computers running linux and provide a desktop alike programming experiences. They are available at low cost. Being able to develop software for these systems is a valuable contribution to one's CV.
+
+This OneDly project experiements with the Raspi setup, development and deployment of some example software.
+
+
+
+
diff --git a/exampleSite/content/conclusion.md b/exampleSite/content/conclusion.md
new file mode 100644
index 0000000..a7ef28e
--- /dev/null
+++ b/exampleSite/content/conclusion.md
@@ -0,0 +1,30 @@
++++
+title = "Conclusion"
+description = "Summary, conclusion and next steps"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 7
++++
+
+This section concludes the project.
+
+### Summary
+
+The list below displays the achieved objectives:
+
+* [x] To be able to setup a Raspi from scratch
+* [x] To be able to develop a simple command line software
+* [x] To enable a software to automatically restart after shutdown / power off
+* [ ] To enable resilience by monitoring and restarting software processes remotely
+
+### Conclusion
+
+I successfully acquired new development skills for raspi computers. They provide a valuable contribution to my CV.
+
+### Next Steps
+
+There are other embedded systems. Will approach them as my next programming plattform.
+
+
+
+
diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/post/_index.md
new file mode 100644
index 0000000..7516550
--- /dev/null
+++ b/exampleSite/content/post/_index.md
@@ -0,0 +1,5 @@
++++
+aliases = ["posts","articles","blog","sections","docs"]
+title = "Sections"
+author = "Hugo Authors"
++++ \ No newline at end of file
diff --git a/exampleSite/content/post/coding.md b/exampleSite/content/post/coding.md
new file mode 100644
index 0000000..de9a2e9
--- /dev/null
+++ b/exampleSite/content/post/coding.md
@@ -0,0 +1,49 @@
++++
+title = "Section"
+description = "Some section with content"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 3
++++
+
+_Source: content taken from [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). File: `markdown-syntax.md`_
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+#### Blockquote with attribution
+
+> Don't communicate by sharing memory, share memory by communicating.</p>
+> β€” <cite>Rob Pike[^1]</cite>
+
+
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
+
+ Name | Age
+--------|------
+ Bob | 27
+ Alice | 23
+
+
+## Code block with Hugo's internal highlight shortcode
+
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md
new file mode 100644
index 0000000..615fb53
--- /dev/null
+++ b/exampleSite/content/post/emoji-support.md
@@ -0,0 +1,45 @@
++++
+title = "Fun"
+description = "Some fun with emoji"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 6
++++
+
+Emoji can be enabled in a Hugo project in a number of ways.
+<!--more-->
+The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
+
+To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
+
+
+<p><span class="nowrap"><span class="emojify">πŸ™ˆ</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™‰</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™Š</span> <code>:speak_no_evil:</code></span></p>
+<br>
+
+The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
+
+***
+
+**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
+
+{{< highlight html >}}
+.emoji {
+font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
+}
+{{< /highlight >}}
+
+{{< css.inline >}}
+<style>
+.emojify {
+ font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
+ font-size: 2rem;
+ vertical-align: middle;
+}
+@media screen and (max-width:650px) {
+ .nowrap {
+ display: block;
+ margin: 25px 0;
+}
+}
+</style>
+{{< /css.inline >}} \ No newline at end of file
diff --git a/exampleSite/content/post/first.md b/exampleSite/content/post/first.md
deleted file mode 100644
index b1a5bd4..0000000
--- a/exampleSite/content/post/first.md
+++ /dev/null
@@ -1,13 +0,0 @@
-+++
-date = "2015-12-2T14:10:00+03:00"
-draft = false
-title = "First Post"
-weight = 1
-+++
-
-First post
-Where you talk about how to install your project
-
-```
-brew install amazing-tool
-```
diff --git a/exampleSite/content/post/images.md b/exampleSite/content/post/images.md
new file mode 100644
index 0000000..c242bbf
--- /dev/null
+++ b/exampleSite/content/post/images.md
@@ -0,0 +1,41 @@
++++
+title = "Section"
+description = "Some doc using images"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 4
++++
+
+_Source: content taken from [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). File: `rich-content.md`_
+
+Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
+<!--more-->
+---
+
+## Instagram Simple Shortcode
+
+{{< instagram_simple BGvuInzyFAe hidecaption >}}
+
+<br>
+
+---
+
+## YouTube Privacy Enhanced Shortcode
+
+{{< youtube ZJthWmvUzzc >}}
+
+<br>
+
+---
+
+## Twitter Simple Shortcode
+
+{{< twitter_simple 1085870671291310081 >}}
+
+<br>
+
+---
+
+## Vimeo Simple Shortcode
+
+{{< vimeo_simple 48912912 >}}
diff --git a/exampleSite/content/post/math-typesetting.mmark b/exampleSite/content/post/math-typesetting.mmark
new file mode 100644
index 0000000..9a6e3af
--- /dev/null
+++ b/exampleSite/content/post/math-typesetting.mmark
@@ -0,0 +1,49 @@
+---
+author: Christian Decker
+title: Math Modeling
+date: 2019-08-07
+description: A brief guide to setup KaTeX
+markup: mmark
+math: true
+sec: 5
+---
+
+_Source: content taken from [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). File: `math-typesetting.mmark`_
+
+Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
+<!--more-->
+
+In this example we will be using [KaTeX](https://katex.org/)
+
+- Create a partial under `/layouts/partials/math.html`
+- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
+- Include the partial in your templates like so:
+
+```
+{{ if or .Params.math .Site.Params.math }}
+{{ partial "math.html" . }}
+{{ end }}
+```
+- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
+- To enable KaTex on a per page basis include the parameter `math: true` in content files.
+
+**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
+{{< math.inline >}}
+{{ if or .Page.Params.math .Site.Params.math }}
+<!-- KaTeX -->
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.css" integrity="sha384-dbVIfZGuN1Yq7/1Ocstc1lUEm+AT+/rCkibIcC/OmWo5f0EA48Vf8CytHzGrSwbQ" crossorigin="anonymous">
+<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.js" integrity="sha384-2BKqo+exmr9su6dir+qCw08N2ZKRucY4PrGQPPWU1A7FtlCGjmEGFqXCv5nyM5Ij" crossorigin="anonymous"></script>
+<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
+{{ end }}
+{{</ math.inline >}}
+
+### Examples
+
+Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
+
+Block math:
+
+$$
+ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
+$$
+
diff --git a/exampleSite/content/post/second.md b/exampleSite/content/post/second.md
deleted file mode 100644
index 95a24f8..0000000
--- a/exampleSite/content/post/second.md
+++ /dev/null
@@ -1,19 +0,0 @@
-+++
-date = "2015-12-2T14:10:00+03:00"
-draft = false
-title = "Second Post"
-weight = 2
-+++
-
-Second post
-Usage maybe?
-
-```
-DoSomething()
-```
-
-And the output would be:
-
-```
-Something
-```
diff --git a/exampleSite/content/post/third.md b/exampleSite/content/post/third.md
deleted file mode 100644
index b9eb729..0000000
--- a/exampleSite/content/post/third.md
+++ /dev/null
@@ -1,13 +0,0 @@
-+++
-date = "2015-12-2T14:10:00+03:00"
-draft = false
-title = "Third Post"
-weight = 3
-+++
-
-Third post
-Get help
-
-- Ask questions here ....
-- Read this doc file
-- Concat me twitter [@ifnottrue](https://twitter.com/@ifnottrue)
diff --git a/exampleSite/content/project.md b/exampleSite/content/project.md
new file mode 100644
index 0000000..f8da6b6
--- /dev/null
+++ b/exampleSite/content/project.md
@@ -0,0 +1,25 @@
++++
+title = "Project Definition"
+description = "Goals, objectives and approach"
+date = "2019-08-07"
+author = "Christian Decker"
+sec = 2
++++
+
+This section defines concisely the basic project frame.
+
+### Goal
+
+Improve my CV by adding new state-of-the-art development skills.
+
+### Approach & Objectives
+
+* To be able to setup a Raspi from scratch
+* To be able to develop a simple command line software
+* To enable a software to automatically restart after shutdown / power off
+* To enable resilience by monitoring and restarting software processes remotely
+
+
+
+
+