first hugo commit

This commit is contained in:
Don Harper 2019-05-26 18:26:26 -05:00
parent dabdd68df3
commit 0e4f2a913d
1459 changed files with 50871 additions and 0 deletions

21
themes/nederburg/LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Appernetic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

161
themes/nederburg/README.md Normal file
View file

@ -0,0 +1,161 @@
# Nederburg theme for hugo
Nederburg is a fast and secure theme.
This Hugo theme was ported from [competethemes](https://www.competethemes.com/tracks/).
![screenshot](https://raw.githubusercontent.com/appernetic/hugo-nederburg-theme/master/images/screenshot.png)
## Installation
Go to the directory where you have your Hugo site and run:
```
$ mkdir themes
$ cd themes
$ git clone https://github.com/appernetic/hugo-nederburg-theme.git
```
For more information read the official [setup guide](https://gohugo.io/overview/installing/) of Hugo or use [Appernetic](https://appernetic.io/).
## Configuration
After installing the Nederburg theme successfully, we recommend you to take a look at the [exampleSite](https://github.com/appernetic/hugo-nederburg-theme/tree/master/exampleSite) directory. You will find a working Hugo site configured with the Nederburg theme that you can use as a starting point for your site.
First, let's take a look at the [config.toml](https://github.com/appernetic/hugo-nederburg-theme/tree/master/exampleSite/config.toml). It will be useful to learn how to customize your site. Feel free to play around with the settings.
### Gravatar
To have an image in your author bio shown after posts, go to [Gravatar](https://gravatar.com/) and configure it and then add the email address that you have associated with it in the email section in settings:
```toml
email = "your@gravatar.email"
```
### Style
Nederburg uses the minified production version of the style sheet from the wordpress version.
### More style customizations?
Create `css/custom.css` in your `<<base dir>>/static` folder and add all your custom styling.
### Comments
The optional comments system is powered by [Disqus](https://disqus.com). If you want to enable comments, create an account in Disqus and write down your shortname in the config file.
```toml
disqusShortname = "your-disqus-short-name"
```
You can disable the comments system by leaving the `disqusShortname` empty.
### Google Analytics
You can optionally enable Google Analytics. Type your tracking code in the ``.
```toml
googleAnalytics = "UA-XXXXX-X"
```
Leave the `googleAnalytics` key empty to disable it.
### Make the contact form working
Since this page will be static, you can use [formspree.io](//formspree.io/) as proxy to send the actual email. Each month, visitors can send you up to one thousand emails without incurring extra charges. Begin the setup by following the steps below:
1. Enter your email address under 'email' in the [`config.toml`](https://github.com/appernetic/hugo-nederburg-them/tree/master/exampleSite/config.toml)
2. Upload the generated site to your server
3. Send a dummy email yourself to confirm your account
4. Click the confirm link in the email from [formspree.io](//formspree.io/)
5. You're done. Happy mailing!
## Multiple Writers Features
Thanks to Lukas Herman's PR there is now a multiple writers feature. In order to support multiple writers, an extra key, "writers" is added, in config.toml. The format looks like the following:
```toml
[params.writers."Göran Svensson"]
link = "https://appernetic.io/"
email = "goran@molnsys.com"
bio = [
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
]
facebook = "full Göran profile url in facebook"
googleplus = "full profile url in googleplus"
twitter = "full profile url in twitter"
linkedin = "full profile url in linkedin"
stackoverflow = "full profile url in stackoverflow"
instagram = "full profile url in instagram"
github = "full profile url in github"
pinterest = "full profile url in pinterest"
```
Now you must have an author in the config for the author bio section to be visible. If you have a writer and set it in the markdown file it will override the author in the config. See the exampleSite folder for a working solution.
## Images
Default is to use the static folder for images. If you want to have images in the post folder you unmark the seetings in the config file.
```toml
#UsePostImgFolder = true
```
### Privacy settings for Google Analytics
Thanks to [mstroh76](https://github.com/mstroh76) we now have privacy settings for analytics. This is how you configure it (included in exampleSite config.toml):
```toml
[privacy]
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
[privacy.googleAnalytics]
# set to true to disable service
disable = false
# set to true to meet General Data Protection Regulation (GDPR)
anonymizeIP = false
respectDoNotTrack = false
useSessionStorage = false
```
### Nearly finished
In order to see your site in action, run Hugo's built-in local server.
```
$ hugo server
```
Now enter [`localhost:1313`](http://localhost:1313) in the address bar of your browser.
## Things to do and not (yet) implemented
- Add the possibility for a description for each category.
- ~~Add pagination to the front page.~~
- Add dropdown menu option to the left sub menu.
- Add previous next pagination in blog post.
- Add a search function.
- Do a SEO check of site structure and code
- Page speed check
- ~~Add a default favicon~~
- Check that Disqus dont break anything.
## Contributing
Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/appernetic/hugo-nederburg-theme/issues) to let me know. Or make directly a [pull request](https://github.com/appernetic/hugo-nederburg-theme/pulls).
## License
This port is released under the MIT License.
## Thanks
Thanks to [Steve Francia](https://github.com/spf13) for creating Hugo and the awesome community around the project. And also thanks to [competethemes](https://www.competethemes.com/tracks/) for creating this awesome theme.
## Sponsors
List of all the great people and organisations that help us fund this open source work.
If you want to help support check out my Patreon @ https://www.patreon.com/appernetic
[Timothy D. Swieter](https://github.com/Swieter)

View file

@ -0,0 +1,2 @@
+++
+++

View file

@ -0,0 +1,11 @@
---
title: "Name of the work 1"
draft: true
image: ""
showonlyimage: false
categories: ["design"]
keywords: ["key", "words"]
topics: ["topic 1"]
tags: ["one", "two"]
weight: 1
---

View file

@ -0,0 +1,113 @@
baseurl = "https://example.org/"
title = "Nederburg"
theme = "hugo-nederburg-theme"
languageCode = "en-us"
# Enable comments by entering your Disqus shortname
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
preserveTaxonomyNames = true
paginate = 5 #frontpage pagination
[privacy]
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
[privacy.googleAnalytics]
# set to true to disable service
disable = false
# set to true to meet General Data Protection Regulation (GDPR)
anonymizeIP = false
respectDoNotTrack = false
useSessionStorage = false
[params]
# Unmark to use post folder for images. Default is static folder.
#usepostimgfolder = true
slogan = "A fast &amp; secure theme"
description = "Describe your website" # meta description
# You need to set author to have an author bio. If you have a writer in the markdown file it will override this.
author = "Göran Svensson"
authorLink = "https://appernetic.io/"
bio = [
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
]
copyright = [
"&copy; 2018 Göran Svensson",
"Nederburg Hugo Theme by [Appernetic](https://appernetic.io).",
"A port of Tracks by Compete Themes."
]
# Contact page
# 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 (it is also used in Gravatar for the bio).
# - 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!
email = "goran@molnsys.com"
# Nav links in the side bar
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "About"
url = "about/"
weight = 2
[[menu.main]]
name = "Get in touch"
url = "contact/"
weight = 3
# this will also be in author bio if there is no writer.
[params.social]
facebook = "full Social profile url in facebook"
googleplus = "full profile url in googleplus"
email = "email@example.com"
twitter = "full profile url in twitter"
linkedin = "full profile url in linkedin"
stackoverflow = "full profile url in stackoverflow"
instagram = "full profile url in instagram"
github = "full profile url in github"
pinterest = "full profile url in pinterest"
rss = true
# Add a writer, then use it in the markdown front matter like this: writer = "Lukas Herman"
[params.writers]
[params.writers."Lukas Herman"]
link = "https://lherman.tk"
email = "lherman.cs@gmail.com"
bio = [
"Lukas has a few skills up his sleve. He can fly blindfolded under a bridge while simultanous writing blog posts."
]
facebook = "full lukas profile url in facebook"
googleplus = "full profile url in googleplus"
twitter = "full profile url in twitter"
linkedin = "full profile url in linkedin"
stackoverflow = "full profile url in stackoverflow"
instagram = "full profile url in instagram"
github = "full profile url in github"
pinterest = "full profile url in pinterest"
[params.writers."Göran Svensson"]
link = "https://appernetic.io/"
email = "goran@molnsys.com"
bio = [
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
]
facebook = "full Göran profile url in facebook"
googleplus = "full profile url in googleplus"
twitter = "full profile url in twitter"
linkedin = "full profile url in linkedin"
stackoverflow = "full profile url in stackoverflow"
instagram = "full profile url in instagram"
github = "full profile url in github"
pinterest = "full profile url in pinterest"

View file

@ -0,0 +1,21 @@
+++
date = "2016-11-05T21:05:33+05:30"
title = "About me"
+++
An sincerity so extremity he additions. Her yet **there truth merit**. Mrs all projecting favourable now unpleasing. Son law garden chatty temper. Oh children provided to mr elegance marriage strongly. Off can admiration prosperous now devonshire diminution law.
Received overcame oh sensible so at an. Formed do change merely to county it. **Am separate contempt** domestic to to oh. On relation my so addition branched. Put hearing cottage she norland letters equally prepare too. Replied exposed savings he no viewing as up. Soon body add him hill. No father living really people estate if. Mistake do produce beloved demesne if am pursuit.
![This is me][1]
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
#### Education
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
[1]: /img/about.jpg

View file

@ -0,0 +1,10 @@
+++
date = "2016-11-06T13:00:25+05:30"
title = "Get in touch"
+++
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
Effects present letters inquiry no an removed or friends. Desire behind latter me though in. Supposing shameless am he engrossed up additions. My possible peculiar together to. Desire so better am cannot he up before points. Remember mistaken opinions it pleasure of debating. Court front maids forty if aware their at. Chicken use are pressed removed.
Able an hope of body. Any nay shyness article matters own removal nothing his forming. Gay own additions education satisfied the perpetual. If he cause manor happy. Without farther she exposed saw man led. Along on happy could cease green oh.

View file

@ -0,0 +1,33 @@
+++
showonlyimage = true
draft = false
image = "img/portfolio/a4-paper.jpg"
date = "2017-02-14T18:25:22+05:30"
title = "Name of the work 1"
writer = "Lukas Herman"
categories = [ "design"]
weight = 1
+++
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life. One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,32 @@
+++
draft = false
image = "img/portfolio/trifold.jpg"
showonlyimage = true
date = "2018-07-04T20:22:08+05:30"
title = "Item with image"
writer = "Göran Svensson"
weight = 10
+++
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,32 @@
+++
draft = false
image = "img/portfolio/paper-presentation.jpg"
showonlyimage = true
date = "2018-09-30T20:23:59+05:30"
title = "Item with image"
writer = "Göran Svensson"
weight = 11
+++
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,37 @@
+++
date = "2016-11-05T19:41:01+05:30"
title = "This is a Standard Post"
writer = "Göran Svensson"
draft = false
image = "img/portfolio/logs1.jpg"
showonlyimage = false
categories = [ "design"]
weight = 2
description = "Individual meta description for this post"
+++
This is what an ordinary post looks like, and youre reading a custom excerpt right now. Have fun looking around the theme, and dont forget to check it out on your phone!
<!--more-->
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,33 @@
+++
image = "img/portfolio/bridge1.jpg"
showonlyimage = false
date = "2017-05-05T19:44:32+05:30"
title = "Another Awesome Post"
writer = "Göran Svensson"
categories = [ "travel" ]
draft = false
weight = 3
+++
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,33 @@
+++
draft = false
image = ""
showonlyimage = false
date = "2017-11-21T19:50:47+05:30"
title = "A post without an Image"
writer = "Göran Svensson"
categories = [ "code" ]
weight = 4
+++
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,33 @@
+++
image = "img/portfolio/railroad-forest1.jpg"
showonlyimage = true
draft = false
date = "2017-12-25T19:53:42+05:30"
title = "A Totally Response Theme"
writer = "Lukas Herman"
categories = [ "photography" ]
weight = 5
+++
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,32 @@
+++
image = "img/portfolio/bike1.jpg"
showonlyimage = false
date = "2018-01-01T19:57:40+05:30"
title = "Post with a Gallery"
writer = "Göran Svensson"
draft = false
weight = 7
+++
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,32 @@
+++
showonlyimage = false
draft = false
image = "img/portfolio/camera1.jpg"
date = "2018-02-14T19:59:22+05:30"
title = "A Post with lot of comments"
writer = "Göran Svensson"
weight = 8
+++
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

View file

@ -0,0 +1,32 @@
+++
draft = false
image = "img/portfolio/birds.jpg"
showonlyimage = false
date = "2018-05-06T20:02:19+05:30"
title = "Blogging is Fun and Worthwhile"
writer = "Göran Svensson"
weight = 9
+++
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
<!--more-->
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2. Aliquam tincidunt mauris eu risus.
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
## Header Level 2
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
* Aliquam tincidunt mauris eu risus.
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

View file

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>{{ partial "head.html" . }}</head>
{{ block "body" . }}
<body class="home blog ct-body standard">
{{ end }}
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
{{ partial "topnavigation.html" . }}
</div>
<div class="container">
{{ partial "header.html" . }}
</div>
</header>
<div id="main" class="main" role="main">
{{ block "main" . }}
{{ end }}
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>
</html>

View file

@ -0,0 +1,297 @@
{{ define "body" }}
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
{{ end }}
{{ define "main" }}
{{ $scratch := newScratch }}
{{ if .Site.Params.writers }}
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
{{ else }}
{{ $scratch.Set "writer" .Site.Params.social | default dict }}
{{ end }}
{{ $writer := $scratch.Get "writer" }}
<div id="loop-container" class="loop-container">
{{ if and (isset .Params "image") .Params.image }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
<div class='featured-image lazy lazy-bg-image' {{ if isset .Site.Params "usepostimgfolder" }} data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }} data-background="{{ .Params.image | absURL }}"{{ end }}>
</div>
{{ else }}
<div class="post type-post status-publish format-standard hentry category-standard category-travel entry full-without-featured odd excerpt-1">
{{ end }}
<div class="entry-meta">
<span class="date">{{ .Date.Format "02 January" }}</span> <span> / </span>
<span class="author">
<a href="{{ $writer.link | default "" | absURL}}" title="Posts by {{ .Params.writer | default "" }}" rel="author">{{ .Params.writer | default ""}}</a>
</span>
{{ range .Params.categories }}
<span class="category">
<span> / </span>
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
</div>
<div class='entry-header'>
<h1 class='entry-title'> {{ .Title }}</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
{{ .Content }}
</article>
</div>
<!-- <div class="sidebar sidebar-after-post-content" id="sidebar-after-post-content">
<section id="text-2" class="widget widget_text"><h2 class="widget-title">After Post Content Widget</h2> <div class="textwidget"><p>This is a widget in the "After Post Content" widget area. It's a great place to include related posts or an email optin form.</p>
</div>
</section> </div>-->
<div class='entry-meta-bottom'>
<!--<nav class="further-reading">
<p class="prev">
<span>Previous Post</span>
<a href="https://www.competethemes.com/tracks-live-demo/another-awesome-post/">Another Awesome Post</a>
</p>
<p class="next">
<span>No Newer Posts</span>
<a href="https://www.competethemes.com/tracks-live-demo">Return to Blog</a>
</p>
</nav>-->
<div class="entry-categories"><p><span>Categories</span>
{{ range $index, $name := .Params.categories }}
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" title="View all posts in {{ $name }}">{{ $name }}</a>{{ end }}
</p>
</div>
<div class="entry-tags"><p><span>Tags</span>
{{ range $index, $name := .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="View all posts tagged {{ $name }}">{{ $name }}</a>
{{ end }}
</p></div> </div>
{{ if and (isset .Site.Params "author") .Site.Params.author }}
<div class="author-meta">
<div class="author">
{{ if and (isset .Params "writer") $writer.email }}
<img alt='{{ .Params.writer | default .Site.Params.author }}' src="https://www.gravatar.com/avatar/{{ md5 $writer.email }}?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
{{ else }}
<img alt='{{ .Params.writer | default .Site.Params.author }}' src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.email }}?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
{{ end }}
<span>
Written by:<a href="{{ $writer.link | default .Site.Params.authorlink | absURL}}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a> </span>
</div>
<div class="bio">
{{ if and (isset .Params "writer") $writer.bio }}
{{ range $writer.bio }}
<p>{{ . | default "" | safeHTML }}</p>
{{ end }}
{{ else }}
{{ range .Site.Params.bio }}
<p>{{ . | default "" | safeHTML }}</p>
{{ end }}
{{ end }}
{{ if isset .Params "writer" }}
{{ with $writer.facebook }}
<a class="facebook" target="_blank"
href="{{ . }}">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
{{end}}
{{ with $writer.googleplus }}
<a class="googleplus" target="_blank"
href="{{ . }}">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
{{end}}
{{ with $writer.twitter }}
<a class="twitter" target="_blank"
href="{{ . }}">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
{{end}}
{{ with $writer.linkedin }}
<a class="linkedin" target="_blank"
href="{{ . }}">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
{{end}}
{{ with $writer.email }}
<a class="email" target="_blank"
href="mailto:{{ . }}">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
{{end}}
{{ with $writer.instagram }}
<a class="instagram" target="_blank"
href="{{ . }}">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
{{end}}
{{ with $writer.stackoverflow }}
<a class="stackoverflow" target="_blank"
href="{{ . }}">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
{{end}}
{{ with $writer.github }}
<a class="github" target="_blank"
href="{{ . }}">
<i class="fab fa-github"
title="github icon"></i>
</a>
{{end}}
{{ with $writer.pinterest }}
<a class="pinterest" target="_blank"
href="{{ . }}">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
{{end}}
{{ else }}
{{ with .Site.Params.social.facebook }}
<a class="facebook" target="_blank"
href="{{ . }}">
<i class="fab fa-facebook-f"
title="facebook icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.googleplus }}
<a class="googleplus" target="_blank"
href="{{ . }}">
<i class="fab fa-google-plus-g"
title="googleplus icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.twitter }}
<a class="twitter" target="_blank"
href="{{ . }}">
<i class="fab fa-twitter-square"
title="twitter icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.linkedin }}
<a class="linkedin" target="_blank"
href="{{ . }}">
<i class="fab fa-linkedin"
title="linkedin icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.email }}
<a class="email" target="_blank"
href="mailto:{{ . }}">
<i class="fas fa-envelope"
title="email icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.instagram }}
<a class="instagram" target="_blank"
href="{{ . }}">
<i class="fab fa-instagram"
title="instagram icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.stackoverflow }}
<a class="stackoverflow" target="_blank"
href="{{ . }}">
<i class="fab fa-stack-overflow"
title="stackoverflow icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.github }}
<a class="github" target="_blank"
href="{{ . }}">
<i class="fab fa-github"
title="github icon"></i>
</a>
{{end}}
{{ with .Site.Params.social.pinterest }}
<a class="pinterest" target="_blank"
href="{{ . }}">
<i class="fab fa-pinterest"
title="pinterest icon"></i>
</a>
{{end}}
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
<section id="comments" class="comments">
{{ template "_internal/disqus.html" . }}
<!--<div class="comments-number">
<h2>
4 Comments </h2>
</div>-->
<!--
<ol class="comment-list">
<li class="comment even thread-even depth-1" id="li-comment-54">
<article id="comment-54" class="comment">
<div class="comment-author">
<img alt='' src='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=72&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=144&#038;d=mm&#038;r=g 2x' class='avatar avatar-72 photo' height='72' width='72' /> <div>
<div class="author-name"><a href='http://commenter.url' rel='external nofollow' class='url'>Commenter 2799</a></div>
<div class="comment-date">April 18</div>
<a rel='nofollow' class='comment-reply-link' href='https://www.competethemes.com/tracks-live-demo/this-is-a-standard-post/?replytocom=54#respond' onclick='return addComment.moveForm( "comment-54", "54", "respond", "1969" )' aria-label='Reply to Commenter 2799'>Reply</a> </div>
</div>
<div class="comment-content">
<p>sque lacus. Etiam consectetur rutrum justo.</p>
<p>Duis facilisis. Aliquam sagittis. Proin consectetur egestas metus. Curabitur pellentesque posuere arcu. Integer lorem nulla, congue a, rhoncus nec, vestibulum a, ante. Mauris lobortis iaculis erat. Maecenas faucibus tincidunt dui. Cras accumsan vestibulum ligula. Morbi dapibus, lorem nec euismod pharetra, augue risus congue augue, molestie eleifend lacus magna nec magna. Mo</p>
</div>
</article>
</li>
</ol>-->
</section>
</div>
<!--</div>--> <!-- .main -->
{{ end }}

View file

@ -0,0 +1 @@
Not today, bye!

View file

@ -0,0 +1,23 @@
{{ define "body" }}
<body class="page-template-default page ct-body singular singular-page not-front standard">
{{ end }}
{{ define "main" }}
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="entry">
<div class="entry-header">
<h1 class="entry-title">{{ .Title }}</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
{{ .Content }}
</article>
</div>
</div>
</div> </div>
</div>
{{ end }}

View file

@ -0,0 +1,54 @@
{{ define "body" }}
<body class="page-template-default page ct-body singular singular-page not-front standard">
{{ end }}
{{ define "main" }}
<div id="main" class="main" role="main">
<div id="loop-container" class="loop-container">
<div class="entry">
<div class="entry-header">
<h1 class="entry-title">{{ .Title }}</h1>
</div>
<div class="entry-container">
<div class="entry-content">
<article>
{{ .Content }}
<div id="simple-contact-form" class="scf">
{{ with .Site.Params.email }}
<form method="post" action="https://formspree.io/{{ . }}">
<fieldset class="scf-name">
<label for="scf_name">Name (Required)</label>
<input name="scf_name" id="scf_name" type="text" size="33" maxlength="99" value="" placeholder="Your Name">
</fieldset>
<fieldset class="scf-email">
<label for="scf_email">Email (Required)</label>
<input name="scf_email" id="scf_email" type="text" size="33" maxlength="99" value="" placeholder="Your Email">
</fieldset>
<fieldset class="scf-response">
<label for="scf_response">1 + 1 =</label>
<input name="scf_response" id="scf_response" type="text" size="33" maxlength="99" value="" placeholder="Correct Response">
</fieldset>
<fieldset class="scf-message">
<label for="scf_message">Message (Required)</label>
<textarea name="scf_message" id="scf_message" cols="33" rows="7" placeholder="Your Message"></textarea>
</fieldset>
<div class="scf-submit">
<input type="submit" id="scf-button" value="Send email">
<input type="hidden" id="scf-key" name="scf-key" value="process">
<input type="hidden" id="scf-nonce" name="scf-nonce" value="52582b0798">
</div>
</form>
<style>#simple-contact-form fieldset { width: 100%; overflow: hidden; margin: 12px 0; border: 0; padding: 1px; } #simple-contact-form fieldset input { float: left; width: 60%; } #simple-contact-form textarea { float: left; clear: both; width: 95%; } #simple-contact-form label { float: none; clear: both; display: block; margin-bottom: 12px;}</style>
{{ end }}
</div>
<div style="clear:both">&nbsp;</div>
</article>
</div>
</div>
</div> </div>
</div>
{{ end }}

View file

@ -0,0 +1,4 @@
{{ define "main" }}
{{ partial "portfolio.html" . }}
{{ partial "pagination.html" . }}
{{ end }}

View file

@ -0,0 +1,81 @@
<div class="archive-header">
<h1>
Category: {{ .Title }}
{{ if .Site.Params.social.rss }}
<a href="{{ .RSSLink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
{{ end }}
</h1>
</div>
<h1 class="screen-reader-text">Posts</h1>
<div id="loop-container" class="loop-container">
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
{{ $scratch := newScratch }}
{{ if .Site.Params.writers }}
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
{{ else }}
{{ $scratch.Set "writer" .Site.Params.social | default dict }}
{{ end }}
{{ $writer := $scratch.Get "writer" }}
{{ if and (isset .Params "image") .Params.image }}
{{ if eq (mod $index 2) 0 }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
{{ else }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
{{ end }}
{{ else }}
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
{{ end }}
{{ if and (isset .Params "image") .Params.image }}
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' {{if isset .Site.Params "usepostimgfolder"}}data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }}data-background="{{ .Params.image | absURL }}"{{ end }}></div></a>
{{ end }}
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">{{ .Date.Format "02 January" }}</span>
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
{{ if and (isset .Site.Params "author") .Site.Params.author }}
<span> / </span>
<span class="author">
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
</span>
{{ end }}
{{ else }}
<span class="author">
{{ .Params.writer | default .Site.Params.author }}
</span>
{{ end }}
{{ range .Params.categories }}
<span> / </span>
<span class="category">
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="{{ .Permalink }} "> {{ .Title }} </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
{{ .Summary }}
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
{{ end }}
</div>

View file

@ -0,0 +1,132 @@
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
{{ with .Site.Title }}
<a href=""> {{ . }} </a>
{{ end }}
</h1>
{{ with .Site.Params.Slogan }}
<p class="site-description">{{ . | default "" | safeHTML }}</p>
{{ end }}
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
<div class="menu">
<ul id="menu-footer-items" class="menu-footer-items">
{{ range $name, $taxonomy := .Site.Params.Navlinks }}
<li id="menu-item" class="menu-item menu-item-type-post_type menu-item-object-page menu-item"><a href="/{{ $taxonomy.url | urlize }}">{{ $taxonomy.name }}</a></li>
{{ end }}
</ul>
</div> </div>
<ul class="social-media-icons">
{{ with .Site.Params.social.facebook }}
<li>
<a class="facebook" target="_blank"
href="{{ . }}" >
<i class="fab fa-facebook-f" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.googleplus }}
<li>
<a class="googleplus" target="_blank"
href="{{ . }}" >
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.twitter }}
<li>
<a href="{{ . }}" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.instagram }}
<li>
<a href="{{ . }}" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.email }}
<li>
<a href="mailto:{{ . }}" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.linkedin }}
<li>
<a href="{{ . }}" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.stackoverflow }}
<li>
<a href="{{ . }}" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.github }}
<li>
<a href="{{ . }}" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.pinterest }}
<li>
<a href="{{ . }}" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
{{end}}
{{ if .Site.Params.social.rss }}
<li>
<a href="{{ .Site.RSSLink }}" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
{{end}}
</ul> <div class="design-credit">
{{ range .Site.Params.copyright }}
<p>{{ . | markdownify }}</p>
{{ else }}
<p>
Nederburg Hugo Theme by <a target="_blank" href="https://appernetic.io">Appernetic</a>.
</p>
<p>
A port of Tracks by Compete Themes.
</p>
{{ end }}
</div>
</footer>

