404 Not Found
5 |What you're looking for isn't here, sorry!
6 | 7 |├── .gitignore ├── LICENSE ├── README.md ├── archetypes └── default.md ├── images ├── screenshot.png ├── theme-colours.png └── tn.png ├── layouts ├── 404.html ├── _default │ ├── list.html │ └── single.html ├── index.html ├── partials │ ├── foot.html │ ├── head.html │ ├── sidebar.html │ └── sidebar │ │ └── footer.html └── post │ └── single.html ├── static ├── css │ ├── highlight │ │ ├── arta.css │ │ ├── ascetic.css │ │ ├── atelier-dune.dark.css │ │ ├── atelier-dune.light.css │ │ ├── atelier-forest.dark.css │ │ ├── atelier-forest.light.css │ │ ├── atelier-heath.dark.css │ │ ├── atelier-heath.light.css │ │ ├── atelier-lakeside.dark.css │ │ ├── atelier-lakeside.light.css │ │ ├── atelier-seaside.dark.css │ │ ├── atelier-seaside.light.css │ │ ├── codepen-embed.css │ │ ├── color-brewer.css │ │ ├── dark.css │ │ ├── default.css │ │ ├── docco.css │ │ ├── far.css │ │ ├── foundation.css │ │ ├── github.css │ │ ├── googlecode.css │ │ ├── hybrid.css │ │ ├── idea.css │ │ ├── ir_black.css │ │ ├── kimbie.dark.css │ │ ├── kimbie.light.css │ │ ├── magula.css │ │ ├── mono-blue.css │ │ ├── monokai.css │ │ ├── monokai_sublime.css │ │ ├── obsidian.css │ │ ├── paraiso.dark.css │ │ ├── paraiso.light.css │ │ ├── railscasts.css │ │ ├── rainbow.css │ │ ├── solarized_dark.css │ │ ├── solarized_light.css │ │ ├── sunburst.css │ │ ├── tomorrow-night-blue.css │ │ ├── tomorrow-night-bright.css │ │ ├── tomorrow-night-eighties.css │ │ ├── tomorrow-night.css │ │ ├── tomorrow.css │ │ ├── vs.css │ │ ├── xcode.css │ │ └── zenburn.css │ ├── hyde-overrides.css │ ├── hyde-x.css │ ├── hyde.css │ ├── poole-overrides.css │ └── poole.css ├── favicon.png ├── js │ └── highlight.pack.js └── touch-icon-144-precomposed.png └── theme.toml /.gitignore: -------------------------------------------------------------------------------- 1 | # OS files 2 | /**/.DS_Store 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Andrei Mihu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Hyde-X 2 | ====== 3 | 4 | Enhanced port of the Jekyll "[Hyde](https://github.com/poole/hyde)" theme to the [Hugo](http://gohugo.io) site generator. Check below for a list of enhancements. 5 | 6 | You can find a live site using this theme [here](http://andreimihu.com) and the corresponding source code [here](https://github.com/zyro/andreimihu.com). 7 | 8 | * [Installation](#installation) 9 | * [Usage](#usage) 10 | * [Configuration](#configuration) 11 | * [Built-in colour themes](#built-in-colour-themes) 12 | * [Tips](#tips) 13 | * [Changes and enhancements from the original theme](#changes-and-enhancements-from-the-original-theme) 14 | * [Attribution](#attribution) 15 | * [Questions, ideas, bugs, pull requests?](#questions-ideas-bugs-pull-requests) 16 | * [License](#license) 17 | 18 | ### Installation 19 | 20 | ``` 21 | $ cd your_site_repo/ 22 | $ mkdir themes 23 | $ cd themes 24 | $ git clone https://github.com/zyro/hyde-x 25 | ``` 26 | 27 | See the [official Hugo themes documentation](http://gohugo.io/themes/installing) for more info. 28 | 29 | ### Usage 30 | 31 | This theme expects a relatively standard Hugo blog/personal site layout: 32 | ``` 33 | . 34 | └── content 35 | ├── post 36 | | ├── post1.md 37 | | └── post2.md 38 | ├── license.md // this is used in the sidebar footer link 39 | └── other_page.md 40 | ``` 41 | 42 | Just run `hugo --theme=hyde-x` to generate your site! 43 | 44 | ### Configuration 45 | 46 | An example of what your site's `config.toml` could look like. All theme-specific parameters are under `[params]` and standard Hugo parameters are used where possible. 47 | 48 | ``` toml 49 | baseurl = "http://example.com/" 50 | title = "Your site title" 51 | languageCode = "en-us" 52 | disqusShortname = "your_disqus_shortname" # Optional, enable Disqus integration 53 | MetaDataFormat = "toml" 54 | theme = "hyde-x" 55 | paginate = 10 56 | 57 | [author] 58 | name = "Your Name" 59 | 60 | [permalinks] 61 | # Optional. Change the permalink format for the 'post' content type. 62 | # The format shown here is the same one Jekyll/Octopress uses by default. 63 | post = "/blog/:year/:month/:day/:title/" 64 | 65 | [taxonomies] 66 | # Optional. Use if you want tags and lists. 67 | category = "categories" 68 | 69 | # 70 | # All parameters below here are optional and can be mixed and matched. 71 | # 72 | [params] 73 | # If false display full article contents in blog index. 74 | # Otherwise show description and 'read on' link to individual blog post page. 75 | # Default (if omitted) is true. 76 | truncate = true 77 | 78 | # Used when a given page doesn't set its own. 79 | defaultDescription = "Your default page description" 80 | defaultKeywords = "your,default,page,keywords" 81 | 82 | # Hide estimated reading time for posts. 83 | # Default (if omitted) is false. 84 | hideReadingTime = false 85 | 86 | # Changes sidebar background and link/accent colours. 87 | # See below for more colour options. 88 | # This also works: "theme-base-08 layout-reverse", or just "layout-reverse". 89 | theme = "theme-base-08" 90 | 91 | # Select a syntax highight. 92 | # Check the static/css/highlight directory for options. 93 | highlight = "sunburst" 94 | 95 | # Optional additional custom CSS file URL, will override other styles. 96 | customCSS = "" 97 | 98 | # Displays under the author name in the sidebar, keep it short. 99 | # You can use markdown here. 100 | tagline = "Your favourite quote or soundbite." 101 | 102 | # Text for the top menu link, which goes the root URL for the site. 103 | # Default (if omitted) is "Blog". 104 | home = "Blog" 105 | 106 | # Metadata used to drive integrations. 107 | googleAnalytics = "Your Google Analytics tracking code" 108 | gravatarHash = "MD5 hash of your Gravatar email address" 109 | 110 | # Sidebar social links, these must be full URLs. 111 | github = "" 112 | bitbucket = "" 113 | stackOverflow = "" 114 | linkedin = "" 115 | googleplus = "" 116 | facebook = "" 117 | twitter = "" 118 | youtube = "" 119 | 120 | # Other social-like sidebar links 121 | rss = false # switch to true to enable RSS icon link 122 | flattr = "" # populate with your flattr uid 123 | ``` 124 | 125 | ### Built-in colour themes 126 | 127 | Hyde-X provides 8 built-in colour themes by default, with the option to define more in your own custom CSS. 128 | 129 |  130 | 131 | ### Tips 132 | 133 | * If you've added `theme = "hyde-x"` to your `config.toml`, you don't need to keep using the `--theme=hyde-x` flag! 134 | * Pages where you specify `menu = "main"` in the front matter will be linked in the sidebar just below the `Blog` link. 135 | * Use the exact permalink format above to maintain old links if migrating from Jekyll/Octopress. 136 | * Although all of the syntax highlight CSS files under the theme's `static/css/highlight` are bundled with the site, only the one you choose will be included in the page and delivered to the browser. 137 | * Change the favicon by providing your own as `static/favicon.png` in your site directory. 138 | * Hugo makes it easy to override theme layout and behaviour, read about it [here](http://gohugo.io/themes/customizing). 139 | * Pagination is set to 10 items by default, change it by updating `paginate = 10` in your `config.toml`. 140 | * Set `truncate = false` in the `[params]` section of your `config.toml` to display full blog post contents in the index page, like the [base Hyde theme](https://github.com/poole/hyde) did. 141 | 142 | ### Changes and enhancements from the original theme 143 | 144 | * Category labels and lists. 145 | * Client-side syntax highlighting through [highlight.js](https://highlightjs.org/), sane fallback if disabled or no JS - infinitely more flexible than the standard Hugo highlighting. 146 | * Disqus integration: comment counts listed under blog entry names in post list, comments displayed at the bottom of each post. 147 | * Gravatar image in sidebar. 148 | * Google Analytics integration. 149 | * Sidebar link layout and footer format changes. 150 | * Blog post list now contains only the post description, not the full contents. 151 | * Paginated blog listing. 152 | * [FontAwesome](http://fortawesome.github.io/Font-Awesome) social links. 153 | * ...many other small layout tweaks! 154 | 155 | ### Attribution 156 | 157 | Obviously largely a port of the awesome [Hyde](https://github.com/poole/hyde) theme. 158 | 159 | ### Questions, ideas, bugs, pull requests? 160 | 161 | All feedback is welcome! Head over to the [issue tracker](https://github.com/zyro/hyde-x/issues). 162 | 163 | ### License 164 | 165 | Open sourced under the [MIT license](https://github.com/zyro/hyde-x/blob/master/LICENSE). 166 | -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "" 3 | description = "" 4 | keywords = [] 5 | categories = [] 6 | +++ 7 | -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyro/hyde-x/19bb3b229cd7e3aa7f4f79def7d3f218cb284daf/images/screenshot.png -------------------------------------------------------------------------------- /images/theme-colours.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyro/hyde-x/19bb3b229cd7e3aa7f4f79def7d3f218cb284daf/images/theme-colours.png -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zyro/hyde-x/19bb3b229cd7e3aa7f4f79def7d3f218cb284daf/images/tn.png -------------------------------------------------------------------------------- /layouts/404.html: -------------------------------------------------------------------------------- 1 | {{ partial "head.html" . }} 2 |
What you're looking for isn't here, sorry!
6 | 7 |{{ .Description }}
19 | Read On → 20 | {{ else }} 21 | {{ .Summary }} 22 | {{ if .Truncated }}Read On →{{ end }} 23 | {{ end }} 24 |