diff --git a/themes/hyde/CHANGELOG.md b/themes/hyde/CHANGELOG.md deleted file mode 100644 index 891329a0..00000000 --- a/themes/hyde/CHANGELOG.md +++ /dev/null @@ -1,7 +0,0 @@ -# Changelog - -## Version 1.0 - -- Due to the switch to the base template feature the minimum required version of Hugo changed to v0.21 -- Support for Google Analytics have been added -- Hugo's internal Disqus template replaced the custom one of this theme. The Disqus shortname now has to be defined outsite the `[params]` blog diff --git a/themes/hyde/LICENSE.md b/themes/hyde/LICENSE.md deleted file mode 100644 index c344d146..00000000 --- a/themes/hyde/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -# Released under MIT License - -Copyright (c) 2013 Mark Otto. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/themes/hyde/README.md b/themes/hyde/README.md deleted file mode 100644 index 5fa97e60..00000000 --- a/themes/hyde/README.md +++ /dev/null @@ -1,219 +0,0 @@ -# Hyde - -Hyde is a brazen two-column [hugo](https://gohugo.io) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name. -It pairs a prominent sidebar with uncomplicated content. - - - - -## Contents - -- [Installation](#installation) -- [Options](#options) - - [Sidebar menu](#sidebar-menu) - - [Sidebar description](#sidebar-description) - - [Sticky sidebar content](#sticky-sidebar-content) - - [Themes](#themes) - - [Reverse layout](#reverse-layout) - - [Disqus](#disqus) - - [Google Analytics](#google-analytics) -- [Author](#author) -- [Ported by](#ported-by) -- [License](#license) - - -## Installation - -### Quick Start - -To give you a running start this installation puts a fully configured [starter repo](https://github.com/forestryio/hyde-hugo-starter) into your Git account and sets it up in a content manager / CMS. - -_[Forestry](https://forestry.io) Starter-Kit:_ - -[](https://app.forestry.io/quick-start?repo=forestryio/hyde-hugo-starter&provider=github&engine=hugo&version=0.49) - -### Standard Installation - -To install Hyde as your default theme, first install this repository in the `themes/` directory: - - $ cd themes/ - $ git clone https://github.com/spf13/hyde.git - -Second, specify `hyde` as your default theme in the `config.toml` file. Just add the line - - theme = "hyde" - -at the top of the file. - - -## Options - -Hyde includes some customizable options, typically applied via classes on the `
` element. - - -### Sidebar menu - -Create a list of nav links in the sidebar by assigning "menu=main" in the front matter, like so: - -**TOML** -```toml -theme = "hyde" - -[Menus] - main = [ - {Name = "Github", URL = "https://github.com/username/"}, - {Name = "LinkedIn", URL = "https://www.linkedin.com/in/username/"} - ] -``` - -**YAML** -```yaml -theme: "hyde" - -Menus: - main: - - Name: "Github" - URL: "https://github.com/username/" - - Name: "LinkedIn" - URL: "https://www.linkedin.com/in/username/" -``` - -### Sidebar description -Customise the describe of your page using `description`, like so: - -**TOML** -```toml -theme = "hyde" - -[params] - description = "Your custom description" -``` - -**YAML** -```yaml -theme: "hyde" - -params: - description = "Your custom description" -``` - - -### Sticky sidebar content - -By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disabled this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom. - -```html - - - - - -``` - - -### Themes - -Hyde ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links). - - - -There are eight themes available at this time. - - - -To use a theme, add the `themeColor` variable under `params`, like so: - -**TOML** -```toml -theme = "hyde" - -[params] - themeColor = "theme-base-09" -``` - -**YAML** -```yaml -theme: "hyde" - -params: - themeColor: "theme-base-09" -``` - -To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors. - -### Reverse layout - - - -To reverse page orientation, add the `layoutReverse` variable under `params`, like so: - -**TOML** -```toml -theme = "hyde" - -[params] - layoutReverse = true -``` - -**YAML** -```yaml -theme: "hyde" - -params: - layoutReverse: true -``` - -### Disqus - -You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file. - -**TOML** -```toml -disqusShortname = "spf13" -``` - -**YAML** -```yaml -disqusShortname : spf13 -``` - -> **Note:** Previous version 1.0 the Disqus shortname had to be defined inside the `[params]` block. - - -## Google Analytics - -Google Analytics can be enabled by assigning your tracking code to the `googleAnalytics` variable in the config file: - -**TOML** -```toml -googleAnalytics = "Your tracking code" -``` - -**YAML** -```yaml -googleAnalytics: Your tracking code -``` - -## Author -**Mark Otto** --Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.
-{{- end }} \ No newline at end of file diff --git a/themes/hyde/layouts/_default/baseof.html b/themes/hyde/layouts/_default/baseof.html deleted file mode 100644 index 4fada03a..00000000 --- a/themes/hyde/layouts/_default/baseof.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ partial "head.html" . }} - - {{ partial "sidebar.html" . }} -`, - * or to a parent if there are multiple elements to show. - */ - -.message { - margin-bottom: 1rem; - padding: 1rem; - color: #717171; - background-color: #f9f9f9; -} - - -/* - * Container - * - * Center the page content. - */ - -.container { - max-width: 38rem; - padding-left: 1rem; - padding-right: 1rem; - margin-left: auto; - margin-right: auto; -} - - -/* - * Masthead - * - * Super small header above the content for site name and short description. - */ - -.masthead { - padding-top: 1rem; - padding-bottom: 1rem; - margin-bottom: 3rem; -} -.masthead-title { - margin-top: 0; - margin-bottom: 0; - color: #505050; -} -.masthead-title a { - color: #505050; -} -.masthead-title small { - font-size: 75%; - font-weight: 400; - color: #c0c0c0; - letter-spacing: 0; -} - - -/* - * Posts and pages - * - * Each post is wrapped in `.post` and is used on default and post layouts. Each - * page is wrapped in `.page` and is only used on the page layout. - */ - -.page, -.post { - margin-bottom: 4em; -} - -/* Blog post or page title */ -.page-title, -.post-title, -.post-title a { - color: #303030; -} -.page-title, -.post-title { - margin-top: 0; -} - -/* Meta data line below post title */ -.post-date { - display: block; - margin-top: -.5rem; - margin-bottom: 1rem; - color: #9a9a9a; -} - -/* Related posts */ -.related { - padding-top: 2rem; - padding-bottom: 2rem; - border-top: 1px solid #eee; -} -.related-posts { - padding-left: 0; - list-style: none; -} -.related-posts h3 { - margin-top: 0; -} -.related-posts li small { - font-size: 75%; - color: #999; -} -.related-posts li a:hover { - color: #268bd2; - text-decoration: none; -} -.related-posts li a:hover small { - color: inherit; -} - - -/* - * Pagination - * - * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when - * there are no more previous or next posts to show. - */ - -.pagination { - overflow: hidden; /* clearfix */ - margin-left: -1rem; - margin-right: -1rem; - font-family: "PT Sans", Helvetica, Arial, sans-serif; - color: #ccc; - text-align: center; -} - -/* Pagination items can be `span`s or `a`s */ -.pagination-item { - display: block; - padding: 1rem; - border: 1px solid #eee; -} -.pagination-item:first-child { - margin-bottom: -1px; -} - -/* Only provide a hover state for linked pagination items */ -a.pagination-item:hover { - background-color: #f5f5f5; -} - -@media (min-width: 30em) { - .pagination { - margin: 3rem 0; - } - .pagination-item { - float: left; - width: 50%; - } - .pagination-item:first-child { - margin-bottom: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - } - .pagination-item:last-child { - margin-left: -1px; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - } -} diff --git a/themes/hyde/static/css/print.css b/themes/hyde/static/css/print.css deleted file mode 100644 index da8f1dfe..00000000 --- a/themes/hyde/static/css/print.css +++ /dev/null @@ -1,19 +0,0 @@ -.sidebar { - display: none !important; -} - -.content { - margin: 0 auto; - width: 100%; - float: none; - display: initial; -} - -.container { - width: 100%; - float: none; - display: initial; - padding-left: 1rem; - padding-right: 1rem; - margin: 0 auto; -} diff --git a/themes/hyde/static/css/syntax.css b/themes/hyde/static/css/syntax.css deleted file mode 100644 index 1264b87f..00000000 --- a/themes/hyde/static/css/syntax.css +++ /dev/null @@ -1,66 +0,0 @@ -.hll { background-color: #ffffcc } - /*{ background: #f0f3f3; }*/ -.c { color: #999; } /* Comment */ -.err { color: #AA0000; background-color: #FFAAAA } /* Error */ -.k { color: #006699; } /* Keyword */ -.o { color: #555555 } /* Operator */ -.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */ -.cp { color: #009999 } /* Comment.Preproc */ -.c1 { color: #999; } /* Comment.Single */ -.cs { color: #999; } /* Comment.Special */ -.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */ -.ge { font-style: italic } /* Generic.Emph */ -.gr { color: #FF0000 } /* Generic.Error */ -.gh { color: #003300; } /* Generic.Heading */ -.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */ -.go { color: #AAAAAA } /* Generic.Output */ -.gp { color: #000099; } /* Generic.Prompt */ -.gs { } /* Generic.Strong */ -.gu { color: #003300; } /* Generic.Subheading */ -.gt { color: #99CC66 } /* Generic.Traceback */ -.kc { color: #006699; } /* Keyword.Constant */ -.kd { color: #006699; } /* Keyword.Declaration */ -.kn { color: #006699; } /* Keyword.Namespace */ -.kp { color: #006699 } /* Keyword.Pseudo */ -.kr { color: #006699; } /* Keyword.Reserved */ -.kt { color: #007788; } /* Keyword.Type */ -.m { color: #FF6600 } /* Literal.Number */ -.s { color: #d44950 } /* Literal.String */ -.na { color: #4f9fcf } /* Name.Attribute */ -.nb { color: #336666 } /* Name.Builtin */ -.nc { color: #00AA88; } /* Name.Class */ -.no { color: #336600 } /* Name.Constant */ -.nd { color: #9999FF } /* Name.Decorator */ -.ni { color: #999999; } /* Name.Entity */ -.ne { color: #CC0000; } /* Name.Exception */ -.nf { color: #CC00FF } /* Name.Function */ -.nl { color: #9999FF } /* Name.Label */ -.nn { color: #00CCFF; } /* Name.Namespace */ -.nt { color: #2f6f9f; } /* Name.Tag */ -.nv { color: #003333 } /* Name.Variable */ -.ow { color: #000000; } /* Operator.Word */ -.w { color: #bbbbbb } /* Text.Whitespace */ -.mf { color: #FF6600 } /* Literal.Number.Float */ -.mh { color: #FF6600 } /* Literal.Number.Hex */ -.mi { color: #FF6600 } /* Literal.Number.Integer */ -.mo { color: #FF6600 } /* Literal.Number.Oct */ -.sb { color: #CC3300 } /* Literal.String.Backtick */ -.sc { color: #CC3300 } /* Literal.String.Char */ -.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */ -.s2 { color: #CC3300 } /* Literal.String.Double */ -.se { color: #CC3300; } /* Literal.String.Escape */ -.sh { color: #CC3300 } /* Literal.String.Heredoc */ -.si { color: #AA0000 } /* Literal.String.Interpol */ -.sx { color: #CC3300 } /* Literal.String.Other */ -.sr { color: #33AAAA } /* Literal.String.Regex */ -.s1 { color: #CC3300 } /* Literal.String.Single */ -.ss { color: #FFCC33 } /* Literal.String.Symbol */ -.bp { color: #336666 } /* Name.Builtin.Pseudo */ -.vc { color: #003333 } /* Name.Variable.Class */ -.vg { color: #003333 } /* Name.Variable.Global */ -.vi { color: #003333 } /* Name.Variable.Instance */ -.il { color: #FF6600 } /* Literal.Number.Integer.Long */ - -.css .o, -.css .o + .nt, -.css .nt + .nt { color: #999; } diff --git a/themes/hyde/static/favicon.png b/themes/hyde/static/favicon.png deleted file mode 100644 index 84cce4dd..00000000 Binary files a/themes/hyde/static/favicon.png and /dev/null differ diff --git a/themes/hyde/theme.toml b/themes/hyde/theme.toml deleted file mode 100644 index a6cdeae6..00000000 --- a/themes/hyde/theme.toml +++ /dev/null @@ -1,17 +0,0 @@ -name = "Hyde" -license = "MIT" -licenselink = "https://github.com/spf13/hyde/blob/master/LICENSE.md" -description = "An elegant open source and mobile first theme" -tags = ["blog", "company"] -features = ["blog", "themes", "disqus"] -min_version = 0.53 - -[author] - name = "spf13" - homepage = "http://spf13.com" - -# If Porting existing theme -[original] - author = "mdo" - homepage = "http://markdotto.com/" - repo = "https://www.github.com/mdo/hyde"