View file

@ -0,0 +1,29 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{ partial "schema" . }}
{{ with .Title }} <title>{{ . }} {{if $.IsHome}}- {{ $.Site.Params.slogan | default "" | safeHTML }}{{ end }}</title>
{{ end }}
{{ if .Description }}<meta name="description" content="{{ .Description }}" />
{{ else }}<meta name="description" content="{{ .Site.Params.description }}" />
{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="//fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<!-- Upgraded to Font Awesome 5.3 no need for local files using all.css so all icons are available -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
<link href="{{ "css/style.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<!-- Custom stylesheet - for your changes -->
<link href="{{ "css/custom.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title | default "" }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title | default "" }}" />
{{ end }}
{{ template "_internal/google_analytics_async.html" . }}

View file

@ -0,0 +1,37 @@
<div id="title-info" class="title-info">
<div id='site-title' class='site-title'>
{{ if ( ne .Site.Title "" ) }}
<a href="{{ .Site.BaseURL | relLangURL }}"> {{ .Site.Title }} </a>
{{ end }}</div>
</div>
<button id="toggle-navigation" class="toggle-navigation">
<i class="fas fa-bars"></i>
</button>
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
{{ with .Site.Params.Slogan }}
<p class="site-description">{{ . | default "" | safeHTML }}</p>
{{ end }}
<div class="menu">
<ul id="menu-primary-items" class="menu-primary-items">
{{ $page := . }}
{{ range .Site.Menus.main }}
<li id="menu-item" class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'>
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
{{ if .HasChildren }}
<ul class="sub-menu">
{{ range .Children }}
<li id="menu-item" class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'>
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
{{ end }}
</li>
{{ end }}
</ul>
</div>
</div>

