[
  {
    "path": ".gitignore",
    "content": "# Mac\n.DS_Store\n*/**/.DS_Store\n\n*.swp\n\n# exampleSite\nexampleSite/public\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "# Changelog\n\n> v1.4.0\n\n- Add PR #48 : Fix the default archetype\n- Add PR #49 : Add an `align_left` option for left text alignment\n- Add a `small_banner_logo` option to have a small logo on every page\n\n> v1.3.0\n\n- Add PR #47 : Redesign the 404 page\n\n> v1.2.0\n\n- Add PR #39 : Add a URL for licence\n- Add PR #40 : Add a github repo for the blog\n- Add PR #38 : Add a HackerNews and lobste.rs link in metadatas\n- Add PR #41 : Add FB account in social links\n- Add PR #42 : Add the support for the comment framework Isso\n\n> v1.1.0\n\n- Add more speed and asynchronous loading, of fonts especially\n- Add more languages to `highlightjs` that are nowadays really used, like Rust, Go, Docker, Clojure, etc. ...\n- Some fixes with some Pull Requests (thx to @davidskeck, @mtn and @maiki)\n\n> v1.0.0\n\n- Change the set of fonts to **Nexa Bold, Raleway and Merriweather**.\n- Add an optional navigation at the bottom of posts.\n- Add the tags in the metadatas and add a template for tags pages.\n- Add Google Analytics (thx @mtn)\n- Add author informations on posts (thx @seemethere)\n- Replace ionicons with svgs\n\n> v0.9.0\n\n- **Change the folder of high res images, now it's the root of the image folder.**\n- Add a version to CSS to prevent bad caching\n- Fix the images so absoluts paths are working even if the blog is in a subfolder\n\n> v0.8.0\n\n- Add a licensing page and a copyright in the footer if wanted (thx to [Hjdskes](https://github.com/Hjdskes))\n- Fix footnotes\n- Other small fixes\n\n> v0.7.0\n\n- Speed up a bit the theme\n- Add twitter cards support\n- Simplify the README\n- Change the homepage to display latest and bests posts\n\n> v0.6.0\n\n- Add progressive loading of images\n- Redesign image display\n- Clean up a bit the example website\n\n> v0.5.0\n\n- Add an automatic way to add sections\n- Add the possibility to add a header to a section list page\n- Add an automatic way to add single pages\n- Group blog articles by month and year\n- Add a homepage with the possibility of adding a small text and few articles\n- Update hightlightjs to v9.9.0\n- Few deletions of obsolete lines\n\n> v0.4.0\n\n- Add logo and a title in header instead of only the author name\n- Change pages from the navigation\n- Delete useless icons from the bottom\n- Change fonts and style the text (font size, justify ...)\n- Improve mobile design by adding dates, removing grey background and adapt font\n\nAnd more.\n\n> v0.3.0\n\n- Change color from orange to blue; improve colors elsewhere\n- Change `div.section` to `section`\n- Rename  `posts` directory to `blog`\n- Add ability to specify extra CSS files in `config.toml`\n- Removed `WebFontsFile` feature from `config.toml`\n- Remove the initials displayed on top right of single post pages\n- Update example site\n\n> v0.2.0\n\n* Added Disqus support. To enable Disqus, add `disqusshortname = \"XYZ\"` to `config.toml`. More details: <http://gohugo.io/extras/comments/>.\n* In the posts list, replaced date with bullets at smaller screen widths.\n\n> v0.1.0\n\n* Initial release\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "## Contributing\n\nPull requests, bug fixes, and new features suggestions, are all welcome! If you have a question or suggestion, you can open a new [issue](https://github.com/mtn/cocoa-eh-hugo-theme/issues/new). Try to be as specific as possible.\n\nFor code changes:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b my-new-feature`)\n3. Commit a changes (`git commit -am 'Add some feature'`)\n4. Push to the remote (`git push origin my-new-feature`)\n5. Create new Pull Request on GitHub\n\nPlease keep each pull request to a single feature -- it's okay to submit multiple pull requests at a time! This makes new features easier to review and merge. For large changes, consider making an issue beforehand to discuss. This maximizes the likelihood that your change can be merged quickly and efficiently.\n"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2015 Nishanth Shanmugham<nishanth.gerrard@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "# Cocoa Enhanced\n\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/mtn/cocoa-eh-hugo-theme/blob/master/LICENSE)\n\n**Cocoa Enhanced** is a clean, fast, and responsive [Hugo](http://gohugo.io) [theme](https://github.com/spf13/hugoThemes/) with cool typography. The main goal of this theme is to be simple and fast but also highly customizable.\n\nA demo is available [here](https://themes.gohugo.io/theme/cocoa-eh-hugo-theme/).\n\n> This is a fork from the original [Cocoa](https://www.github.com/nishanths/cocoa-hugo-theme) theme, with some improvements.\n\n[![screenshot](https://raw.githubusercontent.com/mtn/cocoa-eh-hugo-theme/master/images/screenshot.png)](https://raw.githubusercontent.com/mtn/cocoa-eh-hugo-theme/master/images/screenshot.png)\n\n## Table of Contents\n\n* [Features](#features)\n* [Getting Started](#getting-started)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Features\n\n* Possibility to have sections with a header and a list of articles.\n* Possibility to have single pages.\n* Homepage with latest and best posts.\n* Syntax highlighting with `hightlightjs`.\n* Progressive images.\n* Twitter cards support.\n* Disqus and Isso support.\n* LaTeX support with MathJax ([use `.mmark`](https://github.com/mtn/cocoa-eh-hugo-theme/issues/92)).\n\n#### Typography\n\nThe **typography** is what makes Cocoa-EH look cool. The fonts used are:\n\n* *Nexa Bold* for the blog name, a strong and opinionated font\n* *Raleway* for the titles, light but clearly visible\n* *Merriweather* for the text, an awesome sans serif font to read without difficulties\n* *Ubuntu Mono* for the code\n\n#### Blazing fast\n\nEverything is made here to make the theme **really fast** to load: inline CSS, deferred Javascript, fonts loaded in an asynchronous way with replacement fonts when they're not loaded, etc. ... Even with a GPRS connection, your blog is readable.\n\n> With gzip enabled, this theme takes less than **400**ms to load entirely, and the content is readable at only **50**ms. Also scores 99/100 on Pagespeed.\n\n### Differences from the original Cocoa\n\nThis theme is less minimalist than the original Cocoa, with some new features :\n\n* Displays a logo on the side of the header, and there is a title different from the author name.\n* Very modular with sections and single pages.\n* Group articles by month and year.\n* Progressive images.\n* Fonts are different : stronger and sharper, with a clear identity.\n* The font size in articles is higher, the text justified and lines are more spaced.\n* and more...\n\n## Getting Started \n\nFrom the root of your Hugo site, clone the theme into `themes/cocoa-eh` by running:\n\n````\ngit clone https://github.com/mtn/cocoa-eh-hugo-theme.git themes/cocoa-eh\n````\n\nThen, generate your site's files by running:\n\n````\nhugo -t cocoa-eh\n````\n\nIf you want a simple blog you can just use the `exampleSite`. The [wiki](https://github.com/mtn/cocoa-eh-hugo-theme/wiki) includes helpful details should you need more.\n\n## License\n\nLicensed under the MIT License. See the [LICENSE](https://github.com/mtn/cocoa-eh-hugo-theme/blob/master/LICENSE) file for more details.\n"
  },
  {
    "path": "archetypes/default.md",
    "content": "+++\ntitle = '{{ replace .TranslationBaseName \"-\" \" \" | title }}'\ndate = {{ .Date }}\ndraft = true\ntags = [\"tags\"]\ndescription = \"Desc\"\n\n# For twitter cards, see https://github.com/mtn/cocoa-eh-hugo-theme/wiki/Twitter-cards\nmeta_img = \"/images/image.jpg\"\n\n# For hacker news and lobsters builtin links, see github.com/mtn/cocoa-eh-hugo-theme/wiki/Social-Links\nhacker_news_id = \"\"\nlobsters_id = \"\"\n+++\n"
  },
  {
    "path": "exampleSite/config.toml",
    "content": "baseurl = \"https://example.com/\"\ntheme = \"../..\"\nbuilddrafts = true\ncanonifyurls = true\ncontentdir = \"content\"\nlanguageCode = \"en-US\"\nlayoutdir = \"layouts\"\npublishdir = \"public\"\nauthor = \"Alexis Tacnet\"\ntitle = \"Cocoa Enhanced\"\ndisqusshortname = \"\"\npluralizelisttitles = false\ndisableKinds = [\"taxonomy\", \"taxonomyTerm\"]\n\n[permalinks]\nblog = \"blog/:slug/\"\n\n[params]\ndateform = \"Jan 2, 2006\"\ndateformfull = \"Mon Jan 2 2006 15:04:05 MST\"\ndescription = \"Example blog\"\ncopyright = \"Copyright © 2015-{year} Nishanth Shanmugham\"\n# copyrightUrl = \"https://creativecommons.org/licenses/by-sa/4.0/\"\nlogofile = \"img/logo.png\"\nfaviconfile = \"img/logo.png\"\nhighlightjs = true\nprogressively = true\nshare = true\n# Share to googleplus, twitter, fb, linkedin by default\n# disable by setting share_on_<social network> = false\n# example: share_on_googleplus = false\nlatestpostcount = 5\ngithub = \"example\"\nemail = \"you@example.com\"\nlinkedin = \"john-example-aa80ue8è\"\ntwitter = \"example\"\nfacebook = \"facebook_id\"\ninstagram = \"instagram_id\"\nuntappd = \"untappd_id\"\nitch_io = \"itch_io_id\"\nsocial_banner = \"img/banner.png\"\nusesmallsummarycard = true\nposts_navigation = true\n# issoHost = \"comments.domain.tld:1234\"\n# githubRepo = \"githubUsername/repositoryName/tree/master\"\nsmall_banner_logo = false\n\n[params.utteranc]\nenable = true\nrepo = \"mtn/cocoa-eh-hugo-theme\"\nissueTerm = \"title\"\n\n[params.colors]\nidentifier = \"#527fc1f\"\nidentifier_dark = \"#1a3152\"\ntrivial = \"#6a7a8b\"\nforeground = \"#181d2a\"\nbackground = \"#f9f9f9\"\nbackground_dark = \"#282a36\"\ncode = \"#87a5d2\"\ntype = \"#97d28b\"\nspecial = \"#ffcb8d\"\nvalue = \"#96c2d7\"\nstatement = \"#ff8e91\"\n"
  },
  {
    "path": "exampleSite/content/about.md",
    "content": "+++\ndate = \"2015-08-22\"\ntitle = \"About\"\n+++\n\n_With this theme, it is possible to add small sections that only contains one page like this. It will automatically appears in the header, at the end._\n\nAlong with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\\(character\\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.  \n \n> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.  \n \nIn time, he learns how to fly and carves a niche for himself as a sandwich-maker."
  },
  {
    "path": "exampleSite/content/blog/creating-a-new-theme.md",
    "content": "---\nauthor: \"Michael Henderson\"\ndate: 2014-09-28\ntitle: Creating a New Theme\n---\n\n\n## Introduction\n\nThis tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I'll explain how Hugo uses templates and how you can organize your templates to create a theme. I won't cover using CSS to style your theme.\n\nWe'll start with creating a new site with a very basic template. Then we'll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites.\n\nIn this tutorial, commands that you enter will start with the \"$\" prompt. The output will follow. Lines that start with \"#\" are comments that I've added to explain a point. When I show updates to a file, the \":wq\" on the last line means to save the file.\n\nHere's an example:\n\n```\n## this is a comment\n$ echo this is a command\nthis is a command\n\n## edit the file\n$vi foo.md\n+++\ndate = \"2014-09-28\"\ntitle = \"creating a new theme\"\n+++\n\nbah and humbug\n:wq\n\n## show it\n$ cat foo.md\n+++\ndate = \"2014-09-28\"\ntitle = \"creating a new theme\"\n+++\n\nbah and humbug\n$\n```\n\n\n## Some Definitions\n\nThere are a few concepts that you need to understand before creating a theme.\n\n### Skins\n\nSkins are the files responsible for the look and feel of your site. It’s the CSS that controls colors and fonts, it’s the Javascript that determines actions and reactions. It’s also the rules that Hugo uses to transform your content into the HTML that the site will serve to visitors.\n\nYou have two ways to create a skin. The simplest way is to create it in the ```layouts/``` directory. If you do, then you don’t have to worry about configuring Hugo to recognize it. The first place that Hugo will look for rules and files is in the ```layouts/``` directory so it will always find the skin.\n\nYour second choice is to create it in a sub-directory of the ```themes/``` directory. If you do, then you must always tell Hugo where to search for the skin. It’s extra work, though, so why bother with it?\n\nThe difference between creating a skin in ```layouts/``` and creating it in ```themes/``` is very subtle. A skin in ```layouts/``` can’t be customized without updating the templates and static files that it is built from. A skin created in ```themes/```, on the other hand, can be and that makes it easier for other people to use it.\n\nThe rest of this tutorial will call a skin created in the ```themes/``` directory a theme.\n\nNote that you can use this tutorial to create a skin in the ```layouts/``` directory if you wish to. The main difference will be that you won’t need to update the site’s configuration file to use a theme.\n\n### The Home Page\n\nThe home page, or landing page, is the first page that many visitors to a site see. It is the index.html file in the root directory of the web site. Since Hugo writes files to the public/ directory, our home page is public/index.html.\n\n### Site Configuration File\n\nWhen Hugo runs, it looks for a configuration file that contains settings that override default values for the entire site. The file can use TOML, YAML, or JSON. I prefer to use TOML for my configuration files. If you prefer to use JSON or YAML, you’ll need to translate my examples. You’ll also need to change the name of the file since Hugo uses the extension to determine how to process it.\n\nHugo translates Markdown files into HTML. By default, Hugo expects to find Markdown files in your ```content/``` directory and template files in your ```themes/``` directory. It will create HTML files in your ```public/``` directory. You can change this by specifying alternate locations in the configuration file.\n\n### Content\n\nContent is stored in text files that contain two sections. The first section is the “front matter,” which is the meta-information on the content. The second section contains Markdown that will be converted to HTML.\n\n#### Front Matter\n\nThe front matter is information about the content. Like the configuration file, it can be written in TOML, YAML, or JSON. Unlike the configuration file, Hugo doesn’t use the file’s extension to know the format. It looks for markers to signal the type. TOML is surrounded by “`+++`”, YAML by “`---`”, and JSON is enclosed in curly braces. I prefer to use TOML, so you’ll need to translate my examples if you prefer YAML or JSON.\n\nThe information in the front matter is passed into the template before the content is rendered into HTML.\n\n#### Markdown\n\nContent is written in Markdown which makes it easier to create the content. Hugo runs the content through a Markdown engine to create the HTML which will be written to the output file.\n\n### Template Files\n\nHugo uses template files to render content into HTML. Template files are a bridge between the content and presentation. Rules in the template define what content is published, where it's published to, and how it will rendered to the HTML file. The template guides the presentation by specifying the style to use.\n\nThere are three types of templates: single, list, and partial. Each type takes a bit of content as input and transforms it based on the commands in the template.\n\nHugo uses its knowledge of the content to find the template file used to render the content. If it can’t find a template that is an exact match for the content, it will shift up a level and search from there. It will continue to do so until it finds a matching template or runs out of templates to try. If it can’t find a template, it will use the default template for the site.\n\nPlease note that you can use the front matter to influence Hugo’s choice of templates.\n\n#### Single Template\n\nA single template is used to render a single piece of content. For example, an article or post would be a single piece of content and use a single template.\n\n#### List Template\n\nA list template renders a group of related content. That could be a summary of recent postings or all articles in a category. List templates can contain multiple groups.\n\nThe homepage template is a special type of list template. Hugo assumes that the home page of your site will act as the portal for the rest of the content in the site.\n\n#### Partial Template\n\nA partial template is a template that can be included in other templates. Partial templates must be called using the “partial” template command. They are very handy for rolling up common behavior. For example, your site may have a banner that all pages use. Instead of copying the text of the banner into every single and list template, you could create a partial with the banner in it. That way if you decide to change the banner, you only have to change the partial template.\n\n## Create a New Site\n\nLet's use Hugo to create a new web site. I'm a Mac user, so I'll create mine in my home directory, in the Sites folder. If you're using Linux, you might have to create the folder first.\n\nThe \"new site\" command will create a skeleton of a site. It will give you the basic directory structure and a useable configuration file.\n\n```\n$ hugo new site ~/Sites/zafta\n$ cd ~/Sites/zafta\n$ ls -l\ntotal 8\ndrwxr-xr-x  7 quoha  staff  238 Sep 29 16:49 .\ndrwxr-xr-x  3 quoha  staff  102 Sep 29 16:49 ..\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 archetypes\n-rw-r--r--  1 quoha  staff   82 Sep 29 16:49 config.toml\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 content\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 layouts\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 static\n$\n```\n\nTake a look in the content/ directory to confirm that it is empty.\n\nThe other directories (archetypes/, layouts/, and static/) are used when customizing a theme. That's a topic for a different tutorial, so please ignore them for now.\n\n### Generate the HTML For the New Site\n\nRunning the `hugo` command with no options will read all the available content and generate the HTML files. It will also copy all static files (that's everything that's not content). Since we have an empty site, it won't do much, but it will do it very quickly.\n\n```\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nWARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html]\nWARN: 2014/09/29 Unable to locate layout: [404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 2 ms\n$ \n```\n\nThe \"`--verbose`\" flag gives extra information that will be helpful when we build the template. Every line of the output that starts with \"INFO:\" or \"WARN:\" is present because we used that flag. The lines that start with \"WARN:\" are warning messages. We'll go over them later.\n\nWe can verify that the command worked by looking at the directory again.\n\n```\n$ ls -l\ntotal 8\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 archetypes\n-rw-r--r--  1 quoha  staff   82 Sep 29 16:49 config.toml\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 content\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 layouts\ndrwxr-xr-x  4 quoha  staff  136 Sep 29 17:02 public\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 static\n$\n```\n\nSee that new public/ directory? Hugo placed all generated content there. When you're ready to publish your web site, that's the place to start. For now, though, let's just confirm that we have what we'd expect from a site with no content.\n\n```\n$ ls -l public\ntotal 16\n-rw-r--r--  1 quoha  staff  416 Sep 29 17:02 index.xml\n-rw-r--r--  1 quoha  staff  262 Sep 29 17:02 sitemap.xml\n$ \n```\n\nHugo created two XML files, which is standard, but there are no HTML files.\n\n\n\n### Test the New Site\n\nVerify that you can run the built-in web server. It will dramatically shorten your development cycle if you do. Start it by running the \"server\" command. If it is successful, you will see output similar to the following:\n\n```\n$ hugo server --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nWARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html]\nWARN: 2014/09/29 Unable to locate layout: [404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 2 ms\nServing pages from /Users/quoha/Sites/zafta/public\nWeb Server is available at http://localhost:1313\nPress Ctrl+C to stop\n```\n\nConnect to the listed URL (it's on the line that starts with \"Web Server\"). If everything is working correctly, you should get a page that shows the following:\n\n```\nindex.xml\nsitemap.xml\n```\n\nThat's a listing of your public/ directory. Hugo didn't create a home page because our site has no content. When there's no index.html file in a directory, the server lists the files in the directory, which is what you should see in your browser.\n\nLet’s go back and look at those warnings again.\n\n```\nWARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html]\nWARN: 2014/09/29 Unable to locate layout: [404.html]\n```\n\nThat second warning is easier to explain. We haven’t created a template to be used to generate “page not found errors.” The 404 message is a topic for a separate tutorial.\n\nNow for the first warning. It is for the home page. You can tell because the first layout that it looked for was “index.html.” That’s only used by the home page.\n\nI like that the verbose flag causes Hugo to list the files that it's searching for. For the home page, they are index.html, _default/list.html, and _default/single.html. There are some rules that we'll cover later that explain the names and paths. For now, just remember that Hugo couldn't find a template for the home page and it told you so.\n\nAt this point, you've got a working installation and site that we can build upon. All that’s left is to add some content and a theme to display it.\n\n## Create a New Theme\n\nHugo doesn't ship with a default theme. There are a few available (I counted a dozen when I first installed Hugo) and Hugo comes with a command to create new themes.\n\nWe're going to create a new theme called \"zafta.\" Since the goal of this tutorial is to show you how to fill out the files to pull in your content, the theme will not contain any CSS. In other words, ugly but functional.\n\nAll themes have opinions on content and layout. For example, Zafta uses \"post\" over \"blog\". Strong opinions make for simpler templates but differing opinions make it tougher to use themes. When you build a theme, consider using the terms that other themes do.\n\n\n### Create a Skeleton\n\nUse the hugo \"new\" command to create the skeleton of a theme. This creates the directory structure and places empty files for you to fill out.\n\n```\n$ hugo new theme zafta\n\n$ ls -l\ntotal 8\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 archetypes\n-rw-r--r--  1 quoha  staff   82 Sep 29 16:49 config.toml\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 content\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 layouts\ndrwxr-xr-x  4 quoha  staff  136 Sep 29 17:02 public\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 16:49 static\ndrwxr-xr-x  3 quoha  staff  102 Sep 29 17:31 themes\n\n$ find themes -type f | xargs ls -l\n-rw-r--r--  1 quoha  staff  1081 Sep 29 17:31 themes/zafta/LICENSE.md\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/archetypes/default.md\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/layouts/_default/list.html\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/layouts/_default/single.html\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/layouts/index.html\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html\n-rw-r--r--  1 quoha  staff     0 Sep 29 17:31 themes/zafta/layouts/partials/header.html\n-rw-r--r--  1 quoha  staff    93 Sep 29 17:31 themes/zafta/theme.toml\n$ \n```\n\nThe skeleton includes templates (the files ending in .html), license file, a description of your theme (the theme.toml file), and an empty archetype.\n\nPlease take a minute to fill out the theme.toml and LICENSE.md files. They're optional, but if you're going to be distributing your theme, it tells the world who to praise (or blame). It's also nice to declare the license so that people will know how they can use the theme.\n\n```\n$ vi themes/zafta/theme.toml\nauthor = \"michael d henderson\"\ndescription = \"a minimal working template\"\nlicense = \"MIT\"\nname = \"zafta\"\nsource_repo = \"\"\ntags = [\"tags\", \"categories\"]\n:wq\n\n## also edit themes/zafta/LICENSE.md and change\n## the bit that says \"YOUR_NAME_HERE\"\n```\n\nNote that the the skeleton's template files are empty. Don't worry, we'll be changing that shortly.\n\n```\n$ find themes/zafta -name '*.html' | xargs ls -l\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/_default/list.html\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/_default/single.html\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/index.html\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/partials/header.html\n$\n```\n\n\n\n### Update the Configuration File to Use the Theme\n\nNow that we've got a theme to work with, it's a good idea to add the theme name to the configuration file. This is optional, because you can always add \"-t zafta\" on all your commands. I like to put it the configuration file because I like shorter command lines. If you don't put it in the configuration file or specify it on the command line, you won't use the template that you're expecting to.\n\nEdit the file to add the theme, add a title for the site, and specify that all of our content will use the TOML format.\n\n```\n$ vi config.toml\ntheme = \"zafta\"\nbaseurl = \"\"\nlanguageCode = \"en-us\"\ntitle = \"zafta - totally refreshing\"\nMetaDataFormat = \"toml\"\n:wq\n\n$\n```\n\n### Generate the Site\n\nNow that we have an empty theme, let's generate the site again.\n\n```\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 2 ms\n$\n```\n\nDid you notice that the output is different? The warning message for the home page has disappeared and we have an additional information line saying that Hugo is syncing from the theme's directory.\n\nLet's check the public/ directory to see what Hugo's created.\n\n```\n$ ls -l public\ntotal 16\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 17:56 css\n-rw-r--r--  1 quoha  staff    0 Sep 29 17:56 index.html\n-rw-r--r--  1 quoha  staff  407 Sep 29 17:56 index.xml\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 17:56 js\n-rw-r--r--  1 quoha  staff  243 Sep 29 17:56 sitemap.xml\n$\n```\n\nNotice four things:\n\n1. Hugo created a home page. This is the file public/index.html.\n2. Hugo created a css/ directory.\n3. Hugo created a js/ directory.\n4. Hugo claimed that it created 0 pages. It created a file and copied over static files, but didn't create any pages. That's because it considers a \"page\" to be a file created directly from a content file. It doesn't count things like the index.html files that it creates automatically.\n\n#### The Home Page\n\nHugo supports many different types of templates. The home page is special because it gets its own type of template and its own template file. The file, layouts/index.html, is used to generate the HTML for the home page. The Hugo documentation says that this is the only required template, but that depends. Hugo's warning message shows that it looks for three different templates:\n\n```\nWARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html]\n```\n\nIf it can't find any of these, it completely skips creating the home page. We noticed that when we built the site without having a theme installed.\n\nWhen Hugo created our theme, it created an empty home page template. Now, when we build the site, Hugo finds the template and uses it to generate the HTML for the home page. Since the template file is empty, the HTML file is empty, too. If the template had any rules in it, then Hugo would have used them to generate the home page.\n\n```\n$ find . -name index.html | xargs ls -l\n-rw-r--r--  1 quoha  staff  0 Sep 29 20:21 ./public/index.html\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 ./themes/zafta/layouts/index.html\n$ \n```\n\n#### The Magic of Static\n\nHugo does two things when generating the site. It uses templates to transform content into HTML and it copies static files into the site. Unlike content, static files are not transformed. They are copied exactly as they are.\n\nHugo assumes that your site will use both CSS and JavaScript, so it creates directories in your theme to hold them. Remember opinions? Well, Hugo's opinion is that you'll store your CSS in a directory named css/ and your JavaScript in a directory named js/. If you don't like that, you can change the directory names in your theme directory or even delete them completely. Hugo's nice enough to offer its opinion, then behave nicely if you disagree.\n\n```\n$ find themes/zafta -type d | xargs ls -ld\ndrwxr-xr-x  7 quoha  staff  238 Sep 29 17:38 themes/zafta\ndrwxr-xr-x  3 quoha  staff  102 Sep 29 17:31 themes/zafta/archetypes\ndrwxr-xr-x  5 quoha  staff  170 Sep 29 17:31 themes/zafta/layouts\ndrwxr-xr-x  4 quoha  staff  136 Sep 29 17:31 themes/zafta/layouts/_default\ndrwxr-xr-x  4 quoha  staff  136 Sep 29 17:31 themes/zafta/layouts/partials\ndrwxr-xr-x  4 quoha  staff  136 Sep 29 17:31 themes/zafta/static\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 17:31 themes/zafta/static/css\ndrwxr-xr-x  2 quoha  staff   68 Sep 29 17:31 themes/zafta/static/js\n$ \n```\n\n## The Theme Development Cycle\n\nWhen you're working on a theme, you will make changes in the theme's directory, rebuild the site, and check your changes in the browser. Hugo makes this very easy:\n\n1. Purge the public/ directory.\n2. Run the built in web server in watch mode.\n3. Open your site in a browser.\n4. Update the theme.\n5. Glance at your browser window to see changes.\n6. Return to step 4.\n\nI’ll throw in one more opinion: never work on a theme on a live site. Always work on a copy of your site. Make changes to your theme, test them, then copy them up to your site. For added safety, use a tool like Git to keep a revision history of your content and your theme. Believe me when I say that it is too easy to lose both your mind and your changes.\n\nCheck the main Hugo site for information on using Git with Hugo.\n\n### Purge the public/ Directory\n\nWhen generating the site, Hugo will create new files and update existing ones in the ```public/``` directory. It will not delete files that are no longer used. For example, files that were created in the wrong directory or with the wrong title will remain. If you leave them, you might get confused by them later. I recommend cleaning out your site prior to generating it.\n\nNote: If you're building on an SSD, you should ignore this. Churning on a SSD can be costly.\n\n### Hugo's Watch Option\n\nHugo's \"`--watch`\" option will monitor the content/ and your theme directories for changes and rebuild the site automatically.\n\n### Live Reload\n\nHugo's built in web server supports live reload. As pages are saved on the server, the browser is told to refresh the page. Usually, this happens faster than you can say, \"Wow, that's totally amazing.\"\n\n### Development Commands\n\nUse the following commands as the basis for your workflow.\n\n```\n## purge old files. hugo will recreate the public directory.\n##\n$ rm -rf public\n##\n## run hugo in watch mode\n##\n$ hugo server --watch --verbose\n```\n\nHere's sample output showing Hugo detecting a change to the template for the home page. Once generated, the web browser automatically reloaded the page. I've said this before, it's amazing.\n\n\n```\n$ rm -rf public\n$ hugo server --watch --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 2 ms\nWatching for changes in /Users/quoha/Sites/zafta/content\nServing pages from /Users/quoha/Sites/zafta/public\nWeb Server is available at http://localhost:1313\nPress Ctrl+C to stop\nINFO: 2014/09/29 File System Event: [\"/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html\": MODIFY|ATTRIB]\nChange detected, rebuilding site\n\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 1 ms\n```\n\n## Update the Home Page Template\n\nThe home page is one of a few special pages that Hugo creates automatically. As mentioned earlier, it looks for one of three files in the theme's layout/ directory:\n\n1. index.html\n2. _default/list.html\n3. _default/single.html\n\nWe could update one of the default templates, but a good design decision is to update the most specific template available. That's not a hard and fast rule (in fact, we'll break it a few times in this tutorial), but it is a good generalization.\n\n### Make a Static Home Page\n\nRight now, that page is empty because we don't have any content and we don't have any logic in the template. Let's change that by adding some text to the template.\n\n```\n$ vi themes/zafta/layouts/index.html\n<!DOCTYPE html> \n<html> \n<body> \n  <p>hugo says hello!</p> \n</body> \n</html> \n:wq\n\n$\n```\n\nBuild the web site and then verify the results.\n\n```\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n0 pages created \n0 tags created\n0 categories created\nin 2 ms\n\n$ find public -type f -name '*.html' | xargs ls -l\n-rw-r--r--  1 quoha  staff  78 Sep 29 21:26 public/index.html\n\n$ cat public/index.html \n<!DOCTYPE html> \n<html> \n<body> \n  <p>hugo says hello!</p> \n</html>\n```\n\n#### Live Reload\n\nNote: If you're running the server with the `--watch` option, you'll see different content in the file:\n\n```\n$ cat public/index.html \n<!DOCTYPE html> \n<html> \n<body> \n  <p>hugo says hello!</p> \n<script>document.write('<script src=\"http://' \n        + (location.host || 'localhost').split(':')[0] \n    + ':1313/livereload.js?mindelay=10\"></' \n        + 'script>')</script></body> \n</html>\n```\n\nWhen you use `--watch`, the Live Reload script is added by Hugo. Look for live reload in the documentation to see what it does and how to disable it.\n\n### Build a \"Dynamic\" Home Page\n\n\"Dynamic home page?\" Hugo's a static web site generator, so this seems an odd thing to say. I mean let's have the home page automatically reflect the content in the site every time Hugo builds it. We'll use iteration in the template to do that.\n\n#### Create New Posts\n\nNow that we have the home page generating static content, let's add some content to the site. We'll display these posts as a list on the home page and on their own page, too.\n\nHugo has a command to generate a skeleton post, just like it does for sites and themes.\n\n```\n$ hugo --verbose new post/first.md\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 attempting to create  post/first.md of post\nINFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/default.md\nERROR: 2014/09/29 Unable to Cast <nil> to map[string]interface{}\n\n$ \n```\n\nThat wasn't very nice, was it?\n\nThe \"new\" command uses an archetype to create the post file. Hugo created an empty default archetype file, but that causes an error when there's a theme. For me, the workaround was to create an archetypes file specifically for the post type.\n\n```\n$ vi themes/zafta/archetypes/post.md\n+++\nDescription = \"\"\nTags = []\nCategories = []\n+++\n:wq\n\n$ find themes/zafta/archetypes -type f | xargs ls -l\n-rw-r--r--  1 quoha  staff   0 Sep 29 21:53 themes/zafta/archetypes/default.md\n-rw-r--r--  1 quoha  staff  51 Sep 29 21:54 themes/zafta/archetypes/post.md\n\n$ hugo --verbose new post/first.md\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 attempting to create  post/first.md of post\nINFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md\nINFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/first.md\n/Users/quoha/Sites/zafta/content/post/first.md created\n\n$ hugo --verbose new post/second.md\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 attempting to create  post/second.md of post\nINFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md\nINFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/second.md\n/Users/quoha/Sites/zafta/content/post/second.md created\n\n$ ls -l content/post\ntotal 16\n-rw-r--r--  1 quoha  staff  104 Sep 29 21:54 first.md\n-rw-r--r--  1 quoha  staff  105 Sep 29 21:57 second.md\n\n$ cat content/post/first.md \n+++\nCategories = []\nDescription = \"\"\nTags = []\ndate = \"2014-09-29T21:54:53-05:00\"\ntitle = \"first\"\n\n+++\nmy first post\n\n$ cat content/post/second.md \n+++\nCategories = []\nDescription = \"\"\nTags = []\ndate = \"2014-09-29T21:57:09-05:00\"\ntitle = \"second\"\n\n+++\nmy second post\n\n$ \n```\n\nBuild the web site and then verify the results.\n\n```\n$ rm -rf public\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 found taxonomies: map[string]string{\"category\":\"categories\", \"tag\":\"tags\"}\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n2 pages created \n0 tags created\n0 categories created\nin 4 ms\n$\n```\n\nThe output says that it created 2 pages. Those are our new posts:\n\n```\n$ find public -type f -name '*.html' | xargs ls -l\n-rw-r--r--  1 quoha  staff  78 Sep 29 22:13 public/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:13 public/post/first/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:13 public/post/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:13 public/post/second/index.html\n$\n```\n\nThe new files are empty because because the templates used to generate the content are empty. The homepage doesn't show the new content, either. We have to update the templates to add the posts.\n\n### List and Single Templates\n\nIn Hugo, we have three major kinds of templates. There's the home page template that we updated previously. It is used only by the home page. We also have \"single\" templates which are used to generate output for a single content file. We also have \"list\" templates that are used to group multiple pieces of content before generating output.\n\nGenerally speaking, list templates are named \"list.html\" and single templates are named \"single.html.\"\n\nThere are three other types of templates: partials, content views, and terms. We will not go into much detail on these.\n\n### Add Content to the Homepage\n\nThe home page will contain a list of posts. Let's update its template to add the posts that we just created. The logic in the template will run every time we build the site.\n\n```\n$ vi themes/zafta/layouts/index.html \n<!DOCTYPE html>\n<html>\n<body>\n  {{ range first 10 .Data.Pages }}\n    <h1>{{ .Title }}</h1>\n  {{ end }}\n</body>\n</html>\n:wq\n\n$\n```\n\nHugo uses the Go template engine. That engine scans the template files for commands which are enclosed between \"{{\" and \"}}\". In our template, the commands are:\n\n1. range\n2. .Title\n3. end\n\nThe \"range\" command is an iterator. We're going to use it to go through the first ten pages. Every HTML file that Hugo creates is treated as a page, so looping through the list of pages will look at every file that will be created.\n\nThe \".Title\" command prints the value of the \"title\" variable. Hugo pulls it from the front matter in the Markdown file.\n\nThe \"end\" command signals the end of the range iterator. The engine loops back to the top of the iteration when it finds \"end.\" Everything between the \"range\" and \"end\" is evaluated every time the engine goes through the iteration. In this file, that would cause the title from the first ten pages to be output as heading level one.\n\nIt's helpful to remember that some variables, like .Data, are created before any output files. Hugo loads every content file into the variable and then gives the template a chance to process before creating the HTML files.\n\nBuild the web site and then verify the results.\n\n```\n$ rm -rf public\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 found taxonomies: map[string]string{\"tag\":\"tags\", \"category\":\"categories\"}\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n2 pages created \n0 tags created\n0 categories created\nin 4 ms\n$ find public -type f -name '*.html' | xargs ls -l \n-rw-r--r--  1 quoha  staff  94 Sep 29 22:23 public/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:23 public/post/first/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:23 public/post/index.html\n-rw-r--r--  1 quoha  staff   0 Sep 29 22:23 public/post/second/index.html\n$ cat public/index.html \n<!DOCTYPE html>\n<html>\n<body>\n  \n    <h1>second</h1>\n  \n    <h1>first</h1>\n  \n</body>\n</html>\n$\n```\n\nCongratulations, the home page shows the title of the two posts. The posts themselves are still empty, but let's take a moment to appreciate what we've done. Your template now generates output dynamically. Believe it or not, by inserting the range command inside of those curly braces, you've learned everything you need to know to build a theme. All that's really left is understanding which template will be used to generate each content file and becoming familiar with the commands for the template engine.\n\nAnd, if that were entirely true, this tutorial would be much shorter. There are a few things to know that will make creating a new template much easier. Don't worry, though, that's all to come.\n\n### Add Content to the Posts\n\nWe're working with posts, which are in the content/post/ directory. That means that their section is \"post\" (and if we don't do something weird, their type is also \"post\").\n\nHugo uses the section and type to find the template file for every piece of content. Hugo will first look for a template file that matches the section or type name. If it can't find one, then it will look in the _default/ directory. There are some twists that we'll cover when we get to categories and tags, but for now we can assume that Hugo will try post/single.html, then _default/single.html.\n\nNow that we know the search rule, let's see what we actually have available:\n\n```\n$ find themes/zafta -name single.html | xargs ls -l\n-rw-r--r--  1 quoha  staff  132 Sep 29 17:31 themes/zafta/layouts/_default/single.html\n```\n\nWe could create a new template, post/single.html, or change the default. Since we don't know of any other content types, let's start with updating the default.\n\nRemember, any content that we haven't created a template for will end up using this template. That can be good or bad. Bad because I know that we're going to be adding different types of content and we're going to end up undoing some of the changes we've made. It's good because we'll be able to see immediate results. It's also good to start here because we can start to build the basic layout for the site. As we add more content types, we'll refactor this file and move logic around. Hugo makes that fairly painless, so we'll accept the cost and proceed.\n\nPlease see the Hugo documentation on template rendering for all the details on determining which template to use. And, as the docs mention, if you're building a single page application (SPA) web site, you can delete all of the other templates and work with just the default single page. That's a refreshing amount of joy right there.\n\n#### Update the Template File\n\n```\n$ vi themes/zafta/layouts/_default/single.html \n<!DOCTYPE html>\n<html>\n<head>\n  <title>{{ .Title }}</title>\n</head>\n<body>\n  <h1>{{ .Title }}</h1>\n  {{ .Content }}\n</body>\n</html>\n:wq\n\n$\n```\n\nBuild the web site and verify the results.\n\n```\n$ rm -rf public\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 found taxonomies: map[string]string{\"tag\":\"tags\", \"category\":\"categories\"}\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n2 pages created \n0 tags created\n0 categories created\nin 4 ms\n\n$ find public -type f -name '*.html' | xargs ls -l\n-rw-r--r--  1 quoha  staff   94 Sep 29 22:40 public/index.html\n-rw-r--r--  1 quoha  staff  125 Sep 29 22:40 public/post/first/index.html\n-rw-r--r--  1 quoha  staff    0 Sep 29 22:40 public/post/index.html\n-rw-r--r--  1 quoha  staff  128 Sep 29 22:40 public/post/second/index.html\n\n$ cat public/post/first/index.html \n<!DOCTYPE html>\n<html>\n<head>\n  <title>first</title>\n</head>\n<body>\n  <h1>first</h1>\n  <p>my first post</p>\n\n</body>\n</html>\n\n$ cat public/post/second/index.html \n<!DOCTYPE html>\n<html>\n<head>\n  <title>second</title>\n</head>\n<body>\n  <h1>second</h1>\n  <p>my second post</p>\n\n</body>\n</html>\n$\n```\n\nNotice that the posts now have content. You can go to localhost:1313/post/first to verify.\n\n### Linking to Content\n\nThe posts are on the home page. Let's add a link from there to the post. Since this is the home page, we'll update its template.\n\n```\n$ vi themes/zafta/layouts/index.html\n<!DOCTYPE html>\n<html>\n<body>\n  {{ range first 10 .Data.Pages }}\n    <h1><a href=\"{{ .Permalink }}\">{{ .Title }}</a></h1>\n  {{ end }}\n</body>\n</html>\n```\n\nBuild the web site and verify the results.\n\n```\n$ rm -rf public\n$ hugo --verbose\nINFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/\nINFO: 2014/09/29 found taxonomies: map[string]string{\"tag\":\"tags\", \"category\":\"categories\"}\nWARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html]\n0 draft content \n0 future content \n2 pages created \n0 tags created\n0 categories created\nin 4 ms\n\n$ find public -type f -name '*.html' | xargs ls -l\n-rw-r--r--  1 quoha  staff  149 Sep 29 22:44 public/index.html\n-rw-r--r--  1 quoha  staff  125 Sep 29 22:44 public/post/first/index.html\n-rw-r--r--  1 quoha  staff    0 Sep 29 22:44 public/post/index.html\n-rw-r--r--  1 quoha  staff  128 Sep 29 22:44 public/post/second/index.html\n\n$ cat public/index.html \n<!DOCTYPE html>\n<html>\n<body>\n  \n    <h1><a href=\"/post/second/\">second</a></h1>\n  \n    <h1><a href=\"/post/first/\">first</a></h1>\n  \n</body>\n</html>\n\n$\n```\n\n### Create a Post Listing\n\nWe have the posts displaying on the home page and on their own page. We also have a file public/post/index.html that is empty. Let's make it show a list of all posts (not just the first ten).\n\nWe need to decide which template to update. This will be a listing, so it should be a list template. Let's take a quick look and see which list templates are available.\n\n```\n$ find themes/zafta -name list.html | xargs ls -l\n-rw-r--r--  1 quoha  staff  0 Sep 29 17:31 themes/zafta/layouts/_default/list.html\n```\n\nAs with the single post, we have to decide to update _default/list.html or create post/list.html. We still don't have multiple content types, so let's stay consistent and update the default list template.\n\n## Creating Top Level Pages\n\nLet's add an \"about\" page and display it at the top level (as opposed to a sub-level like we did with posts).\n\nThe default in Hugo is to use the directory structure of the content/ directory to guide the location of the generated html in the public/ directory. Let's verify that by creating an \"about\" page at the top level:\n\n```\n$ vi content/about.md \n+++\ntitle = \"about\"\ndescription = \"about this site\"\ndate = \"2014-09-27\"\nslug = \"about time\"\n+++\n\n## about us\n\ni'm speechless\n:wq\n```\n\nGenerate the web site and verify the results.\n\n```\n$ find public -name '*.html' | xargs ls -l\n-rw-rw-r--  1 mdhender  staff   334 Sep 27 15:08 public/about-time/index.html\n-rw-rw-r--  1 mdhender  staff   527 Sep 27 15:08 public/index.html\n-rw-rw-r--  1 mdhender  staff   358 Sep 27 15:08 public/post/first-post/index.html\n-rw-rw-r--  1 mdhender  staff     0 Sep 27 15:08 public/post/index.html\n-rw-rw-r--  1 mdhender  staff   342 Sep 27 15:08 public/post/second-post/index.html\n```\n\nNotice that the page wasn't created at the top level. It was created in a sub-directory named 'about-time/'. That name came from our slug. Hugo will use the slug to name the generated content. It's a reasonable default, by the way, but we can learn a few things by fighting it for this file.\n\nOne other thing. Take a look at the home page.\n\n```\n$ cat public/index.html\n<!DOCTYPE html>\n<html>\n<body>\n    <h1><a href=\"http://localhost:1313/post/theme/\">creating a new theme</a></h1>\n    <h1><a href=\"http://localhost:1313/about-time/\">about</a></h1>\n    <h1><a href=\"http://localhost:1313/post/second-post/\">second</a></h1>\n    <h1><a href=\"http://localhost:1313/post/first-post/\">first</a></h1>\n<script>document.write('<script src=\"http://'\n        + (location.host || 'localhost').split(':')[0]\n\t\t+ ':1313/livereload.js?mindelay=10\"></'\n        + 'script>')</script></body>\n</html>\n```\n\nNotice that the \"about\" link is listed with the posts? That's not desirable, so let's change that first.\n\n```\n$ vi themes/zafta/layouts/index.html\n<!DOCTYPE html>\n<html>\n<body>\n  <h1>posts</h1>\n  {{ range first 10 .Data.Pages }}\n    {{ if eq .Type \"post\"}}\n      <h2><a href=\"{{ .Permalink }}\">{{ .Title }}</a></h2>\n    {{ end }}\n  {{ end }}\n\n  <h1>pages</h1>\n  {{ range .Data.Pages }}\n    {{ if eq .Type \"page\" }}\n      <h2><a href=\"{{ .Permalink }}\">{{ .Title }}</a></h2>\n    {{ end }}\n  {{ end }}\n</body>\n</html>\n:wq\n```\n\nGenerate the web site and verify the results. The home page has two sections, posts and pages, and each section has the right set of headings and links in it.\n\nBut, that about page still renders to about-time/index.html.\n\n```\n$ find public -name '*.html' | xargs ls -l\n-rw-rw-r--  1 mdhender  staff    334 Sep 27 15:33 public/about-time/index.html\n-rw-rw-r--  1 mdhender  staff    645 Sep 27 15:33 public/index.html\n-rw-rw-r--  1 mdhender  staff    358 Sep 27 15:33 public/post/first-post/index.html\n-rw-rw-r--  1 mdhender  staff      0 Sep 27 15:33 public/post/index.html\n-rw-rw-r--  1 mdhender  staff    342 Sep 27 15:33 public/post/second-post/index.html\n```\n\nKnowing that hugo is using the slug to generate the file name, the simplest solution is to change the slug. Let's do it the hard way and change the permalink in the configuration file.\n\n```\n$ vi config.toml\n[permalinks]\n\tpage = \"/:title/\"\n\tabout = \"/:filename/\"\n```\n\nGenerate the web site and verify that this didn't work. Hugo lets \"slug\" or \"URL\" override the permalinks setting in the configuration file. Go ahead and comment out the slug in content/about.md, then generate the web site to get it to be created in the right place.\n\n## Sharing Templates\n\nIf you've been following along, you probably noticed that posts have titles in the browser and the home page doesn't. That's because we didn't put the title in the home page's template (layouts/index.html). That's an easy thing to do, but let's look at a different option.\n\nWe can put the common bits into a shared template that's stored in the themes/zafta/layouts/partials/ directory.\n\n### Create the Header and Footer Partials\n\nIn Hugo, a partial is a sugar-coated template. Normally a template reference has a path specified. Partials are different. Hugo searches for them along a TODO defined search path. This makes it easier for end-users to override the theme's presentation.\n\n```\n$ vi themes/zafta/layouts/partials/header.html\n<!DOCTYPE html>\n<html>\n<head>\n\t<title>{{ .Title }}</title>\n</head>\n<body>\n:wq\n\n$ vi themes/zafta/layouts/partials/footer.html\n</body>\n</html>\n:wq\n```\n\n### Update the Home Page Template to Use the Partials\n\nThe most noticeable difference between a template call and a partials call is the lack of path:\n\n```\n{{ template \"theme/partials/header.html\" . }}\n```\nversus\n```\n{{ partial \"header.html\" . }}\n```\nBoth pass in the context.\n\nLet's change the home page template to use these new partials.\n\n```\n$ vi themes/zafta/layouts/index.html\n{{ partial \"header.html\" . }}\n\n  <h1>posts</h1>\n  {{ range first 10 .Data.Pages }}\n    {{ if eq .Type \"post\"}}\n      <h2><a href=\"{{ .Permalink }}\">{{ .Title }}</a></h2>\n    {{ end }}\n  {{ end }}\n\n  <h1>pages</h1>\n  {{ range .Data.Pages }}\n    {{ if or (eq .Type \"page\") (eq .Type \"about\") }}\n      <h2><a href=\"{{ .Permalink }}\">{{ .Type }} - {{ .Title }} - {{ .RelPermalink }}</a></h2>\n    {{ end }}\n  {{ end }}\n\n{{ partial \"footer.html\" . }}\n:wq\n```\n\nGenerate the web site and verify the results. The title on the home page is now \"your title here\", which comes from the \"title\" variable in the config.toml file.\n\n### Update the Default Single Template to Use the Partials\n\n```\n$ vi themes/zafta/layouts/_default/single.html\n{{ partial \"header.html\" . }}\n\n  <h1>{{ .Title }}</h1>\n  {{ .Content }}\n\n{{ partial \"footer.html\" . }}\n:wq\n```\n\nGenerate the web site and verify the results. The title on the posts and the about page should both reflect the value in the markdown file.\n\n## Add “Date Published” to Posts\n\nIt's common to have posts display the date that they were written or published, so let's add that. The front matter of our posts has a variable named \"date.\" It's usually the date the content was created, but let's pretend that's the value we want to display.\n\n### Add “Date Published” to the Template\n\nWe'll start by updating the template used to render the posts. The template code will look like:\n\n```\n{{ .Date.Format \"Mon, Jan 2, 2006\" }}\n```\n\nPosts use the default single template, so we'll change that file.\n\n```\n$ vi themes/zafta/layouts/_default/single.html\n{{ partial \"header.html\" . }}\n\n  <h1>{{ .Title }}</h1>\n  <h2>{{ .Date.Format \"Mon, Jan 2, 2006\" }}</h2>\n  {{ .Content }}\n\n{{ partial \"footer.html\" . }}\n:wq\n```\n\nGenerate the web site and verify the results. The posts now have the date displayed in them. There's a problem, though. The \"about\" page also has the date displayed.\n\nAs usual, there are a couple of ways to make the date display only on posts. We could do an \"if\" statement like we did on the home page. Another way would be to create a separate template for posts.\n\nThe \"if\" solution works for sites that have just a couple of content types. It aligns with the principle of \"code for today,\" too.\n\nLet's assume, though, that we've made our site so complex that we feel we have to create a new template type. In Hugo-speak, we're going to create a section template.\n\nLet's restore the default single template before we forget.\n\n```\n$ mkdir themes/zafta/layouts/post\n$ vi themes/zafta/layouts/_default/single.html\n{{ partial \"header.html\" . }}\n\n  <h1>{{ .Title }}</h1>\n  {{ .Content }}\n\n{{ partial \"footer.html\" . }}\n:wq\n```\n\nNow we'll update the post's version of the single template. If you remember Hugo's rules, the template engine will use this version over the default.\n\n```\n$ vi themes/zafta/layouts/post/single.html\n{{ partial \"header.html\" . }}\n\n  <h1>{{ .Title }}</h1>\n  <h2>{{ .Date.Format \"Mon, Jan 2, 2006\" }}</h2>\n  {{ .Content }}\n\n{{ partial \"footer.html\" . }}\n:wq\n\n```\n\nNote that we removed the date logic from the default template and put it in the post template. Generate the web site and verify the results. Posts have dates and the about page doesn't.\n\n### Don't Repeat Yourself\n\nDRY is a good design goal and Hugo does a great job supporting it. Part of the art of a good template is knowing when to add a new template and when to update an existing one. While you're figuring that out, accept that you'll be doing some refactoring. Hugo makes that easy and fast, so it's okay to delay splitting up a template.\n"
  },
  {
    "path": "exampleSite/content/blog/example-of-an-article.md",
    "content": "---\nauthor: \"Alexis Tacnet\"\ndate: 2015-09-28\ntitle: Example article\nbest: true\n---\n\n## Text\n\n**This is some text.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut pretium at ipsum eu pharetra. Proin ac ante et leo ultrices bibendum. Vivamus id ipsum fermentum, aliquam nunc mollis, tempus sapien. Praesent scelerisque cursus eros vitae pretium. Etiam sit amet ligula in leo euismod malesuada. Proin eleifend pulvinar ipsum, eu lobortis ante pharetra eu. Vivamus sem elit, venenatis eget ornare nec, ullamcorper non tellus. Duis quis massa finibus, euismod erat quis, fermentum nunc. Maecenas euismod felis sit amet convallis placerat.\n\n## Images\n\n**This theme includes a tranparent way to defer images. This can be enabled/disabled in the `config.toml`.**\n\n![image](/img/startup.jpg)\n\n**You will just have to do two images : the normal, and a low resolution one.**\n\n## Code\n\n**This is some code, this theme includes language highlight, optionnal as well.**\n\n```\n.dark {\n  color: #333333 !important;\n}\n.light {\n  color: #666666 !important;\n}\n.accent {\n  color: #428bca !important;\n}\n```"
  },
  {
    "path": "exampleSite/content/blog/goisforlovers.md",
    "content": "+++\ntitle = \"(Hu)go Template Primer\"\ndescription = \"\"\ntags = [\n    \"go\",\n    \"golang\",\n    \"templates\",\n    \"themes\",\n    \"development\",\n]\ndate = \"2014-04-02\"\ncategories = [\n    \"Development\",\n    \"golang\",\n]\n+++\n\nHugo uses the excellent [go][] [html/template][gohtmltemplate] library for\nits template engine. It is an extremely lightweight engine that provides a very\nsmall amount of logic. In our experience that it is just the right amount of\nlogic to be able to create a good static website. If you have used other\ntemplate systems from different languages or frameworks you will find a lot of\nsimilarities in go templates.\n\nThis document is a brief primer on using go templates. The [go docs][gohtmltemplate]\nprovide more details.\n\n## Introduction to Go Templates\n\nGo templates provide an extremely simple template language. It adheres to the\nbelief that only the most basic of logic belongs in the template or view layer.\nOne consequence of this simplicity is that go templates parse very quickly.\n\nA unique characteristic of go templates is they are content aware. Variables and\ncontent will be sanitized depending on the context of where they are used. More\ndetails can be found in the [go docs][gohtmltemplate].\n\n## Basic Syntax\n\nGo lang templates are html files with the addition of variables and\nfunctions. \n\n**Go variables and functions are accessible within {{ }}**\n\nAccessing a predefined variable \"foo\":\n\n    {{ foo }}\n\n**Parameters are separated using spaces**\n\nCalling the add function with input of 1, 2:\n\n    {{ add 1 2 }}\n\n**Methods and fields are accessed via dot notation**\n\nAccessing the Page Parameter \"bar\"\n\n    {{ .Params.bar }}\n\n**Parentheses can be used to group items together**\n\n    {{ if or (isset .Params \"alt\") (isset .Params \"caption\") }} Caption {{ end }}\n\n\n## Variables\n\nEach go template has a struct (object) made available to it. In hugo each\ntemplate is passed either a page or a node struct depending on which type of\npage you are rendering. More details are available on the\n[variables](/layout/variables) page.\n\nA variable is accessed by referencing the variable name.\n\n    <title>{{ .Title }}</title>\n\nVariables can also be defined and referenced.\n\n    {{ $address := \"123 Main St.\"}}\n    {{ $address }}\n\n\n## Functions\n\nGo template ship with a few functions which provide basic functionality. The go\ntemplate system also provides a mechanism for applications to extend the\navailable functions with their own. [Hugo template\nfunctions](/layout/functions) provide some additional functionality we believe\nare useful for building websites. Functions are called by using their name\nfollowed by the required parameters separated by spaces. Template\nfunctions cannot be added without recompiling hugo.\n\n**Example:**\n\n    {{ add 1 2 }}\n\n## Includes\n\nWhen including another template you will pass to it the data it will be\nable to access. To pass along the current context please remember to\ninclude a trailing dot. The templates location will always be starting at\nthe /layout/ directory within Hugo.\n\n**Example:**\n\n    {{ template \"chrome/header.html\" . }}\n\n\n## Logic\n\nGo templates provide the most basic iteration and conditional logic.\n\n### Iteration \n\nJust like in go, the go templates make heavy use of range to iterate over\na map, array or slice. The following are different examples of how to use\nrange.\n\n**Example 1: Using Context**\n\n    {{ range array }} \n        {{ . }}\n    {{ end }}\n\n**Example 2: Declaring value variable name**\n\n    {{range $element := array}} \n        {{ $element }} \n    {{ end }}\n\n**Example 2: Declaring key and value variable name**\n\n    {{range $index, $element := array}}\n        {{ $index }} \n        {{ $element }} \n    {{ end }}\n\n### Conditionals \n\nIf, else, with, or, & and provide the framework for handling conditional\nlogic in Go Templates. Like range, each statement is closed with `end`.\n\n\nGo Templates treat the following values as false: \n\n* false\n* 0 \n* any array, slice, map, or string of length zero\n\n**Example 1: If**\n\n    {{ if isset .Params \"title\" }}<h4>{{ index .Params \"title\" }}</h4>{{ end }}\n\n**Example 2: If -> Else** \n\n    {{ if isset .Params \"alt\" }} \n        {{ index .Params \"alt\" }}\n    {{else}}\n        {{ index .Params \"caption\" }}\n    {{ end }}\n\n**Example 3: And & Or**\n\n    {{ if and (or (isset .Params \"title\") (isset .Params \"caption\")) (isset .Params \"attr\")}}\n\n**Example 4: With**\n\nAn alternative way of writing \"if\" and then referencing the same value\nis to use \"with\" instead. With rebinds the context `.` within its scope,\nand skips the block if the variable is absent.\n\nThe first example above could be simplified as:\n\n    {{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}\n\n**Example 5: If -> Else If** \n\n    {{ if isset .Params \"alt\" }} \n        {{ index .Params \"alt\" }}\n    {{ else if isset .Params \"caption\" }}\n        {{ index .Params \"caption\" }}\n    {{ end }}\n\n## Pipes\n\nOne of the most powerful components of go templates is the ability to\nstack actions one after another. This is done by using pipes. Borrowed\nfrom unix pipes, the concept is simple, each pipeline's output becomes the\ninput of the following pipe. \n\nBecause of the very simple syntax of go templates, the pipe is essential\nto being able to chain together function calls. One limitation of the\npipes is that they only can work with a single value and that value\nbecomes the last parameter of the next pipeline. \n\nA few simple examples should help convey how to use the pipe.\n\n**Example 1 :**\n\n    {{ if eq 1 1 }} Same {{ end }}\n\nis the same as \n\n    {{ eq 1 1 | if }} Same {{ end }}\n\nIt does look odd to place the if at the end, but it does provide a good\nillustration of how to use the pipes.\n\n**Example 2 :**\n\n    {{ index .Params \"disqus_url\" | html }}\n\nAccess the page parameter called \"disqus_url\" and escape the HTML.\n\n**Example 3 :**\n\n    {{ if or (or (isset .Params \"title\") (isset .Params \"caption\")) (isset .Params \"attr\")}}\n    Stuff Here\n    {{ end }}\n\nCould be rewritten as \n\n    {{  isset .Params \"caption\" | or isset .Params \"title\" | or isset .Params \"attr\" | if }}\n    Stuff Here \n    {{ end }}\n\n\n## Context (aka. the dot)\n\nThe most easily overlooked concept to understand about go templates is that {{ . }}\nalways refers to the current context. In the top level of your template this\nwill be the data set made available to it. Inside of a iteration it will have\nthe value of the current item. When inside of a loop the context has changed. .\nwill no longer refer to the data available to the entire page. If you need to\naccess this from within the loop you will likely want to set it to a variable\ninstead of depending on the context.\n\n**Example:**\n\n      {{ $title := .Site.Title }}\n      {{ range .Params.tags }}\n        <li> <a href=\"{{ $baseurl }}/tags/{{ . | urlize }}\">{{ . }}</a> - {{ $title }} </li>\n      {{ end }}\n\nNotice how once we have entered the loop the value of {{ . }} has changed. We\nhave defined a variable outside of the loop so we have access to it from within\nthe loop.\n\n# Hugo Parameters \n\nHugo provides the option of passing values to the template language\nthrough the site configuration (for sitewide values), or through the meta\ndata of each specific piece of content. You can define any values of any\ntype (supported by your front matter/config format) and use them however\nyou want to inside of your templates. \n\n\n## Using Content (page) Parameters \n\nIn each piece of content you can provide variables to be used by the\ntemplates. This happens in the [front matter](/content/front-matter). \n\nAn example of this is used in this documentation site. Most of the pages\nbenefit from having the table of contents provided. Sometimes the TOC just\ndoesn't make a lot of sense. We've defined a variable in our front matter\nof some pages to turn off the TOC from being displayed. \n\nHere is the example front matter:\n\n```\n---\ntitle: \"Permalinks\"\ndate: \"2013-11-18\"\naliases:\n  - \"/doc/permalinks/\"\ngroups: [\"extras\"]\ngroups_weight: 30\nnotoc: true\n---\n```\n\nHere is the corresponding code inside of the template:\n\n      {{ if not .Params.notoc }}\n        <div id=\"toc\" class=\"well col-md-4 col-sm-6\">\n        {{ .TableOfContents }}\n        </div>\n      {{ end }}\n\n\n\n## Using Site (config) Parameters\nIn your top-level configuration file (eg, `config.yaml`) you can define site\nparameters, which are values which will be available to you in chrome.\n\nFor instance, you might declare:\n\n```yaml\nparams:\n  CopyrightHTML: \"Copyright &#xA9; 2013 John Doe. All Rights Reserved.\"\n  TwitterUser: \"spf13\"\n  SidebarRecentLimit: 5\n```\n\nWithin a footer layout, you might then declare a `<footer>` which is only\nprovided if the `CopyrightHTML` parameter is provided, and if it is given,\nyou would declare it to be HTML-safe, so that the HTML entity is not escaped\nagain.  This would let you easily update just your top-level config file each\nJanuary 1st, instead of hunting through your templates.\n\n```\n{{if .Site.Params.CopyrightHTML}}<footer>\n<div class=\"text-center\">{{.Site.Params.CopyrightHTML | safeHtml}}</div>\n</footer>{{end}}\n```\n\nAn alternative way of writing the \"if\" and then referencing the same value\nis to use \"with\" instead. With rebinds the context `.` within its scope,\nand skips the block if the variable is absent:\n\n```\n{{with .Site.Params.TwitterUser}}<span class=\"twitter\">\n<a href=\"https://twitter.com/{{.}}\" rel=\"author\">\n<img src=\"/images/twitter.png\" width=\"48\" height=\"48\" title=\"Twitter: {{.}}\"\n alt=\"Twitter\"></a>\n</span>{{end}}\n```\n\nFinally, if you want to pull \"magic constants\" out of your layouts, you can do\nso, such as in this example:\n\n```\n<nav class=\"recent\">\n  <h1>Recent Posts</h1>\n  <ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}\n    <li><a href=\"{{.RelPermalink}}\">{{.Title}}</a></li>\n  {{end}}</ul>\n</nav>\n```\n\n\n[go]: <http://golang.org/>\n[gohtmltemplate]: <http://golang.org/pkg/html/template/>\n"
  },
  {
    "path": "exampleSite/content/blog/hugoisforlovers.md",
    "content": "+++\ntitle = \"Getting Started with Hugo\"\ndescription = \"\"\ntags = [\n    \"go\",\n    \"golang\",\n    \"hugo\",\n    \"development\",\n]\ndate = \"2014-04-02\"\ncategories = [\n    \"Development\",\n    \"golang\",\n]\n+++\n\n## Step 1. Install Hugo\n\nGoto [hugo releases](https://github.com/spf13/hugo/releases) and download the\nappropriate version for your os and architecture.\n\nSave it somewhere specific as we will be using it in the next step.\n\nMore complete instructions are available at [installing hugo](/overview/installing/)\n\n## Step 2. Build the Docs\n\nHugo has its own example site which happens to also be the documentation site\nyou are reading right now.\n\nFollow the following steps:\n\n 1. Clone the [hugo repository](http://github.com/spf13/hugo)\n 2. Go into the repo\n 3. Run hugo in server mode and build the docs\n 4. Open your browser to http://localhost:1313\n\nCorresponding pseudo commands:\n\n    git clone https://github.com/spf13/hugo\n    cd hugo\n    /path/to/where/you/installed/hugo server --source=./docs\n    > 29 pages created\n    > 0 tags index created\n    > in 27 ms\n    > Web Server is available at http://localhost:1313\n    > Press ctrl+c to stop\n\nOnce you've gotten here, follow along the rest of this page on your local build.\n\n## Step 3. Change the docs site\n\nStop the Hugo process by hitting ctrl+c.\n\nNow we are going to run hugo again, but this time with hugo in watch mode.\n\n    /path/to/hugo/from/step/1/hugo server --source=./docs --watch\n    > 29 pages created\n    > 0 tags index created\n    > in 27 ms\n    > Web Server is available at http://localhost:1313\n    > Watching for changes in /Users/spf13/Code/hugo/docs/content\n    > Press ctrl+c to stop\n\n\nOpen your [favorite editor](http://vim.spf13.com) and change one of the source\ncontent pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.\n\nContent files are found in `docs/content/`. Unless otherwise specified, files\nare located at the same relative location as the url, in our case\n`docs/content/overview/quickstart.md`.\n\nChange and save this file.. Notice what happened in your terminal.\n\n    > Change detected, rebuilding site\n\n    > 29 pages created\n    > 0 tags index created\n    > in 26 ms\n\nRefresh the browser and observe that the typo is now fixed.\n\nNotice how quick that was. Try to refresh the site before it's finished building.. I double dare you.\nHaving nearly instant feedback enables you to have your creativity flow without waiting for long builds.\n\n## Step 4. Have fun\n\nThe best way to learn something is to play with it.\n"
  },
  {
    "path": "exampleSite/content/home.md",
    "content": "+++\ntitle = \"Home\"\n+++\n\n_This is the home page. It will display the blog section if there is one, and a text before._\n\nHey ! Welcome to the **Cocoa Enhanced theme**. Here are some articles :"
  },
  {
    "path": "exampleSite/content/license.md",
    "content": "+++\ntitle= \"License\"\n+++\n\nYou can use this page to put a license on the contents of your blog, like so:\n\n> The MIT License (MIT)\n>\n> Copyright (c) 2015 Nishanth Shanmugham<nishanth.gerrard@gmail.com>\n>\n> Permission is hereby granted, free of charge, to any person obtaining a copy\n> of this software and associated documentation files (the \"Software\"), to deal\n> in the Software without restriction, including without limitation the rights\n> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the Software is\n> furnished to do so, subject to the following conditions:\n>\n> The above copyright notice and this permission notice shall be included in\n> all copies or substantial portions of the Software.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n> THE SOFTWARE.\n\n"
  },
  {
    "path": "exampleSite/content/projects/projects.md",
    "content": "+++\ndate = \"2015-08-19T20:29:37-07:00\"\ntitle = \"Projects\"\n+++\n\n_In this theme, it is possible to add sections like a Projects one for example. You can add plenty of articles about your projects and a presentation page that will be displayed before the list. All is modulable, if you don't want something._\n\nA Hollywood-funded film version, produced and filmed in the UK, was released in April 2005, and radio adaptations of the third, fourth, and fifth novels were broadcast from 2004 to 2005. Adams did many of these adaptations, including the novels, the TV series, the computer game, and the earliest drafts of the Hollywood film’s screenplay, and some of the stage shows introduced new material written by Adams.\n"
  },
  {
    "path": "exampleSite/content/projects/small-project.md",
    "content": "+++\ntitle = \"A small project example : add yours !\"\ndescription = \"Blah blah blah\"\ndate = \"2017-01-01\"\ntags = [\"projects\"]\n+++\n\nAlong with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\\(character\\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.  \n \n> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.  \n \nIn time, he learns how to fly and carves a niche for himself as a sandwich-maker."
  },
  {
    "path": "layouts/404.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>404 - Page not found</title>\n{{ partial \"head_includes.html\" . }}\n<style>\n    {{ partial \"css/404.css\" . | safeCSS }}\n</style>\n</head>\n<body>\n    {{ if (not (isset .Site.Params \"logofile\")) }}\n    <a href=\"https://github.com/mtn/cocoa-eh-hugo-theme/wiki/Configuration#logo\">Logo HOWTO</a>\n    {{ else if ne .Site.Params.logofile \"\" }}\n    <img class=\"logo\" src=\"{{ .Site.Params.logofile | relURL }}\" alt=\"logo\">\n    {{ end }}\n    <div class=\"container f04\">\n        <div class=\"content\">\n            <div class=\"header column\">\n                <div class=\"name\">404</div>\n            </div>\n            <div class=\"detail\">The page you were looking for does not exist.</div>\n            <div class=\"suggestion\"><a href=\"/\">Visit the home page</a></div>\n        </div>\n    </div>\n</body>\n</html>\n"
  },
  {
    "path": "layouts/_default/section.html",
    "content": "{{ partial \"header.html\" . }}\n<div class=\"main column\">\n    <div class=\"container\">\n        <div class=\"content\">\n            <div class=\"posts\">\n                <div class=\"page-heading\">{{ .Title }}</div>\n\n                {{ range where .Data.Pages \"Title\" .Title }}\n                <div class=\"markdown\">\n                  <p>{{ .Content }}</p>\n                </div>\n                {{ end }}\n\n                {{ $sectionTitle := .Title }}\n                <ul>\n                    {{ range .Data.Pages.GroupByDate \"Jan, 2006\" \"desc\"}}\n                      {{ if not (and (eq (len .Pages) 1) (eq (index .Pages 0).Title $sectionTitle)) }}\n                        <li class=\"groupby\">{{ .Key }}</li>\n                        {{ range sort .Pages \"Date\" \"desc\" }}\n                          {{ if (not (eq $sectionTitle .Title)) }}\n                            {{ partial \"li.html\" . }}\n                          {{ end }}\n                        {{ end }}\n                      {{ end }}\n                    {{ end }}\n                </ul>\n            </div>\n        </div>\n    </div>\n</div>\n{{ partial \"footer.html\" . }}\n"
  },
  {
    "path": "layouts/_default/single.html",
    "content": "{{ partial \"header.html\" . }}\n\n{{ if (or (in .Site.Params.blogs .Section) (and (eq \"blog\" .Section) (not (isset .Site.Params \"blogs\")))) }}\n{{ partial \"blog_single.html\" . }}\n{{ else }}\n{{ partial \"base_single.html\" . }}\n{{ end }}\n\n{{ partial \"footer.html\" . }}\n"
  },
  {
    "path": "layouts/_default/taxonomy.html",
    "content": "{{ partial \"header.html\" . }}\n<div class=\"main column\">\n    <div class=\"container\">\n        <div class=\"content\">\n            <div class=\"posts\">\n                <div class=\"page-heading\">Posts about {{ .Title }}</div>\n                <ul>\n                    {{ range .Data.Pages.ByPublishDate }}\n                        {{ partial \"li.html\" . }}\n                    {{ end }}\n                </ul>\n            </div>\n        </div>\n    </div>\n</div>\n{{ partial \"footer.html\" . }}\n"
  },
  {
    "path": "layouts/index.html",
    "content": "{{ partial \"header.html\" . }}\n<div class=\"main column\">\n    <div class=\"container\">\n        <div class=\"content\">\n            {{ range where .Data.Pages \"Title\" \"Home\" }}\n                <div class=\"markdown\">\n                {{ .Content }}\n                </div>\n            {{ end }}\n\n            {{ if isset .Site.Params \"latestpostcount\" }}\n                <div class=\"posts\">\n                {{ $blogPosts := (where .Site.RegularPages \"Section\" \"blog\") }}\n                {{ $nbPosts := len $blogPosts }}\n                {{ if gt $nbPosts 0 }}\n                    <div class=\"page-heading\">Latest posts</div>\n                    <ul>\n                    \n                    {{ range (first .Site.Params.latestpostcount $blogPosts).GroupByDate \"Jan, 2006\" \"desc\" }}\n                        <li class=\"groupby\">{{ .Key }}</li>\n                        {{ range sort .Pages \"Date\" \"desc\" }}\n                            {{ partial \"li.html\" . }}\n                        {{ end }}\n                    {{ end }}\n                    </ul>\n\n                    {{ if gt $nbPosts .Site.Params.latestpostcount }}\n                        <a href=\"./blog/\" class=\"see-more\">See more ...</a>\n                    {{ end }}\n                {{ end }}\n                </div>\n            {{ end }}\n\n            <div class=\"best-posts\">\n            {{ $nbPosts := len (where .Data.Pages \"Params.best\" true) }}\n            {{ if gt $nbPosts 0 }}\n                <div class=\"page-heading\">Best posts</div>\n                <ul>\n                {{ range sort .Data.Pages \"Date\" \"desc\" }}\n                    {{ if eq .Params.best true }}\n                        {{ partial \"li.html\" . }}\n                    {{ end }}\n                {{ end }}\n                </ul>\n            {{ end }}\n            </div>\n        </div>\n    </div>\n</div>\n{{ partial \"footer.html\" . }}\n"
  },
  {
    "path": "layouts/partials/base_single.html",
    "content": "<div class=\"main column\">\n    <div class=\"container\">\n        <div class=\"content\">\n            {{ partial \"page-heading.html\" . }}\n            <div class=\"markdown\">\n                {{ partial \"content\" . }}\n            </div>\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "layouts/partials/blog_single.html",
    "content": "{{ if .Site.Params.issoHost }}\n  <style type=\"text/css\" media=\"screen\">\n    .isso section {\n      margin: 0px;\n    }\n  </style>\n{{ end }}\n\n<div class=\"main post non-narrow zero-top-spacing column\">\n    <div class=\"container\">\n        <div class=\"content\">\n            <div class=\"front-matter\">\n                <div class=\"title-container\">\n                    {{ partial \"page-heading\" . }}\n                </div>\n                <div class=\"meta\">\n                    <div class=\"date\" title=\"{{ .Date.Format .Site.Params.dateformfull }}\">{{ .Date.Format .Site.Params.dateform }}</div>\n                    {{ if not .Params.noauthor }}\n                        {{ if .Params.author }}\n                        <div class=\"author middot\" title=\"{{ .Params.Author }}\">{{ .Params.author }}</div>\n                        {{ end }}\n                    {{ end }}\n                    {{ if not .Site.Params.noreadingtime }}\n                    <div class=\"reading-time middot\">{{ .ReadingTime }} minute read</div>\n                    {{ end }}\n                    {{ if .Site.Params.tagicons }}\n                      <div class=\"tags tag-icons\">\n                    {{ else }}\n                      <div class=\"tags\">\n                    {{ end }}\n                        <ul>\n                          {{ range .Params.tags }}\n                            <li class=\"middot\"><a href=\"{{ \"/tags/\" | relLangURL }}{{ . | urlize }}\">{{ . }}</a> </li>\n                          {{ end }}\n                        </ul>\n                    </div>\n                    <div class=\"tags\">\n                        <ul>\n                          {{ if isset .Params \"hacker_news_id\" }}\n                            {{ if ne .Params.hacker_news_id \"\" }}\n                              <li class=\"middot\"><a href=\"https://news.ycombinator.com/item?id={{ .Params.hacker_news_id }}\">Hacker News</a> </li>\n                            {{ end }}\n                          {{ end }}\n                          {{ if isset .Params \"lobsters_id\" }}\n                            {{ if ne .Params.lobsters_id \"\" }}\n                              <li class=\"middot\"><a href=\"https://lobste.rs/s/{{ .Params.lobsters_id }}\">Lobsters</a> </li>\n                            {{ end }}\n                          {{ end }}\n                        </ul>\n                    </div>\n                </div>\n            </div>\n            <div class=\"markdown\">\n                {{ partial \"content\" . }}\n            </div>\n            {{ if .Site.Params.share }}\n            <br>\n            <div class=\"share\">\n                  {{ if .Site.Params.share_on_fb | default true }}\n                  <a href=\"\" class=\"ssk ssk-facebook\"></a>\n                  {{ end }}\n                  {{ if .Site.Params.share_on_twitter | default true }}\n                  <a href=\"\" class=\"ssk ssk-twitter\"></a>\n                  {{ end }}\n                  {{ if .Site.Params.share_on_googleplus | default true }}\n                  <a href=\"\" class=\"ssk ssk-google-plus\"></a>\n                  {{ end }}\n                  {{ if .Site.Params.share_on_linkedin | default true }}\n                  <a href=\"\" class=\"ssk ssk-linkedin\"></a>\n                  {{ end }}\n            </div>\n            {{ end }}\n            {{ if .Site.Params.posts_navigation }}\n            <br>\n            <div class=\"navigation\">\n                {{ if .PrevInSection }}\n                <div>\n                    <img class=\"icon\" src=\"/img/back.svg\" alt=\"back\" />\n                    <a href=\"{{ .PrevInSection.Permalink }}\">{{ .PrevInSection.Title }}</a>\n                </div>\n                {{ end }}\n                <div style=\"width: 100%;\"></div>\n                {{ if .NextInSection }}\n                <div>\n                    <a href=\"{{ .NextInSection.Permalink }}\">{{ .NextInSection.Title }}</a>\n                    <img class=\"icon\" src=\"/img/next.svg\" alt=\"next\" />\n                </div>\n                {{ end }}\n            </div>\n            {{ end }}\n            {{ if .Site.DisqusShortname }}\n            <br>\n            <div class=\"disqus\">\n                {{ template \"_internal/disqus.html\" . }}\n            </div>\n            {{ end }}\n\n            <!-- utteranc -->\n            {{ if .Site.Params.utteranc.enable }}\n            <div class=\"post bg-white\">\n                <script src=\"https://utteranc.es/client.js\"\n                    repo= \"{{ .Site.Params.utteranc.repo }}\"\n                    issue-term=\"{{ .Site.Params.utteranc.issueTerm }}\"\n                    theme=\"{{ default \"github-light\" .Site.Params.utteranc.theme }}\"\n                    crossorigin=\"anonymous\"\n                    async>\n                </script>\n            </div>\n            {{ end }}\n\n            {{ if .Site.Params.issoHost }}\n            <br>\n            <div class=\"isso\" id=\"isso-thread\"></div>\n            <script\n                data-isso=\"//{{ .Site.Params.issoHost }}/\"\n                data-isso-css=\"true\"\n                data-isso-lang=\"{{ .Site.LanguageCode }}\"\n                src=\"//{{ .Site.Params.issoHost }}/js/embed.min.js\"\n            ></script>\n            {{ end }}\n\n            {{ if .Site.Params.commentoHost }}\n            <br>\n            <div id=\"commento\"></div>\n            <script src=\"//{{ .Site.Params.commentoHost }}/js/commento.js\"></script>\n            {{ end }}\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "layouts/partials/content.html",
    "content": "{{ if .Site.Params.progressively }}\n    {{ $newImage := (print \"<figure class=\\\"progressive\\\"><img class=\\\"progressive__img progressive--not-loaded\\\" data-progressive=\\\"\" .Site.BaseURL \"$1/$2\\\" src=\\\"\" .Site.BaseURL \"$1/low/$2\\\" alt=$3 $4></figure>\") }}\n    {{ .Content | replaceRE \"<img src=\\\"/(.*)\\\\/(.*)\\\" alt=(.*) (.*)>\" $newImage | safeHTML }}\n{{ else }}\n    {{ .Content }}\n{{ end }}"
  },
  {
    "path": "layouts/partials/css/404.css",
    "content": ".logo {\n    vertical-align: middle;\n    max-width: 300px;\n}\n.content {\n    margin: 3em auto;\n    text-align: center;\n}\n.header {\n    margin-left: initial;\n    margin-right: intial;\n    padding: 0 !important;\n}\n\n"
  },
  {
    "path": "layouts/partials/css/colors.css",
    "content": "a {\n    color: {{ .Param \"colors.identifier\" }};\n}\n\na:hover {\n    color: {{ .Param \"colors.identifier_dark\" }};\n}\n\ndiv.main .content .markdown, div.header .name, div.header nav ul a:hover {\n    color: {{ .Param \"colors.foreground\" }};\n}\n\ndiv.header nav ul a {\n    color: {{ .Param \"colors.trivial\" }};\n}\n\ndiv.main .content .markdown code {\n    background-color: {{ .Param \"colors.background\" }};\n    color: {{ .Param \"colors.identifier\" }};\n}\n\ndiv.main .content .markdown pre, div.main .content .markdown pre code {\n    background-color: {{ .Param \"colors.background_dark\" }};\n    color: {{ .Param \"colors.code\" }};\n}\n\n.hljs, .hljs-subst, .hljs-variable {\n    color: {{ .Param \"colors.code\" }};\n}\n\n.hljs-type {\n    color: {{ .Param \"colors.type\" }};\n}\n\n.hljs-quote {\n    color: {{ .Param \"colors.special\" }};\n}\n\n.hljs-string, .hljs-number, .hljs-selector-id, .hljs-selector-class, .hljs-template-tag, .hljs-deletion {\n    color: {{ .Param \"colors.value\" }};\n}\n\n.hljs-comment {\n    color: {{ .Param \"colors.trivial\" }};\n}\n\n.hljs-regexp, .hljs-symbol, .hljs-template-variable {\n    color: {{ .Param \"colors.special\" }};\n}\n\n.hljs-keyword, .hljs-attribute, .hljs-meta-keyword, .hljs-doctag, .hljs-name {\n    color: {{ .Param \"colors.type\" }};\n}\n\n.hljs-link, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-title, .hljs-section {\n    color: {{ .Param \"colors.statement\" }};\n}\n\n.hljs-built_in, .hljs-bullet, .hljs-code, .hljs-addition {\n    color: {{ .Param \"colors.type\" }};\n}\n\n.ssk {\n    background-color: {{ .Param \"colors.trivial\" }};\n}\n"
  },
  {
    "path": "layouts/partials/css/main.css",
    "content": "@font-face {\n  font-family: 'Nexa Bold';\n  src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf');\n}\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, tt, var,\nb, u, i, center,\ndl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmenu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  font-size: 100%;\n  font: inherit;\n  vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, menu, nav, section, div.column {\n  display: block;\n}\nbody {\n  line-height: 1;\n}\nol, ul {\n  list-style: none;\n}\nblockquote, q {\n  quotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n  content: '';\n  content: none;\n}\ntable {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n*,\n*:before,\n*:after {\n  box-sizing: border-box;\n}\na,\na:visited,\na:focus,\na:active {\n  text-decoration: none;\n}\nhtml {\n  height: 100%;\n  font-size: 16px;\n}\nbody {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: column;\n  -moz-flex-direction: column;\n  -ms-flex-direction: column;\n  flex-direction: column;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  -webkit-justify-content: flex-start;\n  -moz-justify-content: flex-start;\n  -ms-justify-content: flex-start;\n  justify-content: flex-start;\n  width: 100%;\n  min-height: 100%;\n  font-weight: 400;\n  font-family: 'Helvetica Neue', 'Arial', sans-serif;\n  color: #111111;\n  line-height: 1.6;\n  text-rendering: optimizeLegibility !important;\n}\n.icon {\n  text-rendering: geometricPrecision !important;\n}\nsection {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-justify-content: center;\n  -moz-justify-content: center;\n  -ms-justify-content: center;\n  justify-content: center;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  width: 100%;\n}\ndiv.column {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-justify-content: center;\n  -moz-justify-content: center;\n  -ms-justify-content: center;\n  justify-content: center;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  width: 100%;\n}\n.container {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  width: 100%;\n}\ndiv.header .container {\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  -webkit-justify-content: center;\n  -moz-justify-content: center;\n  -ms-justify-content: center;\n  justify-content: center;\n}\ndiv.header .content {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: column;\n  -moz-flex-direction: column;\n  -ms-flex-direction: column;\n  flex-direction: column;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n}\ndiv.header .container .logo {\n  {{ if .Site.Params.enlarged }}\n  max-width: 200px;\n  {{ else }}\n  max-width: 100px;\n  {{ end }}\n  margin-left: -2em;\n}\ndiv.header .name {\n  padding-top: 20px;\n  font-size: 28px;\n  font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif;\n  letter-spacing: -0.005rem;\n  {{ if isset .Site.Params \"titlestyle\" }}\n      {{ if in \"capitalize uppercase lowercase none full-width\" .Site.Params.titlestyle }}\n  text-transform: {{ .Site.Params.titlestyle }};\n      {{ else }}\n      {{ errorf \"This titlestyle is not a valid text-transform css parameter: %s\" .Site.Params.titlestyle }}\n      {{ end }}\n  {{ else }}\n  text-transform: uppercase;\n  {{ end }}\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font-smoothing: antialiased;\n  color: #333333;\n}\ndiv.header nav {\n  margin-bottom: 16px;\n}\ndiv.header nav ul {\n  list-style: none;\n  text-align: center;\n  display: -webkit-inline-flex;\n  display: -moz-inline-flex;\n  display: -ms-inline-flexbox;\n  display: -ms-inline-flex;\n  display: inline-flex;\n}\ndiv.header nav ul li {\n  margin-left: 6px;\n  margin-right: 6px;\n}\ndiv.header nav ul li:first-child {\n  margin-left: 0;\n}\ndiv.header nav ul li:last-child {\n  margin-right: 0;\n}\ndiv.header nav ul a {\n  color: #555555;\n  font-weight: 400;\n  font-size: 14px;\n  text-transform: uppercase;\n  font-family: 'Helvetica Neue', 'Arial', sans-serif;\n  -webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n}\ndiv.header nav ul a:hover {\n  color: #111111;\n}\ndiv.footer .container {\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  -webkit-justify-content: center;\n  -moz-justify-content: center;\n  -ms-justify-content: center;\n  justify-content: center;\n  flex-direction: column-reverse;\n  width: 100%;\n  text-align: center;\n}\ndiv.footer .container a {\n  font-size: 14px;\n  margin-left: 6px;\n  margin-right: 6px;\n  opacity: 0.6;\n  -webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n}\ndiv.footer .container a:first-child {\n  margin-left: 0;\n}\ndiv.footer .container a:last-child {\n  margin-right: 0;\n}\ndiv.footer .container a:hover {\n  opacity: 0.8;\n}\ndiv.footer .container a .icon {\n  width: 16px;\n  height: 16px;\n}\ndiv.footer .container .copyright {\n  flex-grow: 0.5;\n  text-align: start;\n}\ndiv.footer .container .icons {\n  flex-grow: 0.5;\n  text-align: end;\n}\ndiv.main .container {\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  -webkit-justify-content: flex-start;\n  -moz-justify-content: flex-start;\n  -ms-justify-content: flex-start;\n  justify-content: flex-start;\n}\ndiv.main .content {\n  color: #111111;\n  font-size: 16px;\n}\ndiv.main .content .title-container {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-justify-content: space-between;\n  -moz-justify-content: space-between;\n  -ms-justify-content: space-between;\n  justify-content: space-between;\n}\ndiv.main .content .posts {\n  {{ $nbPosts := len (where .Data.Pages \"Params.best\" true)  }}\n  {{ if gt $nbPosts 0 }}\n  margin-bottom: 4em;\n  {{ end }}\n}\ndiv.main .content .page-heading {\n  font-size: 20px;\n  font-weight: 700;\n  font-family: 'Helvetica Neue', 'Arial', sans-serif;\n  letter-spacing: -0.005rem;\n  text-transform: uppercase;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font-smoothing: antialiased;\n  color: #333333;\n  margin-bottom: 16px;\n}\ndiv.main .content .front-matter .page-heading {\n  margin-bottom: 0;\n}\ndiv.main .content .front-matter .meta {\n  font-size: 14px;\n  color: #666666;\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  margin-bottom: 32px;\n}\ndiv.main .content .front-matter .date,\ndiv.main .content .front-matter .author,\ndiv.main .content .front-matter .tags,\ndiv.main .content .front-matter .word-count,\ndiv.main .content .front-matter .middot:before {\n  display: none;\n}\ndiv.main .content .front-matter .middot:before {\n  font-size: 6px;\n  margin: 0 6px;\n  vertical-align: middle;\n  content: \"•\";\n}\ndiv.main .content .front-matter .tags ul {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: row;\n  -moz-flex-direction: row;\n  -ms-flex-direction: row;\n  flex-direction: row;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n}\ndiv.main .content .front-matter .tags ul li {\n  -webkit-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -moz-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -ms-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -o-transition: opacity 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n}\ndiv.main .content .front-matter .tags ul li:hover {\n  opacity: 0.7;\n}\ndiv.main .content .front-matter .tags ul li a {\n  color: #666666;\n}\n{{ if .Site.Params.tagicons }}\ndiv.main .content .front-matter .tags.tag-icons .middot {\n  margin-left: 8px;\n}\ndiv.main .content .front-matter .tags.tag-icons .middot a {\n  display: inline-block;\n  padding: 0 5px;\n  background: #eee;\n  border-radius: 0 5px 5px 0;\n  position: relative;\n}\ndiv.main .content .front-matter .tags.tag-icons .middot a:after {\n  content: \" \";\n  position: absolute;\n  right: 100%;\n  border-top: 11.2px solid transparent;\n  border-right: 11.2px solid #eee;\n  border-bottom: 11.2px solid transparent;\n}\n{{ end }}\ndiv.main .container.f04 {\n  -webkit-justify-content: center;\n  -moz-justify-content: center;\n  -ms-justify-content: center;\n  justify-content: center;\n}\ndiv.main .container.f04 .content {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: column;\n  -moz-flex-direction: column;\n  -ms-flex-direction: column;\n  flex-direction: column;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n}\ndiv.main .container.f04 .content .num {\n  margin: 30px 0px 30px 0;\n  font-weight: 400;\n  font-family: 'Helvetica Neue', 'Arial', sans-serif;\n  font-size: 50px;\n}\ndiv.main .container.f04 .content .detail {\n  margin-bottom: 40px;\n}\ndiv.main .container .content .groupby {\n  margin-top: 1em;\n  padding-left: 0.5em;\n}\ndiv.main .container .content .post-item {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  display: list-item;\n  list-style: disc inside;\n}\ndiv.main .container .content .post-item .meta {\n  font-size: 14px;\n  color: #666666;\n  display: none;\n  min-width: 100px;\n}\ndiv.main .container .content .see-more {\n  font-style: italic;\n  float: right;\n  font-size: 0.9em;\n  margin-top: 2em;\n  color: #313537;\n}\ndiv.main .container .content .see-more:hover {\n  color: #666;\n}\nsection {\n  padding: 0 16px;\n}\ndiv.column {\n  padding: 0 16px;\n}\ndiv.header {\n  padding-top: 10px;\n}\ndiv.header-home {\n  padding-top: 36px;\n}\ndiv.main {\n  padding-top: 32px;\n}\ndiv.main .container .content .post-item .meta {\n    display: block;\n}\ndiv.main .container .content .post-item {\n    display: flex;\n    list-style: none;\n}\na {\n  color: #428bca;\n  -webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n  -o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);\n}\na:hover {\n  color: #2a6496;\n}\nimg {\n  max-width: 100%;\n}\ndiv.main .content {\n    width: 100%;\n}\ndiv.main .content .markdown {\n  font-size: 1.1em;\n  line-height: 1.75em;\n  color: #313537;\n  font-family: serif;\n  font-weight: 300;\n}\ndiv.main .content .markdown h1,\ndiv.main .content .markdown h2,\ndiv.main .content .markdown h3,\ndiv.main .content .markdown h4,\ndiv.main .content .markdown h5,\ndiv.main .content .markdown h6 {\n  font-size: 22px;\n  font-family: 'Helvetica Neue', 'Arial', sans-serif;\n  letter-spacing: -0.005rem;\n  font-weight: 700;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font-smoothing: antialiased;\n  color: #333333;\n  text-transform: none;\n  margin-top: 1.75rem;\n}\ndiv.main .content .markdown h1 {\n  font-size: 1.75rem;\n  margin-bottom: 2rem;\n}\ndiv.main .content .markdown h2 {\n  font-size: 1.5rem;\n  margin-bottom: 1.5rem;\n}\ndiv.main .content .markdown h3 {\n  font-size: 1em;\n  margin-bottom: 1rem;\n}\ndiv.main .content .markdown h4,\ndiv.main .content .markdown h5,\ndiv.main .content .markdown h6 {\n  font-size: 1rem;\n  margin-bottom: 1rem;\n  letter-spacing: none;\n}\ndiv.main .content .markdown code,\ndiv.main .content .markdown pre {\n  font-family: 'Menlo', monospace;\n  font-size: 0.98rem;\n  background-color: #f7f7f7;\n}\ndiv.main .content .markdown code {\n  /* enclosed by single backtick (`) */\n  padding: .15em .5em;\n  border-radius: 2px;\n}\ndiv.main .content .markdown pre {\n  /* Hugo specific: consider using the 'highlight' shortcode */\n  display: block;\n  margin-top: 1rem;\n  margin-bottom: 2rem;\n  padding: 1rem;\n  line-height: 1.5em;\n  white-space: pre;\n  word-break: break-all;\n  word-wrap: break-word;\n}\ndiv.main .content .markdown pre code {\n  /* enclosed by 4 backticks (````) */\n  padding: 0;\n  font-size: 0.9rem;\n}\ndiv.main .content .markdown a code {\n  color: #428bca !important;\n}\ndiv.main .content .markdown a code:hover {\n  text-decoration: underline;\n}\ndiv.main .content .markdown p {\n  {{if .Site.Params.align_left}}\n  text-align: left;\n  {{else}}\n  text-align: justify;\n  {{end}}\n  margin-top: 0;\n  margin-bottom: 1em;\n}\ndiv.main .content .markdown ul,\ndiv.main .content .markdown ol,\ndiv.main .content .markdown dl {\n  margin-top: 1rem;\n  margin-bottom: 2rem;\n}\ndiv.main .content .markdown dt {\n  font-weight: bold;\n}\ndiv.main .content .markdown dd {\n  margin-bottom: .5rem;\n}\ndiv.main .content .markdown ul {\n  list-style-type: disc;\n  list-style-position: outside;\n  margin-bottom: 1.25rem;\n}\ndiv.main .content .markdown ol {\n  list-style-type: decimal;\n  margin-bottom: 1.25rem;\n}\ndiv.main .content .markdown li {\n  margin-left: 2em;\n}\ndiv.main .content .markdown em {\n  font-style: italic;\n}\ndiv.main .content .markdown strong {\n  font-weight: 700;\n}\ndiv.main .content .markdown hr {\n  position: relative;\n  margin: 1.75rem 0;\n  border: 0;\n  border-top: 1px solid #808080;\n  border-top: 1px solid #999999;\n}\ndiv.main .content .markdown abbr {\n  font-size: 0.85rem;\n  font-weight: bold;\n  color: #666666;\n  text-transform: uppercase;\n}\ndiv.main .content .markdown abbr[title] {\n  cursor: help;\n  border-bottom: 1px dotted #808080;\n}\ndiv.main .content .markdown blockquote {\n  padding: .5rem 1rem;\n  margin: .8rem 0;\n  color: #7a7a7a;\n  border-left: .25rem solid #e5e5e5;\n}\ndiv.main .content .markdown blockquote p:last-child {\n  margin-bottom: 0;\n}\ndiv.main .content .markdown figure {\n  width: 100%;\n  background: #fff;\n  margin-bottom: 1em;\n}\ndiv.main .content .markdown figure img {\n  width: 100%;\n  height: auto;\n  max-width: 100%;\n  display: block;\n  position: static;\n  margin: auto;\n}\ndiv.main .content .markdown table {\n  margin-bottom: 1rem;\n  width: 100%;\n  border: 1px solid #e5e5e5;\n  border-collapse: collapse;\n}\ndiv.main .content .markdown td,\ndiv.main .content .markdown th {\n  padding: .25rem .5rem;\n  border: 1px solid #e5e5e5;\n}\ndiv.main .content .markdown tbody tr:nth-child(odd) td,\ndiv.main .content .markdown tbody tr:nth-child(odd) th {\n  background-color: #f7f7f7;\n}\ndiv.main .content .markdown .footnotes ol {\n  list-style-type: decimal;\n  margin-left: 16px;\n}\ndiv.main .content .markdown .footnotes li {\n  list-style-type: unset;\n}\ndiv.main .content .markdown .footnote-ref {\n  font-size: 0.7em;\n}\ndiv.main .content .navigation {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: column;\n  -moz-flex-direction: column;\n  -ms-flex-direction: column;\n  flex-direction: column;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  padding: 2em;\n}\ndiv.main .content .navigation div {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: row;\n  -moz-flex-direction: row;\n  -ms-flex-direction: row;\n  flex-direction: row;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  margin-top: 1em;\n}\ndiv.main .content .navigation .icon {\n  width: 16px;\n  height: 16px;\n}\ndiv.main .content .navigation a {\n  width: 250px;\n  margin: 0 1em;\n  text-align: center;\n  font-style: italic;\n  color: #313537;\n}\ndiv.main .content .share, div.main .content .share div {\n  display: -webkit-flex;\n  display: -moz-flex;\n  display: -ms-flexbox;\n  display: -ms-flex;\n  display: flex;\n  -webkit-flex-direction: row;\n  -moz-flex-direction: row;\n  -ms-flex-direction: row;\n  flex-direction: row;\n  -webkit-align-items: center;\n  -moz-align-items: center;\n  -ms-align-items: center;\n  align-items: center;\n  justify-content: center;\n}\ndiv.main .content .share {\n  background-color: rgba(152, 152, 152, 0.07);\n  padding: 1em 0;\n}\ndiv.main .content .share a {\n  margin: 0 6px;\n}\nkbd {\n  padding: 0.1em 0.6em;\n  border: 1px solid #ccc;\n  font-size: 11px;\n  font-family: Arial,Helvetica,sans-serif;\n  background-color: #f7f7f7;\n  color: #333;\n  -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;\n  -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;\n  box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;\n  -moz-border-radius: 3px;\n  -webkit-border-radius: 3px;\n  border-radius: 3px;\n  display: inline-block;\n  margin: 0 0.1em;\n  text-shadow: 0 1px 0 #fff;\n  line-height: 1.4;\n  white-space: nowrap;\n}\n\n/* Fonts */\n\n{{ if not .Site.Params.disablefancyfonts  }}\n.wf-raleway-n4-active body, \n.wf-raleway-n4-active div.header nav ul a,\n.wf-raleway-n7-active div.main .content .page-heading,\n.wf-raleway-n2-active div.main .container.f04 .content .num,\n.wf-raleway-n7-active div.main .content .markdown h1,\n.wf-raleway-n7-active div.main .content .markdown h2,\n.wf-raleway-n7-active div.main .content .markdown h3,\n.wf-raleway-n7-active div.main .content .markdown h4,\n.wf-raleway-n7-active div.main .content .markdown h5,\n.wf-raleway-n7-active div.main .content .markdown h6 {\n      font-family: 'Raleway';\n}\n\n.wf-merriweather-n3-active div.main .content .markdown {\n      font-family: 'Merriweather';\n}\n\n.wf-ubuntu-mono-n4-active div.main .content .markdown code,\n.wf-ubuntu-mono-n4-active div.main .content .markdown pre {\n      font-family: 'Ubuntu Mono';\n}\n{{ end  }}\n"
  },
  {
    "path": "layouts/partials/css/min600px.css",
    "content": "body {\n-webkit-justify-content: center;\n-moz-justify-content: center;\n-ms-justify-content: center;\njustify-content: center;\n}\n.non-narrow.zero-top-spacing {\npadding-top: 0 !important;\n}\nsection {\npadding: 0 16px;\nmargin-left: 100px;\nmargin-right: 100px;\n{{ if .Site.Params.enlarged }}\nmax-width: 825px;\n{{ else }}\nmax-width: 750px;\n{{ end }}\n}\ndiv.column {\npadding: 0 16px;\n{{ if .Site.Params.enlarged }}\nmax-width: 825px;\n{{ else }}\nmax-width: 750px;\n{{ end }}\n}\ndiv.header {\nbackground-color: transparent;\n}\ndiv.header .container {\n-webkit-justify-content: flex-start;\n-moz-justify-content: flex-start;\n-ms-justify-content: flex-start;\njustify-content: flex-start;\n}\ndiv.header .container .logo {\nmargin: 0;\n}\ndiv.header-home .container .logo {\nmax-width: 216px;\nmargin-left: 24px;\n}\ndiv.header-home .name-home {\npadding-top: 30px;\nfont-size: 40px;\n}\ndiv.header-home nav ul a {\nfont-size: 18px;\n}\ndiv.header .content {\n-webkit-align-items: flex-start;\n-moz-align-items: flex-start;\n-ms-align-items: flex-start;\nalign-items: flex-start;\n}\ndiv.header .name {\ncolor: #333333;\n}\ndiv.header nav {\nfont-size: 14px;\nmargin-bottom: 0;\n}\ndiv.header nav ul {\ntext-align: left;\n}\ndiv.header nav ul a {\ncolor: #666666;\n}\ndiv.header nav ul a:hover {\ncolor: #333333;\n}\ndiv.footer {\nbackground-color: transparent;\n}\ndiv.footer .container {\nflex-direction: row;\n}\ndiv.footer .container a {\nmargin-left: 3px;\nmargin-right: 3px;\ncolor: #666666;\n}\ndiv.footer .container a:hover {\ncolor: #333333;\n}\ndiv.footer .container a .icon {\nfont-size: 18px;\n}\ndiv.footer .container a .icon.larger {\nfont-size: 20px;\n}\ndiv.main .content .front-matter .date,\ndiv.main .content .front-matter .author,\ndiv.main .content .front-matter .tags,\ndiv.main .content .front-matter .word-count,\ndiv.main .content .front-matter .middot:before {\ndisplay: initial;\n}\ndiv.main .container.f04 {\n-webkit-justify-content: flex-start;\n-moz-justify-content: flex-start;\n-ms-justify-content: flex-start;\njustify-content: flex-start;\n}\ndiv.main .container.f04 .content {\n-webkit-align-items: flex-start;\n-moz-align-items: flex-start;\n-ms-align-items: flex-start;\nalign-items: flex-start;\n}\ndiv.main .container.f04 .content .num {\nmargin: 0 0 10px 0;\nfont-size: 32px;\n}\ndiv.main .container.f04 .content .detail {\nmargin-bottom: 30px;\n}\n.container {\npadding: 0 30px;\n}\ndiv.header {\npadding-top: 60px;\npadding-bottom: 60px;\n}\ndiv.footer {\npadding-top: 60px;\npadding-bottom: 60px;\n}\ndiv.main {\npadding-top: 0;\n}\ndiv.main .content {\n  {{ if .Site.Params.enlarged }}\n  font-size: 17px;\n  {{ else }}\n  font-size: 16px;\n  {{ end }}\n}\ndiv.main .container .content .post-item {\ndisplay: flex;\nlist-style: none;\npadding-left: 1.5em;\n}\ndiv.main .container .content .post-item .meta {\ndisplay: block;\n}\ndiv.main .content .markdown blockquote {\npadding-right: 5rem;\npadding-left: 1.25rem;\n}\ndiv.main .content .navigation {\n-webkit-flex-direction: row;\n-moz-flex-direction: row;\n-ms-flex-direction: row;\nflex-direction: row;\n}\ndiv.main .content .navigation div {\nmargin-top: 0em;\n}\n"
  },
  {
    "path": "layouts/partials/css/min769px.css",
    "content": "div.main .content .markdown figure {\nwidth: 110%;\nmargin-left: -4%;\n}\ndiv.main .content .markdown img {\nmax-width: 110%;\nwidth: 110%;\nmargin-left: -4%;\n}\ndiv.main .content .markdown pre {\nwidth: 110%;\nmargin-left: -4%;\n}\n"
  },
  {
    "path": "layouts/partials/css/social-share-kit.css",
    "content": "/*!\n * Social Share Kit v1.0.7 (http://socialsharekit.com)\n * Copyright 2015 Social Share Kit / Kaspars Sprogis.\n * Licensed under Creative Commons Attribution-NonCommercial 3.0 license:\n * https://github.com/darklow/social-share-kit/blob/master/LICENSE\n * ---\n */@font-face{font-family:'social-share-kit';src:url('{{ .Site.BaseURL }}fonts/social-share-kit.eot');src:url('{{ .Site.BaseURL }}fonts/social-share-kit.eot?#iefix') format('embedded-opentype'),url('{{ .Site.BaseURL }}fonts/social-share-kit.woff') format('woff'),url('{{ .Site.BaseURL }}fonts/social-share-kit.ttf') format('truetype'),url('{{ .Site.BaseURL }}fonts/social-share-kit.svg#social-share-kit') format('svg');font-weight:normal;font-style:normal}.ssk:before{display:inline-block;font-family:\"social-share-kit\" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ssk-facebook:before{content:\"a\";text-indent:4px;margin-right:-4px}.ssk-twitter:before{content:\"b\"}.ssk-google-plus:before{content:\"v\"}.ssk-google-plus-old:before{content:\"c\"}.ssk-email:before{content:\"d\";top:-1px;position:relative}.ssk-pinterest:before{content:\"e\"}.ssk-tumblr:before{content:\"f\"}.ssk-linkedin:before{content:\"g\"}.ssk-github:before{content:\"h\"}.ssk-vk:before{content:\"i\"}.ssk-instagram:before{content:\"j\"}.ssk-amazon:before{content:\"k\"}.ssk-skype:before{content:\"s\"}.ssk-youtube:before{content:\"x\"}.ssk-vimeo:before{content:\"u\"}.ssk-ebay:before{content:\"p\"}.ssk-apple:before{content:\"l\"}.ssk-behance:before{content:\"q\"}.ssk-dribble:before{content:\"n\"}.ssk-android:before{content:\"o\"}.ssk-whatsapp:before{content:\"m\"}.ssk-reddit:before{content:\"r\"}.ssk-reddit2:before{content:\"t\"}.ssk-link:before{content:\"w\"}.ssk{background-color:#757575;color:white;display:inline-block;font-size:22px;line-height:1px;margin-right:2px;margin-bottom:2px;padding:7px;text-align:center;text-decoration:none;transition:background-color .1s;-webkit-transition:background-color .1s;-moz-transition:background-color .1s;-ms-transition:background-color .1s;-o-transition:background-color .1s}.ssk:before,.ssk .glyphicon,.ssk .fa{position:relative;font-size:22px;top:0;vertical-align:middle}.ssk.ssk-xs,.ssk-xs>.ssk{padding:4px}.ssk.ssk-xs:before,.ssk-xs>.ssk:before,.ssk.ssk-xs .glyphicon,.ssk-xs>.ssk .glyphicon,.ssk.ssk-xs .fa,.ssk-xs>.ssk .fa{font-size:15px}.ssk.ssk-sm,.ssk-sm>.ssk{padding:5px}.ssk.ssk-sm:before,.ssk-sm>.ssk:before,.ssk.ssk-sm .glyphicon,.ssk-sm>.ssk .glyphicon,.ssk.ssk-sm .fa,.ssk-sm>.ssk .fa{font-size:20px}.ssk.ssk-lg,.ssk-lg>.ssk{padding:9px}.ssk.ssk-lg:before,.ssk-lg>.ssk:before,.ssk.ssk-lg .glyphicon,.ssk-lg>.ssk .glyphicon,.ssk.ssk-lg .fa,.ssk-lg>.ssk .fa{font-size:28px}.ssk:last-child{margin-right:0}.ssk:hover{background-color:#424242}.ssk:hover,.ssk:focus{color:#fff;text-decoration:none}.ssk.ssk-round,.ssk-round .ssk{border-radius:50%}.ssk.ssk-round:before,.ssk-round .ssk:before{text-indent:0;margin-right:0}.ssk.ssk-rounded,.ssk-rounded .ssk{border-radius:15%}.ssk.ssk-icon{color:#757575;padding:2px;font-size:24px}.ssk.ssk-icon,.ssk.ssk-icon:hover{background-color:transparent}.ssk.ssk-icon:hover{color:#424242}.ssk.ssk-icon.ssk-xs,.ssk-xs>.ssk.ssk-icon{font-size:16px}.ssk.ssk-icon.ssk-sm,.ssk-sm>.ssk.ssk-icon{font-size:20px}.ssk.ssk-icon.ssk-lg,.ssk-lg>.ssk.ssk-icon{font-size:28px}.ssk.ssk-text{overflow:hidden;font-size:17px;line-height:normal;padding-right:10px}.ssk.ssk-text:before,.ssk.ssk-text .glyphicon,.ssk.ssk-text .fa{margin:-7px 10px -7px -7px;padding:7px;background-color:rgba(0,0,0,0.15);vertical-align:bottom;text-indent:0}.ssk-block .ssk.ssk-text{display:block;margin-right:0;text-align:left}.ssk.ssk-text.ssk-xs,.ssk-xs>.ssk.ssk-text{font-size:12px;padding-right:6px}.ssk.ssk-text.ssk-xs:before,.ssk-xs>.ssk.ssk-text:before,.ssk.ssk-text.ssk-xs .glyphicon,.ssk-xs>.ssk.ssk-text .glyphicon,.ssk.ssk-text.ssk-xs .fa,.ssk-xs>.ssk.ssk-text .fa{margin:-4px 6px -4px -4px;padding:4px}.ssk.ssk-text.ssk-sm,.ssk-sm>.ssk.ssk-text{font-size:16px;padding-right:7px}.ssk.ssk-text.ssk-sm:before,.ssk-sm>.ssk.ssk-text:before,.ssk.ssk-text.ssk-sm .glyphicon,.ssk-sm>.ssk.ssk-text .glyphicon,.ssk.ssk-text.ssk-sm .fa,.ssk-sm>.ssk.ssk-text .fa{margin:-5px 7px -5px -5px;padding:5px}.ssk.ssk-text.ssk-lg,.ssk-lg>.ssk.ssk-text{font-size:22px;padding-right:13px}.ssk.ssk-text.ssk-lg:before,.ssk-lg>.ssk.ssk-text:before,.ssk.ssk-text.ssk-lg .glyphicon,.ssk-lg>.ssk.ssk-text .glyphicon,.ssk.ssk-text.ssk-lg .fa,.ssk-lg>.ssk.ssk-text .fa{margin:-9px 13px -9px -9px;padding:9px}.ssk-group,.ssk-sticky{font-size:0}.ssk-sticky{top:0;position:fixed;z-index:2000}.ssk-sticky .ssk{transition:padding .1s ease-out;-webkit-transition:padding .1s ease-out;-moz-transition:padding .1s ease-out;-ms-transition:padding .1s ease-out;-o-transition:padding .1s ease-out;margin:0}@media (min-width:768px){.ssk-sticky.ssk-left .ssk,.ssk-sticky.ssk-right .ssk{display:block;clear:both}.ssk-sticky.ssk-left.ssk-center,.ssk-sticky.ssk-right.ssk-center{top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%)}.ssk-sticky.ssk-left{left:0}.ssk-sticky.ssk-left .ssk{float:left}.ssk-sticky.ssk-left .ssk:hover{padding-left:15px}.ssk-sticky.ssk-right{right:0}.ssk-sticky.ssk-right .ssk{float:right}.ssk-sticky.ssk-right .ssk:hover{padding-right:15px}}.ssk-sticky.ssk-bottom{font-size:0;top:auto;bottom:0}.ssk-sticky.ssk-bottom.ssk-center{left:50%;right:auto;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.ssk-sticky.ssk-bottom .ssk{vertical-align:bottom}.ssk-sticky.ssk-bottom .ssk:hover{padding-bottom:15px}.ssk-sticky.ssk-round.ssk-xs .ssk:hover{padding:8px}.ssk-sticky.ssk-round.ssk-sm .ssk:hover{padding:9px}.ssk-sticky.ssk-round .ssk:hover{padding:11px}.ssk-sticky.ssk-round.ssk-lg .ssk:hover{padding:13px}@media (max-width:767px){.ssk-sticky{left:0;right:0;bottom:0;top:auto;width:100%;display:flex !important;flex-direction:row;flex-wrap:nowrap}.ssk-sticky.ssk-sticky-hide-xs{display:none !important}.ssk-sticky .ssk{flex:1;width:auto}.ssk-sticky .ssk .ssk-num{display:none}}.ssk-count{padding-top:20px}.ssk-count .ssk{position:relative}.ssk-count .ssk-num{border-radius:4px;color:#8f8f8f;background-color:rgba(50,50,50,0.03);display:block;font-size:12px;left:0;line-height:20px;position:absolute;right:0;text-align:center;top:-20px}@media (min-width:768px){.ssk-count.ssk-sticky{padding-top:0}.ssk-count.ssk-sticky.ssk-left .ssk-num,.ssk-count.ssk-sticky.ssk-right .ssk-num{top:20%;background-color:transparent}.ssk-count.ssk-sticky.ssk-left .ssk-num{left:100%;margin-left:5px}.ssk-count.ssk-sticky.ssk-right .ssk-num{right:115%;margin-left:-100%;text-align:right}}.ssk-facebook{background-color:#3B5998}.ssk-grayscale>.ssk-facebook{background-color:#757575}.ssk-facebook:hover{background-color:#2d4373}.ssk-facebook:hover{background-color:#2d4373}.ssk-grayscale>.ssk-facebook:hover{background-color:#3B5998}.ssk-facebook.ssk-icon{color:#3B5998}.ssk-facebook.ssk-icon:hover{color:#2d4373}.ssk-facebook.ssk-icon:before{text-indent:0;margin-right:0}.ssk-twitter{background-color:#1DA1F2}.ssk-grayscale>.ssk-twitter{background-color:#757575}.ssk-twitter:hover{background-color:#0c85d0}.ssk-twitter:hover{background-color:#0c85d0}.ssk-grayscale>.ssk-twitter:hover{background-color:#1DA1F2}.ssk-twitter.ssk-icon{color:#1DA1F2}.ssk-twitter.ssk-icon:hover{color:#0c85d0}.ssk-google-plus{background-color:#EA4335}.ssk-grayscale>.ssk-google-plus{background-color:#757575}.ssk-google-plus:hover{background-color:#d62516}.ssk-google-plus:hover{background-color:#d62516}.ssk-grayscale>.ssk-google-plus:hover{background-color:#EA4335}.ssk-google-plus.ssk-icon{color:#EA4335}.ssk-google-plus.ssk-icon:hover{color:#d62516}.ssk-pinterest{background-color:#BD081C}.ssk-grayscale>.ssk-pinterest{background-color:#757575}.ssk-pinterest:hover{background-color:#8c0615}.ssk-pinterest:hover{background-color:#8c0615}.ssk-grayscale>.ssk-pinterest:hover{background-color:#BD081C}.ssk-pinterest.ssk-icon{color:#BD081C}.ssk-pinterest.ssk-icon:hover{color:#8c0615}.ssk-tumblr{background-color:#395773}.ssk-grayscale>.ssk-tumblr{background-color:#757575}.ssk-tumblr:hover{background-color:#283d51}.ssk-tumblr:hover{background-color:#283d51}.ssk-grayscale>.ssk-tumblr:hover{background-color:#395773}.ssk-tumblr.ssk-icon{color:#395773}.ssk-tumblr.ssk-icon:hover{color:#283d51}.ssk-email{background-color:#757575}.ssk-grayscale>.ssk-email{background-color:#757575}.ssk-email:hover{background-color:#5b5b5b}.ssk-email:hover{background-color:#5b5b5b}.ssk-grayscale>.ssk-email:hover{background-color:#757575}.ssk-grayscale>.ssk-email:hover{background-color:#5b5b5b}.ssk-email.ssk-icon{color:#757575}.ssk-email.ssk-icon:hover{color:#5b5b5b}.ssk-vk{background-color:#54769a}.ssk-grayscale>.ssk-vk{background-color:#757575}.ssk-vk:hover{background-color:#425d79}.ssk-vk:hover{background-color:#425d79}.ssk-grayscale>.ssk-vk:hover{background-color:#54769a}.ssk-vk.ssk-icon{color:#54769a}.ssk-vk.ssk-icon:hover{color:#425d79}.ssk-linkedin{background-color:#1c87bd}.ssk-grayscale>.ssk-linkedin{background-color:#757575}.ssk-linkedin:hover{background-color:#156791}.ssk-linkedin:hover{background-color:#156791}.ssk-grayscale>.ssk-linkedin:hover{background-color:#1c87bd}.ssk-linkedin.ssk-icon{color:#1c87bd}.ssk-linkedin.ssk-icon:hover{color:#156791}.ssk-whatsapp{background-color:#34AF23}.ssk-grayscale>.ssk-whatsapp{background-color:#757575}.ssk-whatsapp:hover{background-color:#27851a}.ssk-whatsapp:hover{background-color:#27851a}.ssk-grayscale>.ssk-whatsapp:hover{background-color:#34AF23}.ssk-whatsapp.ssk-icon{color:#34AF23}.ssk-whatsapp.ssk-icon:hover{color:#27851a}.ssk-reddit{background-color:#5f99cf}.ssk-grayscale>.ssk-reddit{background-color:#757575}.ssk-reddit:hover{background-color:#3a80c1}.ssk-reddit:hover{background-color:#3a80c1}.ssk-grayscale>.ssk-reddit:hover{background-color:#5f99cf}.ssk-reddit.ssk-icon{color:#5f99cf}.ssk-reddit.ssk-icon:hover{color:#3a80c1}.ssk-reddit2{background-color:#5f99cf}.ssk-grayscale>.ssk-reddit2{background-color:#757575}.ssk-reddit2:hover{background-color:#3a80c1}.ssk-reddit2:hover{background-color:#3a80c1}.ssk-grayscale>.ssk-reddit2:hover{background-color:#5f99cf}.ssk-reddit2.ssk-icon{color:#5f99cf}.ssk-reddit2.ssk-icon:hover{color:#3a80c1}.ssk-turquoise{background-color:#1abc9c}.ssk-turquoise:hover{background-color:#148f77}.ssk-emerald{background-color:#2ecc71}.ssk-emerald:hover{background-color:#25a25a}.ssk-peter-river{background-color:#3498db}.ssk-peter-river:hover{background-color:#217dbb}.ssk-belize-hole{background-color:#2980b9}.ssk-belize-hole:hover{background-color:#20638f}.ssk-amethyst{background-color:#9b59b6}.ssk-amethyst:hover{background-color:#804399}.ssk-wisteria{background-color:#8e44ad}.ssk-wisteria:hover{background-color:#703688}.ssk-wet-asphalt{background-color:#34495e}.ssk-wet-asphalt:hover{background-color:#222f3d}.ssk-midnight-blue{background-color:#2c3e50}.ssk-midnight-blue:hover{background-color:#1a242f}.ssk-green-sea{background-color:#16a085}.ssk-green-sea:hover{background-color:#107360}.ssk-nephritis{background-color:#27ae60}.ssk-nephritis:hover{background-color:#1e8449}.ssk-sunflower{background-color:#f1c40f}.ssk-sunflower:hover{background-color:#c29d0b}.ssk-orange{background-color:#f39c12}.ssk-orange:hover{background-color:#c87f0a}.ssk-carrot{background-color:#e67e22}.ssk-carrot:hover{background-color:#bf6516}.ssk-pumpkin{background-color:#d35400}.ssk-pumpkin:hover{background-color:#a04000}.ssk-alizarin{background-color:#e74c3c}.ssk-alizarin:hover{background-color:#d62c1a}.ssk-pomegranate{background-color:#c0392b}.ssk-pomegranate:hover{background-color:#962d22}.ssk-clouds{background-color:#cfd9db}.ssk-clouds:hover{background-color:#b1c2c6}.ssk-concrete{background-color:#95a5a6}.ssk-concrete:hover{background-color:#798d8f}.ssk-silver{background-color:#bdc3c7}.ssk-silver:hover{background-color:#a1aab0}.ssk-asbestos{background-color:#7f8c8d}.ssk-asbestos:hover{background-color:#667273}.ssk-dark-gray{background-color:#555}.ssk-dark-gray:hover{background-color:#3b3b3b}.ssk-black{background-color:#333}.ssk-black:hover{background-color:#1a1a1a}"
  },
  {
    "path": "layouts/partials/footer.html",
    "content": "<div class=\"footer column\">\n    <div class=\"container\">\n\n        {{ if .Site.Params.githubRepo }}\n            <div class=\"copyright\">\n            {{ $length := len ( split .Site.Params.githubRepo \"/\" ) }}\n            {{ if eq $length 2 }}\n                <a href=\"https://github.com/{{ .Site.Params.githubRepo }}/tree/master/content/{{ replace .File.Path \"\\\\\" \"/\" }}\" target=\"_blank\">View this post on GitHub</a>\n            {{ else }}\n                <a href=\"https://github.com/{{ .Site.Params.githubRepo }}/content/{{ replace .File.Path \"\\\\\" \"/\" }}\" target=\"_blank\">View this post on GitHub</a>\n            {{ end }}\n            </div>\n        {{ end }}\n\n        {{ if .Site.Params.gitlabRepo }}\n            <div class=\"copyright\">\n            {{ $length := len ( split .Site.Params.gitlabRepo \"/\" ) }}\n            {{ if eq $length 2 }}\n                <a href=\"https://gitlab.com/{{ .Site.Params.gitlabRepo }}/tree/master/content/{{ replace .File.Path \"\\\\\" \"/\" }}\" target=\"_blank\">View this post on gitlab</a>\n            {{ else }}\n                <a href=\"https://gitlab.com/{{ .Site.Params.gitlabRepo }}/content/{{ replace .File.Path \"\\\\\" \"/\" }}\" target=\"_blank\">View this post on gitlab</a>\n            {{ end }}\n            </div>\n        {{ end }}\n\n        <div class=\"copyright\">\n\n        {{ if .Site.Params.copyright }}\n            {{ if .Site.Params.copyrightUrl }}\n                <a href=\"{{ .Site.Params.copyrightUrl }}\">{{ replace .Site.Params.copyright \"{year}\" now.Year }}</a>\n            {{ else }}\n                <a href=\"{{ .Site.BaseURL }}license\">{{ replace .Site.Params.copyright \"{year}\" now.Year }}</a>\n            {{ end }}\n        {{ end }}\n\n        </div>\n        <div class=\"icons\">\n\n        {{ if .Site.Params._500px }}\n            <a href=\"https://500px.com/{{ .Site.Params._500px }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/500px.svg\" alt=\"500px\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.itch_io }}\n            <a href=\"https://{{ .Site.Params.itch_io }}.itch.io\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/itch.io.svg\" alt=\"itch.io\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.gitlab }}\n            <a href=\"https://gitlab.com/{{ .Site.Params.gitlab }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/gitlab.svg\" alt=\"gitlab\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.instagram }}\n            <a href=\"https://www.instagram.com/{{ .Site.Params.instagram }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/instagram.svg\" alt=\"instagram\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.twitch }}\n            <a href=\"https://www.twitch.tv/{{ .Site.Params.twitch }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/twitch.png\" alt=\"twitch\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.facebook }}\n            <a href=\"https://facebook.com/{{ .Site.Params.facebook }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/facebook.svg\" alt=\"facebook\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.github }}\n            <a href=\"https://github.com/{{ .Site.Params.github }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/github.svg\" alt=\"github\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.twitter }}\n            <a href=\"https://twitter.com/{{ .Site.Params.twitter }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/twitter.svg\" alt=\"twitter\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.linkedin }}\n            <a href=\"https://www.linkedin.com/in/{{ .Site.Params.linkedin }}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/linkedin.svg\" alt=\"linkedin\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.keybase }}\n            <a href=\"https://keybase.io/{{ .Site.Params.keybase}}\" rel=me target=\"_blank\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/keybase.svg\" alt=\"keybase\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.Params.untappd }}\n        <a href=\"https://untappd.com/user/{{ .Site.Params.untappd}}\" rel=me target=\"_blank\">\n            <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/untappd.svg\" alt=\"untappd\" />\n        </a>\n        {{ end }}\n\n        {{ if .Site.Params.email }}\n            <a href=\"mailto:{{ .Site.Params.email }}\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/email.svg\" alt=\"email\" />\n            </a>\n        {{ end }}\n\n        {{ if .Site.RSSLink }}\n            <a href=\"{{ .Site.RSSLink }}\">\n                <img class=\"icon\" src=\"{{ .Site.BaseURL }}img/rss.svg\" alt=\"rss\" />\n            </a>\n        {{ end }}\n\n        </div>\n    </div>\n</div>\n\n{{ partial \"footer_scripts\" . }}\n\n</body>\n</html>\n"
  },
  {
    "path": "layouts/partials/footer_scripts.html",
    "content": "{{ if not .Site.Params.disablefancyfonts }}\n<script src=\"https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js\"></script>\n<script>\n  WebFont.load({\n    google: {\n      families: ['Raleway:400,600,700', 'Merriweather:300,300i,700,700i', 'Ubuntu+Mono:400,700']\n    }\n  });\n</script>\n{{ end }}\n\n{{ if .Site.Params.highlightjs }}\n  <script src=\"{{ .Site.BaseURL }}js/highlight.min.js\" defer></script>\n  {{ range .Site.Params.highlightjslanguages }}\n    <script src=\"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/{{.}}.min.js\" defer></script>\n  {{ end }}\n{{ end }}\n\n{{ if .Site.Params.progressively }}\n  <script src=\"{{ .Site.BaseURL }}js/progressively.min.js\" defer></script>\n{{ end }}\n\n{{ if .Site.Params.share }}\n  <script src=\"{{ .Site.BaseURL }}js/social-share-kit.min.js\" defer></script>\n{{ end }}\n\n{{ if .Site.Params.fathomurl }}\n<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->\n<script>\n(function(f, a, t, h, o, m){\n\ta[h]=a[h]||function(){\n\t\t(a[h].q=a[h].q||[]).push(arguments)\n\t};\n\to=f.createElement('script'),\n\tm=f.getElementsByTagName('script')[0];\n\to.async=1; o.src=t; o.id='fathom-script';\n\tm.parentNode.insertBefore(o,m)\n})(document, window, '//{{ .Site.Params.fathomurl }}/tracker.js', 'fathom');\nfathom('trackPageview');\n</script>\n<!-- / Fathom -->\n{{ end }}\n\n{{ if .Site.Params.googleAnalyticsEnabled }}\n{{ template \"_internal/google_analytics_async.html\" . }}\n{{ end }}\n\n<script>\n  window.onload = function() {\n    {{ if .Site.Params.highlightjs }}\n      hljs.initHighlighting();\n    {{ end }}\n    {{ if .Site.Params.progressively }}\n      progressively.init({delay: 30, throttle: 50});\n    {{ end }}\n    {{ if .Site.Params.share }}\n      SocialShareKit.init({\n        twitter: {\n            text: '',\n            {{ if .Site.Params.twitter }}via: '{{ .Site.Params.twitter }}'{{ end }}\n        }\n      });\n    {{ end }}\n  };\n</script>\n\n{{ if .Site.Params.uselatex }}\n<script type=\"text/x-mathjax-config\">\n    MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\\\(','\\\\)']] } });\n</script>\n<script async type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_CHTML\"></script>\n{{ end }}\n"
  },
  {
    "path": "layouts/partials/head.html",
    "content": "<head>\n{{ partial \"meta.html\" . }}\n<title>\n{{ $url := replace .Permalink ( printf \"%s\" .Site.BaseURL) \"\" }}\n{{ if eq $url \"\" }}\n    {{ .Site.Title }}\n{{ else }}\n    {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }}\n{{ end }}\n</title>\n<link rel=\"canonical\" href=\"{{ .Permalink }}\">\n{{ partial \"head_includes.html\" . }}\n</head>\n"
  },
  {
    "path": "layouts/partials/head_includes.html",
    "content": "<!-- CSS -->\n\n<style media=\"screen\">\n  {{ partial \"css/main.css\" . | safeCSS }}\n</style>\n<style media=\"(min-width: 600px)\">\n  {{ partial \"css/min600px.css\" . | safeCSS }}\n</style>\n<style media=\"(min-width: 769px)\">\n  {{ partial \"css/min769px.css\" . | safeCSS }}\n</style>\n\n<noscript>\n  <link href=\"https://fonts.googleapis.com/css?family=Raleway:400,600,700\" rel=\"stylesheet\">\n  <link href=\"https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i\" rel=\"stylesheet\">\n  <link href=\"https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700\" rel=\"stylesheet\">\n</noscript>\n\n{{ if .Site.Params.highlightjs }}\n  <style type=\"text/css\" media=\"screen\">\n    {{ partial \"css/highlight.min.css\" . | safeCSS }}\n  </style>\n{{ end }}\n\n{{ if .Site.Params.progressively }}\n  <style type=\"text/css\" media=\"screen\">\n    {{ partial \"css/progressively.min.css\" . | safeCSS }}\n  </style>\n{{ end }}\n\n{{ if .Site.Params.share }}\n  <style type=\"text/css\" media=\"screen\">\n    {{ partial \"css/social-share-kit.css\" . | safeCSS }}\n  </style>\n{{ end }}\n\n{{ if .Site.Params.colors }}\n  <style type=\"text/css\" media=\"screen\">\n    {{ partial \"css/colors.css\" . | safeCSS }}\n  </style>\n{{ end }}\n\n{{ range .Site.Params.extracssfiles }}\n  <link rel=\"stylesheet\" href=\"{{ . | relURL }}\">\n{{ end }}\n\n<!-- Icon -->\n<link rel=\"shortcut icon\"\n{{ if .Site.Params.faviconfile }}\n    href=\"{{ .Site.Params.faviconfile | relURL }}\"\n{{ else }}\n    href=\"{{ .Site.BaseURL }}img/favicon.ico\"\n{{ end }}\n>\n\n<!-- RSS -->\n{{ if .RSSLink }}\n  <link href=\"{{ .RSSLink }}\" rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ .Site.Title }}\" />\n{{ end }}\n"
  },
  {
    "path": "layouts/partials/header.html",
    "content": "<!DOCTYPE html>\n<html lang=\"{{ .Site.LanguageCode }}\">\n\n{{ partial \"head.html\" . }}\n\n<body>\n\n{{ if (or (.Site.Params.small_banner_logo) (and (.IsPage) (not (.Site.Params.large_banner_logo)))) }}\n<div class=\"header column\">\n{{ else }}\n<div class=\"header header-home column\">\n{{ end }}\n    <div class=\"container\">\n        {{ if (not (isset .Site.Params \"logofile\")) }}\n        <a href=\"https://github.com/mtn/cocoa-eh-hugo-theme/wiki/Configuration#logo\">Logo HOWTO</a>\n        {{ else if ne .Site.Params.logofile \"\" }}\n        <a href=\"{{ .Site.BaseURL }}\"><img class=\"logo\" src=\"{{ .Site.Params.logofile | relURL }}\" alt=\"logo\"></a>\n        {{ end }}\n        <div class=\"content\">\n            <a href=\"/\"><div class=\"name\"><h1>{{ .Site.Title }}</h1></div></a>\n            <nav>\n                <ul>\n                    {{ if (and (ne (len (where .Site.RegularPages \"Section\" \"blog\")) 0) (not (in .Site.Params.exclude_headings \"blog\"))) }}\n                            <li><a href=\"/blog/\">Blog</a></li>\n                    {{ end }}\n                    {{ range $.Site.Home.Sections }}\n                        {{ range first 1 (where .Pages \"Section\" \"ne\" \"\")}}\n                            {{ if (and (ne .Section \"blog\") (not (in .Site.Params.exclude_headings (lower .Section))))}}\n                            <li><a href=\"{{ .Section | urlize | relURL }}\">{{ .Section }}</a></li>\n                            {{ end }}\n                        {{ end }}\n                    {{ end }}\n                    {{ range where .Site.RegularPages \"Section\" \"\"}}\n                        {{ if (and (and (ne .Title \"License\") (ne .Title \"Home\")) (not (in .Site.Params.exclude_headings (lower .Title))))}}\n                            <li><a href=\"{{ .RelPermalink }}\">{{ .Title }}</a></li>\n                        {{ end }}\n                    {{ end }}\n                </ul>\n            </nav>\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "layouts/partials/li.html",
    "content": "<li class=\"post-item\">\n    <span class=\"meta\">{{ .Date.Format .Site.Params.dateform }}</span>\n    {{ if .Params.draft }}\n    <a href=\"{{ .RelPermalink }}\"><span>Draft::{{ .Title }}</span></a>\n    {{ else }}\n    <a href=\"{{ .RelPermalink }}\"><span>{{ .Title }}</span></a>\n    {{ end }}\n</li>\n"
  },
  {
    "path": "layouts/partials/meta.html",
    "content": "<meta charset=\"utf-8\">\n<meta name=\"HandheldFriendly\" content=\"True\">\n<meta name=\"MobileOptimized\" content=\"320\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\n{{ if .Site.Params.description }}<meta name=\"description\" content=\"{{ .Site.Params.description }}\">{{ end }}\n\n{{ if .Site.Params.twitter }}\n    <meta property=\"twitter:site\" content=\"@{{.Site.Params.twitter}}\">\n{{ end }}\n<meta property=\"og:site_name\" content=\"{{ .Site.Title }}\" />\n<meta property=\"og:locale\" content=\"{{ .Site.LanguageCode }}\" />\n<meta property=\"og:type\" content=\"article\" />\n<meta property=\"og:url\" content=\"{{ .Permalink }}\" />\n<meta property=\"og:title\" content=\"{{ .Title }}\" />\n<meta property=\"twitter:title\" content=\"{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}\">\n{{ if .Site.Params.social_banner }}\n    <meta property=\"og:image\" content=\"{{ if .Params.meta_img }}{{ .Site.BaseURL }}{{ .Params.meta_img }}{{ else }}{{ .Site.BaseURL }}{{.Site.Params.social_banner}}{{ end }}\">\n    <meta property=\"twitter:card\" content=\"{{ if .Site.Params.usesmallsummarycard }}summary{{ else }}summary_large_image{{ end }}\">\n    <meta property=\"twitter:image\" content=\"{{ if .Params.meta_img }}{{ .Site.BaseURL }}{{ .Params.meta_img }}{{ else }}{{ .Site.BaseURL }}{{.Site.Params.social_banner}}{{ end }}\">\n{{ else }}\n    <meta property=\"twitter:card\" content=\"summary\">\n{{ end }}\n<meta property=\"og:description\" content=\"{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}\">\n<meta property=\"twitter:description\" content=\"{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}\">\n"
  },
  {
    "path": "layouts/partials/page-heading.html",
    "content": "<div class=\"page-heading\">\n{{ if .Params.heading }}\n    {{ .Params.heading }}\n{{ else }}\n    {{ if .Params.draft }}\n    Draft::{{ .Title }}\n    {{ else }}\n    {{ .Title }}\n    {{ end }}\n{{ end }}\n</div>\n"
  },
  {
    "path": "theme.toml",
    "content": "name = \"Cocoa-EH\"\nlicense = \"MIT\"\nlicenselink = \"https://github.com/fuegowolf/cocoa-eh-hugo-theme/blob/master/LICENSE.md\"\ndescription = \"Cocoa Enhanced is a clean, fast and responsive theme with cool typography.\"\nhomepage = \"https://github.com/fuegowolf/cocoa-eh-hugo-theme\"\ntags = [\"clean\", \"fast\", \"responsive\", \"typography\"]\nfeatures = [\"flexible\", \"fast\", \"highlights\", \"progressive images\", \"disqus\"]\nmin_version = \"0.20.2\"\n\n[author]\n    name = \"Alexis Tacnet\"\n    homepage = \"https://github.com/fuegowolf\"\n\n[original]\n    name = \"Nishanth Shanmugham\"\n    homepage = \"https://github.com/nishanths\"\n    repo = \"https://www.github.com/nishanths/cocoa-hugo-theme\"\n"
  }
]