View file

@ -0,0 +1,32 @@
{{ $pag := $.Paginator }}
{{ if gt $pag.TotalPages 1 }}
<nav class="navigation pagination" role="navigation">
<h2 class="screen-reader-text">Posts navigation</h2>
<div class="nav-links">
{{ if $pag.HasPrev }}
<a class="prev page-numbers" href="{{ $pag.Prev.URL }}">Previous</a>
{{ end }}
{{ $.Scratch.Set "__paginator.ellipsed" false }}
{{ range $pag.Pagers }}
{{ $right := sub .TotalPages .PageNumber }}
{{ $showNumber := or (le .PageNumber 3) (eq $right 0) }}
{{ $showNumber := or $showNumber (and (gt .PageNumber (sub $pag.PageNumber 2)) (lt .PageNumber (add $pag.PageNumber 2))) }}
{{ if $showNumber }}
{{ $.Scratch.Set "__paginator.ellipsed" false }}
{{ $.Scratch.Set "__paginator.shouldEllipse" false }}
{{ else }}
{{ $.Scratch.Set "__paginator.shouldEllipse" (not ($.Scratch.Get "__paginator.ellipsed") ) }}
{{ $.Scratch.Set "__paginator.ellipsed" true }}
{{ end }}
{{ if $showNumber }}
<a class="page-numbers" href="{{ .URL }}">{{ .PageNumber }}</a>
{{ else if ($.Scratch.Get "__paginator.shouldEllipse") }}
<span aria-current="page" class="page-numbers current">{{ .PageNumber }}</span>
{{ end }}
{{ end }}
{{ if $pag.HasNext }}
<a class="next page-numbers" href="{{ $pag.Next.URL }}">Next</a>
{{ end }}
</div>
</nav>
{{ end }}

View file

@ -0,0 +1,70 @@
<h1 class="screen-reader-text">Posts</h1>
<div id="loop-container" class="loop-container">
{{ $paginator := .Paginate (where (where .Site.Pages "Type" "post").ByDate.Reverse "IsPage" true) }}
{{ range $index, $element := .Paginator.Pages }}
{{ $scratch := newScratch }}
{{ if .Site.Params.writers }}
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
{{ else }}
{{ $scratch.Set "writer" .Site.Params.social | default dict }}
{{ end }}
{{ $writer := $scratch.Get "writer" }}
{{ if and (isset .Params "image") .Params.image }}
{{ if eq (mod $index 2) 0 }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
{{ else }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
{{ end }}
{{ else }}
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
{{ end }}
{{ if and (isset .Params "image") .Params.image }}
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' {{if isset .Site.Params "usepostimgfolder"}}data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }}data-background="{{ .Params.image | absURL }}"{{ end }}></div></a>
{{ end }}
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">{{ .Date.Format "02 January" }}</span>
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
{{ if and (isset .Site.Params "author") .Site.Params.author }}
<span> / </span>
<span class="author">
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
</span>
{{ end }}
{{ else }}
<span class="author">
{{ .Params.writer | default .Site.Params.author }}
</span>
{{ end }}
{{ range .Params.categories }}
<span> / </span>
<span class="category">
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="{{ .Permalink }} "> {{ .Title }} </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
{{ .Summary }}
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
{{ end }}
</div>

View file

@ -0,0 +1,27 @@
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ .Site.BaseURL }}"
},
"articleSection" : "{{ .Section }}",
"name" : "{{ .Title }}",
"headline" : "{{ .Title }}",
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
"inLanguage" : "en",
"author" : "{{ .Page.Params.author }}",
"creator" : "{{ .Page.Params.author }}",
"publisher": "{{ .Page.Params.author }}",
"accountablePerson" : "{{ .Page.Params.author }}",
"copyrightHolder" : "{{ .Page.Params.author }}",
"copyrightYear" : "{{ .Date.Format "2006" }}",
"datePublished": "{{ .Date }}",
"dateModified" : "{{ .Date }}",
"url" : "{{ .Permalink }}",
"wordCount" : "{{ .WordCount }}",
"image" : {{ printf "%s%s" .Site.BaseURL .Page.Params.image }}",
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }}"Blog" ]
}
</script>

View file

@ -0,0 +1,3 @@
<script src="{{ "js/jquery.min.js" | absURL }}"></script>
<script src="{{ "js/jquerymigrate.js" | absURL }}"></script>
<script src="{{ "js/production.min.js" | absURL }}?v={{ now.Unix }}"></script>

View file

@ -0,0 +1,70 @@
<div class="archive-header">
<h1>
Tag: {{ .Title }}
{{ if .Site.Params.social.rss }}
<a href="{{ .RSSLink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
{{ end }}
</h1>
</div>
<h1 class="screen-reader-text">Posts</h1>
<div id="loop-container" class="loop-container">
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
{{ if and (isset .Params "image") .Params.image }}
{{ if eq (mod $index 2) 0 }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
{{ else }}
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
{{ end }}
{{ else }}
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
{{ end }}
{{ if and (isset .Params "image") .Params.image }}
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' data-background="{{ .Params.image | absURL }}"></div></a>
{{ end }}
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">{{ .Date.Format "02 January 2006" }}</span> <span> / </span>
{{ if and (isset .Site.Params "author") .Site.Params.author }}
<span class="author">
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
<a href="{{ .Site.Params.authorLink | default "" | absURL }}" title="Posts by {{ .Site.Params.author | default "" }}" rel="author">{{ .Site.Params.author | default "" }}</a>
{{ else }}
{{ .Site.Params.author | default "" }}
{{ end }}
</span>
{{ end }}
{{ range .Params.categories }}
<span> / </span>
<span class="category">
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="{{ .Permalink }} "> {{ .Title }} </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
{{ .Summary }}
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
</div>
{{ end }}
</div>

View file

@ -0,0 +1,118 @@
<div class='container'>
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
<div class="menu">
<ul id="menu-secondary-items" class="menu-secondary-items">
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<li id="menu-item" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item">
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
<ul class="social-media-icons">
{{ with .Site.Params.social.facebook }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="facebook" target="_blank">
<i class="fab fa-facebook-square" title="facebook"></i>
<span class="screen-reader-text">facebook</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.googleplus }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="gplus" target="_blank">
<i class="fab fa-google-plus-g" title="googleplus"></i>
<span class="screen-reader-text">googleplus</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.twitter }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="twitter" target="_blank">
<i class="fab fa-twitter-square" title="twitter"></i>
<span class="screen-reader-text">twitter</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.instagram }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="instagram" target="_blank">
<i class="fab fa-instagram" title="instagram"></i>
<span class="screen-reader-text">instagram</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.email }}
<li>
<a href="mailto:{{ . }}" data-animate-hover="pulse" class="email">
<i class="fas fa-envelope" title="email"></i>
<span class="screen-reader-text">email</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.linkedin }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="linkedin" target="_blank">
<i class="fab fa-linkedin-in" title="linkedin"></i>
<span class="screen-reader-text">linkedin</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.stackoverflow }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="stackoverflow" target="_blank">
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
<span class="screen-reader-text">stackoverflow</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.github }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="github" target="_blank">
<i class="fab fa-github" title="github"></i>
<span class="screen-reader-text">github</span>
</a>
</li>
{{end}}
{{ with .Site.Params.social.pinterest }}
<li>
<a href="{{ . }}" data-animate-hover="pulse" class="pinterest" target="_blank">
<i class="fab fa-pinterest" title="pinterest"></i>
<span class="screen-reader-text">pinterest</span>
</a>
</li>
{{end}}
{{ if .Site.Params.social.rss }}
<li>
<a href="{{ .Site.RSSLink }}" data-animate-hover="pulse" class="rss" target="_blank">
<i class="fas fa-rss" title="rss"></i>
<span class="screen-reader-text">rss</span>
</a>
</li>
{{end}}
</ul></div>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>{{ partial "head.html" . }}</head>
<body class="home blog ct-body standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
{{ partial "topnavigation.html" . }}
</div>
<div class="container">
{{ partial "header.html" . }}
</div>
</header>
<div id="main" class="main" role="main">
{{ partial "category.html" . }}
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>{{ partial "head.html" . }}</head>
<body class="home blog ct-body standard">
<div id="overflow-container" class="overflow-container">
<a class="skip-content" href="#main">Skip to content</a>
<header id="site-header" class="site-header" role="banner">
<div class='top-navigation'>
{{ partial "topnavigation.html" . }}
</div>
<div class="container">
{{ partial "header.html" . }}
</div>
</header>
<div id="main" class="main" role="main">
{{ partial "tag.html" . }}
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>

View file

@ -0,0 +1,13 @@
{
"scripts": {
"build-css": "node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets static/scss/main.scss static/css/style.default.css",
"watch-css": "nodemon -e scss -x \"npm run build-css\""
},
"dependencies": {
"node-sass": "^4.5.0",
"sass": "^0.5.0"
},
"devDependencies": {
"bootstrap-sass": "^3.3.7"
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,87 @@
/*jshint browser:true */
/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
;(function( $ ){
'use strict';
$.fn.fitVids = function( options ) {
var settings = {
customSelector: null,
ignore: null
};
if(!document.getElementById('fit-vids-style')) {
// appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
var head = document.head || document.getElementsByTagName('head')[0];
var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
var div = document.createElement("div");
div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
head.appendChild(div.childNodes[1]);
}
if ( options ) {
$.extend( settings, options );
}
return this.each(function(){
var selectors = [
'iframe[src*="player.vimeo.com"]',
'iframe[src*="youtube.com"]',
'iframe[src*="youtube-nocookie.com"]',
'iframe[src*="kickstarter.com"][src*="video.html"]',
'object',
'embed'
];
if (settings.customSelector) {
selectors.push(settings.customSelector);
}
var ignoreList = '.fitvidsignore';
if(settings.ignore) {
ignoreList = ignoreList + ', ' + settings.ignore;
}
var $allVideos = $(this).find(selectors.join(','));
$allVideos = $allVideos.not('object object'); // SwfObj conflict patch
$allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
$allVideos.each(function(){
var $this = $(this);
if($this.parents(ignoreList).length > 0) {
return; // Disable FitVids on this video.
}
if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))
{
$this.attr('height', 9);
$this.attr('width', 16);
}
var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
aspectRatio = height / width;
if(!$this.attr('name')){
var videoName = 'fitvid' + $.fn.fitVids._count;
$this.attr('name', videoName);
$.fn.fitVids._count++;
}
$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');
$this.removeAttr('height').removeAttr('width');
});
});
};
// Internal counter for unique video names.
$.fn.fitVids._count = 0;
// Works with either jQuery or Zepto
})( window.jQuery || window.Zepto );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,20 @@
# theme.toml template for a Hugo theme
# See https://github.com/spf13/hugoThemes#themetoml for an example
name = "NEDERBURG"
license = "MIT"
licenselink = "https://github.com/appernetic/hugo-nederburg-theme/blob/master/LICENSE"
description = "Port of Tracks Theme https://www.competethemes.com/tracks/"
homepage = "https://github.com/appernetic/hugo-nederburg-theme"
tags = ["projects", "minimal", "responsive", "blog"]
features = ["disqus", "gravatar", "responsive", "google analytics"]
min_version = 0.34
[author]
name = "Göran Svensson"
homepage = "https://github.com/appernetic"
# If porting an existing theme
[original]
name = "tracks"
homepage = "https://www.competethemes.com/tracks/"