Compare commits
No commits in common. "master" and "v1.3.0" have entirely different histories.
102
README.md
@ -1,15 +1,97 @@
|
||||
# Odin
|
||||
|
||||
Forked from Andrea Tarquini's theme, with a few tweaks and additions (primarily, search) that suit the LinuxServer site.
|
||||

|
||||
[](https://www.paypal.me/andreatarquini/5)
|
||||
|
||||
> A simple theme for Ghost made for geeks, hackers and developers (forked from Casper).
|
||||
|
||||
[<img src="http://i.imgur.com/SjCzgwp.jpg">](https://blog.h4t0n.com)
|
||||
|
||||
***Do you like my theme? Do you want new features?***
|
||||
Great, we can discuss. Open an issue. Some :coffee::coffee::coffee::coffee: offered with [Paypal](https://www.paypal.me/andreatarquini/5) are appreciated.
|
||||
|
||||
## Intro
|
||||
**Odin** is a very simple fork of the Ghost default theme [Casper](https://github.com/TryGhost/Casper).
|
||||
As you know, Casper doesn't have some nice features very useful for developers such as syntax
|
||||
highlight, comments and big social sharing features. So I created this theme to fill the gap
|
||||
but keeping all the good and minimalistic features of Casper.
|
||||
|
||||
|
||||
|
||||
### Features
|
||||
* Casper minimalistic and clean style (without right side menu)
|
||||
* Works with Ghost 0.7+
|
||||
* Fully responsive (for mobiles and tablets)
|
||||
* Home Page Navigation Menu Buttons
|
||||
* Google Analytics (easily configurable by code injection in the admin area)
|
||||
* [Disqus](https://disqus.com) comments (easily configurable by code injection in the admin area)
|
||||
* [Prism](http://prismjs.com/) Syntax Highlight (all languages supported)
|
||||
* [RRSSB](https://github.com/kni-labs/rrssb) Extraordinary Social Sharing Buttons
|
||||
* [Font Awesome](http://fontawesome.io) home page Social Link Icons (easily configurable by code injection in the admin area)
|
||||
|
||||
### Demo
|
||||
I've created and I use this theme for my personal blog at [blog.h4t0n.com](https://blog.h4t0n.com).
|
||||
|
||||
## Installation
|
||||
Installation is the same as other themes, so clone or download the content of this repo inside your Ghost `content/themes/` folder.
|
||||
|
||||
```
|
||||
# for example
|
||||
$ cd /your-ghost-root-directory
|
||||
$ git clone https://github.com/h4t0n/odin.git content/themes/odin
|
||||
```
|
||||
|
||||
Restart Ghost and select Odin theme from your Admin Area.
|
||||
|
||||
## Configuration
|
||||
No need to configure ***Prism*** or ***RRSSB*** buttons.
|
||||
|
||||
To add Homepage Navigation Menu Buttons simply add the links in your Navigation Admin Area. They may be useful for static pages (*AboutMe* for example) or for shortcut to your (best) post tags.
|
||||
|
||||
Odin comes with a default ***favicon*** generated with [Real Favicon Generator](http://realfavicongenerator.net). If you want to add your *favicon* you can generate your own (with [Real Favicon Generator](http://realfavicongenerator.net)) and place downloaded files inside the ***assets/img/favicons*** Odin directory.
|
||||
|
||||
***Disqus*** comments, ***Google Analytics*** and ***Font Awesome Home Page Social Link Icons*** are disabled by default, but they are easily configurable with *Blog Header Code Injection* inside your Ghost Admin Area.
|
||||
|
||||
```html
|
||||
<script>
|
||||
// to enable Google Analytics
|
||||
var ga_id = 'YOUR-UA-ID_HERE';
|
||||
|
||||
// to enable Disqus
|
||||
var disqus_shortname = 'YOUR_DISQUS_SHORTNAME'
|
||||
|
||||
|
||||
// to enable Social Link Icons add the social_link object
|
||||
// with the pair key/value -> social_network/link
|
||||
// NB: the key is used to include the right icon from Font Awesome
|
||||
// (you can include any Font Awesome icon)
|
||||
|
||||
// Example1: default social network icons
|
||||
var social_link = {
|
||||
'twitter': 'https://twitter.com/h4t0n',
|
||||
'linkedin': 'https://it.linkedin.com/in/andreatarquini',
|
||||
'github': 'https://github.com/h4t0n',
|
||||
'rss':'https://blog.h4t0n.com/rss/'
|
||||
// you can add more icons
|
||||
}
|
||||
|
||||
// Example2: squared social network icons
|
||||
var social_link = {
|
||||
'twitter-square': 'https://twitter.com/h4t0n',
|
||||
'linkedin-square': 'https://it.linkedin.com/in/andreatarquini',
|
||||
'github-square': 'https://github.com/h4t0n',
|
||||
'rss':'https://blog.h4t0n.com/rss/'
|
||||
// you can add more icons
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Copyright & License
|
||||
|
||||
- Copyright (c) 2016 [LinuxServer](https://www.linuxserver.io)
|
||||
- Copyright (c) 2016 [Andrea Tarquini](https://blog.h4t0n.com) aka [@h4ton](https://twitter.com/h4t0n)
|
||||
- Copyright (c) 2013-2015 Ghost Foundation (for Casper theme substantial portions of code)
|
||||
|
||||
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.
|
||||
Released under the MIT License.
|
||||
Copyright (c) 2016 [Andrea Tarquini](https://blog.h4t0n.com) aka [@h4ton](https://twitter.com/h4t0n)
|
||||
Copyright (c) 2013-2015 Ghost Foundation (for Casper theme substantial portions of code)
|
||||
|
||||
@ -146,191 +146,3 @@
|
||||
color: black;
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
/*
|
||||
Changes by linuxserver (c) 2016
|
||||
===============================
|
||||
*/
|
||||
|
||||
body {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
header.main-header {
|
||||
max-height: 450px;
|
||||
}
|
||||
|
||||
header.main-header.post-header {
|
||||
max-height: 350px;
|
||||
}
|
||||
|
||||
/*header.post-header section.post-meta a {
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
padding: 1px 6px;
|
||||
border-radius: 5px;
|
||||
background-color: #9EABB3;
|
||||
}*/
|
||||
|
||||
header div.search form div.search-fields {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
header div.search form div.search-fields i {
|
||||
position: absolute;
|
||||
right: 13px;
|
||||
top: 11px;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
}
|
||||
|
||||
header div.search form input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
header div.search form div.search-fields {
|
||||
opacity: 0.8;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
transition: all 0.2s ease-in-out;
|
||||
background-color: #FFF;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
header div.search form div.search-fields:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
header div.search form div.search-fields:focus,
|
||||
header div.search form input:focus {
|
||||
opacity: 1;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.home-template .main-header:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 0 1em 0 1.75em;
|
||||
font-size: 20px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.menu ul li a {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.main-header {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
section#results {
|
||||
background-color: #fff;
|
||||
border-radius: 3px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
section#results div.single-result {
|
||||
border-bottom: 1px solid #e5e6e9;
|
||||
font-family: "Open Sans";
|
||||
border: 1px solid;
|
||||
border-color: #e5e6e9 #dfe0e4 #d0d1d5;
|
||||
margin-bottom: 1px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
section#results div.single-result a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
section#results div.single-result a:hover {
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
||||
ul.rrssb-buttons {
|
||||
width: 180px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.post-header.social-share {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
pre, pre[class*="language-"] {
|
||||
margin: 0.5em 0 2em 0;
|
||||
}
|
||||
|
||||
.archive-template .main-header {
|
||||
max-height: 450px;
|
||||
}
|
||||
|
||||
.post-comments {
|
||||
font-family: "Helvetica Neue",arial,sans-serif;
|
||||
}
|
||||
|
||||
.read-next + .site-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
position: relative;
|
||||
background-color: #222;
|
||||
color: #FFF;
|
||||
padding: 1rem 15px 0;
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.site-footer section {
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.site-footer section.copyright, .site-footer section.poweredby {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.site-footer section.digitalocean {
|
||||
width: 33%;
|
||||
text-align: center;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.site-footer img#powered-by-do {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.postit {
|
||||
|
||||
padding: 1.5rem;
|
||||
border-radius: 2px;
|
||||
margin: 25px 0;
|
||||
font-family: monospace;
|
||||
text-rendering: geometricPrecision;
|
||||
}
|
||||
|
||||
.postit.postit-note {
|
||||
background-color: #e7f2fa;
|
||||
}
|
||||
|
||||
.postit.postit-warning {
|
||||
background-color: #ffedcc;
|
||||
}
|
||||
|
||||
.postit.postit-alert {
|
||||
background-color: #ff8e8e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
4
assets/css/font-awesome.min.css
vendored
BIN
assets/img/favicons/android-chrome-144x144.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
assets/img/favicons/android-chrome-36x36.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/img/favicons/android-chrome-48x48.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/img/favicons/android-chrome-72x72.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/img/favicons/android-chrome-96x96.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
assets/img/favicons/apple-touch-icon-114x114.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/img/favicons/apple-touch-icon-120x120.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
assets/img/favicons/apple-touch-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/img/favicons/apple-touch-icon-152x152.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/img/favicons/apple-touch-icon-180x180.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
assets/img/favicons/apple-touch-icon-57x57.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/img/favicons/apple-touch-icon-60x60.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/img/favicons/apple-touch-icon-72x72.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/img/favicons/apple-touch-icon-76x76.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/img/favicons/apple-touch-icon-precomposed.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.4 KiB |
@ -2,7 +2,10 @@
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<square70x70logo src="/assets/img/favicons/mstile-70x70.png"/>
|
||||
<square150x150logo src="/assets/img/favicons/mstile-150x150.png"/>
|
||||
<square310x310logo src="/assets/img/favicons/mstile-310x310.png"/>
|
||||
<wide310x150logo src="/assets/img/favicons/mstile-310x150.png"/>
|
||||
<TileColor>#da532c</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
|
||||
|
Before Width: | Height: | Size: 977 B After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 971 B |
BIN
assets/img/favicons/favicon-96x96.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -1,12 +1,41 @@
|
||||
{
|
||||
"name": "LinuxServer.io",
|
||||
"name": "Odin",
|
||||
"icons": [
|
||||
{
|
||||
"src": "\/android-chrome-192x192.png",
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-36x36.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image\/png",
|
||||
"density": 0.75
|
||||
},
|
||||
{
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-48x48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image\/png",
|
||||
"density": 1
|
||||
},
|
||||
{
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image\/png",
|
||||
"density": 1.5
|
||||
},
|
||||
{
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image\/png",
|
||||
"density": 2
|
||||
},
|
||||
{
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image\/png",
|
||||
"density": 3
|
||||
},
|
||||
{
|
||||
"src": "\/assets\/img\/favicons\/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image\/png"
|
||||
"type": "image\/png",
|
||||
"density": 4
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
]
|
||||
}
|
||||
|
||||
BIN
assets/img/favicons/mstile-144x144.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.6 KiB |
BIN
assets/img/favicons/mstile-310x150.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
assets/img/favicons/mstile-310x310.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
assets/img/favicons/mstile-70x70.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
@ -2,25 +2,86 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="250.000000pt" viewBox="0 0 250.000000 250.000000"
|
||||
width="1024.000000pt" height="1024.000000pt" viewBox="0 0 1024.000000 1024.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.11, written by Peter Selinger 2001-2013
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M1090 1250 l0 -1248 129 1 129 0 1 1244 c1 683 -2 1244 -6 1244 -5 1
|
||||
-63 3 -130 5 l-123 2 0 -1248z"/>
|
||||
<path d="M1880 2094 c-147 -39 -251 -153 -283 -309 -26 -126 -10 -262 43 -366
|
||||
43 -84 81 -129 224 -268 229 -223 252 -247 275 -296 29 -59 38 -148 21 -200
|
||||
-27 -82 -108 -135 -184 -121 -79 15 -152 134 -160 261 -1 9 -62 9 -166 0 -14
|
||||
-1 -42 -3 -63 -4 -21 0 -36 -4 -34 -8 3 -5 8 -35 12 -68 19 -170 120 -332 242
|
||||
-390 97 -46 261 -56 369 -21 129 40 238 176 260 323 22 147 0 255 -80 388 -58
|
||||
97 -112 156 -262 287 -185 160 -253 295 -221 440 20 93 113 145 194 108 44
|
||||
-19 88 -90 99 -158 8 -48 -8 -47 159 -16 125 24 115 14 98 92 -37 164 -125
|
||||
268 -268 317 -67 23 -205 27 -275 9z"/>
|
||||
<path d="M104 2081 c-2 -2 -4 -403 -4 -891 l0 -887 367 1 368 1 0 133 c0 111
|
||||
-2 132 -15 133 -8 0 -113 1 -232 1 l-218 0 0 757 0 756 -131 0 c-72 0 -132 -2
|
||||
-135 -4z"/>
|
||||
<path d="M9831 9922 c-32 -18 -66 -60 -148 -183 -177 -263 -432 -498 -743
|
||||
-684 -94 -57 -225 -126 -235 -124 -4 0 -17 -6 -30 -15 -33 -22 -201 -88 -318
|
||||
-125 -94 -29 -310 -78 -352 -79 -76 -3 -333 -1 -392 3 -106 6 -191 24 -245 51
|
||||
-82 41 -79 30 15 -68 114 -120 159 -168 217 -238 30 -35 61 -71 69 -79 7 -8
|
||||
39 -49 70 -90 31 -42 59 -77 64 -79 4 -2 7 -10 7 -17 0 -7 3 -15 8 -17 14 -6
|
||||
215 -318 205 -318 -3 0 1 -8 10 -17 21 -24 143 -264 196 -388 48 -112 98 -214
|
||||
113 -232 7 -9 19 -9 51 2 304 96 596 271 817 487 80 78 172 182 184 208 5 11
|
||||
12 20 17 20 8 0 149 215 149 229 0 5 4 11 8 13 9 4 109 205 146 295 101 245
|
||||
197 630 233 928 2 22 6 54 8 70 25 185 24 371 -1 414 -27 45 -76 58 -123 33z"/>
|
||||
<path d="M403 9835 c-82 -35 -88 -186 -23 -575 11 -63 24 -130 29 -148 5 -18
|
||||
10 -35 10 -37 2 -24 31 -141 53 -220 11 -38 20 -71 20 -72 -1 -2 5 -18 14 -38
|
||||
8 -19 11 -35 8 -35 -4 0 -2 -6 3 -12 6 -7 20 -44 33 -83 12 -38 26 -74 31 -80
|
||||
5 -5 9 -15 9 -23 0 -11 24 -61 134 -279 6 -13 14 -23 19 -23 4 0 7 -5 7 -11 0
|
||||
-34 198 -284 316 -401 236 -232 491 -386 842 -508 l83 -29 11 27 c6 15 16 41
|
||||
23 57 29 68 44 106 45 113 2 11 230 455 240 467 4 6 23 37 41 70 78 145 231
|
||||
345 403 529 80 86 171 189 180 204 10 17 11 17 -84 -16 -154 -53 -426 -63
|
||||
-630 -22 -30 6 -66 13 -80 16 -231 44 -571 188 -805 342 -279 182 -459 353
|
||||
-695 656 -99 127 -163 163 -237 131z"/>
|
||||
<path d="M5039 9266 c-2 -2 -40 -7 -84 -10 -101 -9 -162 -15 -194 -21 -13 -2
|
||||
-45 -7 -70 -11 -153 -22 -477 -113 -606 -170 -22 -10 -42 -18 -45 -19 -34 -6
|
||||
-399 -201 -420 -225 -3 -3 -25 -18 -50 -34 -80 -51 -230 -170 -323 -256 -243
|
||||
-223 -445 -470 -598 -730 -18 -30 -35 -57 -38 -60 -5 -4 -55 -97 -118 -220
|
||||
-29 -56 -103 -219 -103 -227 0 -3 -6 -19 -14 -36 -73 -166 -217 -633 -242
|
||||
-787 -2 -14 -7 -36 -10 -50 -10 -41 -13 -60 -18 -104 -3 -22 -8 -52 -11 -65
|
||||
-14 -69 -21 -247 -12 -292 8 -43 64 -72 222 -114 55 -15 107 -29 115 -32 8 -3
|
||||
24 -7 35 -8 11 -2 56 -11 100 -20 44 -9 91 -19 105 -21 14 -2 48 -9 75 -14 28
|
||||
-5 66 -12 85 -15 90 -14 219 -34 260 -39 25 -3 56 -8 70 -10 14 -3 86 -12 160
|
||||
-21 74 -9 146 -18 160 -20 14 -2 58 -7 99 -10 41 -4 82 -8 91 -10 9 -2 55 -6
|
||||
101 -9 46 -4 98 -8 114 -11 17 -2 71 -6 120 -10 50 -3 110 -8 135 -10 311 -28
|
||||
1691 -28 2130 0 72 4 283 22 355 29 22 2 74 7 115 11 41 3 86 8 100 10 14 2
|
||||
53 7 88 10 35 4 71 8 80 10 9 1 46 6 82 10 36 4 68 9 71 10 3 2 37 7 75 10 38
|
||||
4 71 8 74 10 3 2 26 6 50 10 399 55 751 152 820 224 23 24 27 35 24 77 -4 70
|
||||
-13 147 -29 239 -3 17 -8 44 -10 61 -2 16 -18 97 -35 180 -113 542 -302 1015
|
||||
-573 1434 -20 30 -40 60 -44 65 -5 6 -29 39 -53 75 -25 36 -48 67 -51 70 -3 3
|
||||
-23 28 -44 55 -20 28 -40 52 -44 55 -3 3 -24 28 -46 55 -37 47 -280 293 -321
|
||||
325 -10 9 -50 40 -89 71 -195 155 -433 293 -655 379 -47 18 -94 36 -105 41
|
||||
-21 9 -183 57 -212 64 -33 7 -158 36 -173 39 -8 2 -51 9 -95 16 -44 7 -87 13
|
||||
-95 15 -8 1 -49 6 -90 10 -41 4 -91 9 -110 11 -49 6 -277 14 -281 10z"/>
|
||||
<path d="M7718 5476 c-1 -2 -31 -7 -66 -10 -34 -4 -86 -11 -115 -17 -29 -5
|
||||
-68 -12 -87 -15 -19 -3 -73 -12 -120 -21 -47 -8 -96 -17 -110 -18 -14 -1 -34
|
||||
-5 -45 -8 -11 -3 -40 -9 -65 -12 -25 -3 -52 -8 -60 -10 -8 -2 -31 -7 -50 -10
|
||||
-66 -10 -130 -27 -135 -36 -3 -4 5 -13 17 -20 41 -21 85 -79 133 -178 80 -162
|
||||
80 -158 80 -496 0 -337 -4 -393 -35 -485 -110 -326 -316 -505 -590 -514 -193
|
||||
-6 -408 58 -619 186 -34 21 -65 38 -67 38 -3 0 -51 31 -107 69 l-103 69 -29
|
||||
-47 c-63 -103 -182 -189 -305 -221 -73 -20 -206 -15 -274 9 -88 31 -135 62
|
||||
-204 135 -34 36 -64 66 -66 66 -3 0 -54 -33 -113 -72 -112 -75 -134 -88 -243
|
||||
-143 -126 -64 -242 -107 -319 -120 -19 -3 -38 -8 -43 -11 -18 -11 -210 -13
|
||||
-260 -3 -63 13 -137 38 -158 54 -8 6 -28 17 -45 25 -16 8 -61 47 -100 85 -230
|
||||
231 -335 724 -250 1174 30 155 110 326 172 366 13 9 21 20 18 24 -9 16 -94 26
|
||||
-290 36 -129 7 -160 10 -215 18 -19 3 -82 13 -140 21 -149 23 -243 42 -296 63
|
||||
-14 5 -16 0 -11 -38 5 -37 22 -121 43 -219 24 -112 36 -169 39 -190 2 -14 10
|
||||
-63 19 -110 9 -47 18 -103 21 -125 3 -22 10 -62 15 -90 8 -48 21 -141 25 -196
|
||||
2 -15 5 -44 9 -65 10 -71 25 -240 40 -454 4 -47 9 -114 11 -150 3 -36 7 -111
|
||||
10 -166 2 -56 7 -135 9 -175 6 -81 16 -239 21 -334 8 -141 33 -389 50 -500 44
|
||||
-292 137 -547 274 -754 75 -114 79 -118 216 -256 180 -180 375 -312 684 -462
|
||||
95 -47 179 -86 185 -87 6 -1 28 -10 50 -19 21 -9 40 -17 43 -17 2 0 23 -9 46
|
||||
-19 38 -17 350 -127 387 -136 8 -2 78 -23 155 -45 397 -116 435 -117 795 -9
|
||||
492 148 833 315 1136 556 256 204 460 456 604 748 53 108 135 310 145 359 3
|
||||
11 11 40 19 65 13 41 43 151 51 191 18 85 45 234 50 270 3 25 8 52 10 60 2 8
|
||||
7 42 10 75 3 33 7 83 10 110 6 62 13 136 20 240 3 44 7 103 10 130 2 28 7 109
|
||||
10 180 4 72 8 159 11 195 2 36 6 121 9 190 3 69 7 154 10 190 2 36 7 124 10
|
||||
195 4 72 8 146 10 165 2 19 6 82 10 140 5 98 8 127 20 248 17 170 23 210 35
|
||||
267 5 22 10 45 10 51 0 11 -24 26 -32 20z m-2396 -2260 c88 -5 192 -30 238
|
||||
-57 9 -5 -162 -8 -410 -8 -386 0 -421 2 -385 15 22 8 60 20 85 25 25 6 54 13
|
||||
65 15 28 7 233 19 275 17 19 -1 79 -4 132 -7z"/>
|
||||
<path d="M6257 5195 c-1 -2 -47 -6 -101 -9 -55 -4 -102 -9 -105 -11 -3 -1 -23
|
||||
-6 -44 -9 -21 -3 -47 -11 -58 -16 -10 -6 -19 -8 -19 -6 0 12 -157 -67 -195
|
||||
-98 -69 -57 -185 -246 -185 -303 0 -33 31 -38 250 -38 310 0 453 24 625 104
|
||||
122 58 175 117 200 226 11 46 11 82 0 112 -8 24 -113 44 -240 47 -69 1 -126 2
|
||||
-128 1z"/>
|
||||
<path d="M3750 5162 c-64 -8 -131 -34 -139 -53 -10 -29 3 -129 24 -172 21 -46
|
||||
70 -97 121 -129 40 -25 161 -76 192 -81 9 -1 22 -5 27 -8 6 -4 26 -9 45 -13
|
||||
19 -3 46 -8 60 -11 22 -4 70 -9 191 -20 115 -11 361 -4 407 10 54 18 -96 282
|
||||
-201 352 -51 34 -184 89 -238 98 -19 3 -45 8 -59 10 -75 15 -359 26 -430 17z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 5.8 KiB |
5
assets/js/jquery-1.11.3.min.js
vendored
1
assets/js/jquery.ghostHunter.min.js
vendored
92
default.hbs
@ -13,26 +13,34 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
{{! Favicon }}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset "img/favicons/apple-touch-icon.png"}}">
|
||||
<link rel="icon" type="image/png" href="{{asset "img/favicons/favicon-16x16.png"}}" sizes="16x16">
|
||||
<link rel="icon" type="image/png" href="{{asset "img/favicons/favicon-32x32.png"}}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{asset "img/favicons/favicon-96x96.png"}}" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="{{asset "img/favicons/android-chrome-192x192.png"}}" sizes="192x192">
|
||||
<link rel="manifest" href="{{asset "img/favicons/manifest.json"}}">
|
||||
<link rel="mask-icon" href="{{asset "img/favicons/safari-pinned-tab.svg"}}" color="#5bbad5">
|
||||
<link rel="shortcut icon" href="{{asset "img/favicons/favicon.ico"}}">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/assets/img/favicons/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/assets/img/favicons/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicons/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/assets/img/favicons/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicons/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/assets/img/favicons/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/assets/img/favicons/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/assets/img/favicons/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="/assets/img/favicons/manifest.json">
|
||||
<link rel="mask-icon" href="/assets/img/favicons/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="msapplication-TileImage" content="{{asset "img/favicons/mstile-150x150.png"}}">
|
||||
<meta name="msapplication-config" content="{{asset "img/favicons/browserconfig.xml"}}">
|
||||
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
{{! Styles'n'Scripts }}
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/custom.css"}}" />
|
||||
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/prism.css"}}" />
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/rrssb.css"}}" />
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/custom.css"}}" />
|
||||
|
||||
{{! Ghost outputs important style and meta data with this tag }}
|
||||
{{ghost_head}}
|
||||
@ -47,16 +55,13 @@
|
||||
|
||||
<footer class="site-footer clearfix">
|
||||
<section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> © {{date format="YYYY"}}</section>
|
||||
<section class="digitalocean"><a href="https://www.digitalocean.com/" target="_blank"><img src="/content/images/2017/05/DO_Powered_by_Badge_white-11f6559e.png" width="120px" id="powered-by-do" /></a></section>
|
||||
<section class="poweredby"><a href="https://github.com/linuxserver/odin">Odin (linuxserver)</a> theme created by Andrea Tarquini (<a href="https://twitter.com/h4t0n">@h4t0n</a>), forked and modified by linuxserver.</section>
|
||||
<section class="poweredby"><a href="https://github.com/h4t0n/odin">Odin</a> theme created by Andrea Tarquini (<a href="https://twitter.com/h4t0n">@h4t0n</a>). Proudly published with <a href="https://ghost.org">Ghost</a></section>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}}
|
||||
<script type="text/javascript" src="{{asset "js/jquery-1.11.3.min.js"}}"></script>
|
||||
<script src="{{asset "js/jquery.ghostHunter.min.js"}}"></script>
|
||||
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
|
||||
{{! Ghost outputs important scripts and data with this tag }}
|
||||
{{ghost_foot}}
|
||||
|
||||
@ -71,9 +76,13 @@
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
$('.rrssb-buttons').rrssb({
|
||||
// required:
|
||||
title: '{{post.title}}',
|
||||
url: '{{@blog.url}}{{post.url}}',
|
||||
description: '{{post.title}}'
|
||||
|
||||
// optional:
|
||||
description: '{{post.title}}',
|
||||
// emailBody: 'Usually email body is just the description + url, but you can customize it if you want'
|
||||
});
|
||||
|
||||
});
|
||||
@ -93,27 +102,6 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{{! If Piwik is the tracker of choice }}
|
||||
<script type="text/javascript">
|
||||
|
||||
if (window.piwik_id && window.piwik_url) {
|
||||
var _paq = _paq || [];
|
||||
|
||||
if (window.piwik_domains) {
|
||||
_paq.push(["setDomains", window.piwik_domains]);
|
||||
}
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u=window.piwik_url;
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', window.piwik_id]);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
}
|
||||
</script>
|
||||
|
||||
{{! Activate Social Links }}
|
||||
<script>
|
||||
if(window.social_link){
|
||||
@ -133,29 +121,5 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$("#search-field").on('keyup', function() {
|
||||
if ($.trim($(this).val().length) > 0) {
|
||||
$('#clear-search').show();
|
||||
} else {
|
||||
$('#clear-search').hide();
|
||||
}
|
||||
});
|
||||
|
||||
$(".search").on('blur', function() {
|
||||
clearResults();
|
||||
$('#clear-search').hide()
|
||||
});
|
||||
|
||||
$('#clear-search').on('click', function() {
|
||||
$(this).hide();
|
||||
clearResults();
|
||||
});
|
||||
|
||||
function clearResults() {
|
||||
searchField.clear();
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
16
index.hbs
@ -7,32 +7,18 @@
|
||||
|
||||
<div class="vertical">
|
||||
<div class="main-header-content inner">
|
||||
|
||||
{{#if @blog.logo}}
|
||||
<div class="blog-logo">
|
||||
<img src="{{@blog.logo}}" alt="{{@blog.title}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<h1 class="page-title">{{@blog.title}}</h1>
|
||||
<h2 class="page-description">{{@blog.description}}</h2>
|
||||
{{navigation}}
|
||||
{{> "social_link"}}
|
||||
|
||||
{{! Searching }}
|
||||
<div class="search">
|
||||
<form>
|
||||
<div class="search-fields">
|
||||
<input placeholder="Search..." id="search-field" />
|
||||
<i class="fa fa-times-circle" id="clear-search"></i>
|
||||
</div>
|
||||
</form>
|
||||
<section id="results"></section>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a class="scroll-down icon-arrow-left" href="#content" data-offset="-45"><span class="hidden">Scroll Down</span></a>
|
||||
</header>
|
||||
|
||||
{{! The main content area on the homepage }}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"name": "Odin-linuxserver",
|
||||
"version": "1.4.3"
|
||||
"name": "Odin",
|
||||
"version": "1.3.0"
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
||||
</header>
|
||||
<section class="post-excerpt">
|
||||
<p>{{excerpt words="42"}} <a class="read-more" href="{{url}}">»</a></p>
|
||||
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
||||
</section>
|
||||
<footer class="post-meta">
|
||||
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
|
||||
|
||||
@ -1,4 +1,17 @@
|
||||
<ul class="rrssb-buttons clearfix">
|
||||
<li class="rrssb-email">
|
||||
|
||||
<!-- Replace subject with your message using URL Endocding: http://meyerweb.com/eric/tools/dencoder/ -->
|
||||
<a>
|
||||
<span class="rrssb-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
|
||||
<path d="M20.11 26.147c-2.335 1.05-4.36 1.4-7.124 1.4C6.524 27.548.84 22.916.84 15.284.84 7.343 6.602.45 15.4.45c6.854 0 11.8 4.7 11.8 11.252 0 5.684-3.193 9.265-7.398 9.3-1.83 0-3.153-.934-3.347-2.997h-.077c-1.208 1.986-2.96 2.997-5.023 2.997-2.532 0-4.36-1.868-4.36-5.062 0-4.75 3.503-9.07 9.11-9.07 1.713 0 3.7.4 4.6.972l-1.17 7.203c-.387 2.298-.115 3.3 1 3.4 1.674 0 3.774-2.102 3.774-6.58 0-5.06-3.27-8.994-9.304-8.994C9.05 2.87 3.83 7.545 3.83 14.97c0 6.5 4.2 10.2 10 10.202 1.987 0 4.09-.43 5.647-1.245l.634 2.22zM16.647 10.1c-.31-.078-.7-.155-1.207-.155-2.572 0-4.596 2.53-4.596 5.53 0 1.5.7 2.4 1.9 2.4 1.44 0 2.96-1.83 3.31-4.088l.592-3.72z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="rrssb-text">email</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="rrssb-twitter">
|
||||
<!-- Replace href with your Meta and URL information -->
|
||||
@ -28,6 +41,20 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="rrssb-linkedin">
|
||||
<!-- Replace href with your meta and URL information -->
|
||||
<a class="popup">
|
||||
<span class="rrssb-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28">
|
||||
<path d="M25.424 15.887v8.447h-4.896v-7.882c0-1.98-.71-3.33-2.48-3.33-1.354 0-2.158.91-2.514 1.802-.13.315-.162.753-.162 1.194v8.216h-4.9s.067-13.35 0-14.73h4.9v2.087c-.01.017-.023.033-.033.05h.032v-.05c.65-1.002 1.812-2.435 4.414-2.435 3.222 0 5.638 2.106 5.638 6.632zM5.348 2.5c-1.676 0-2.772 1.093-2.772 2.54 0 1.42 1.066 2.538 2.717 2.546h.032c1.71 0 2.77-1.132 2.77-2.546C8.056 3.593 7.02 2.5 5.344 2.5h.005zm-2.48 21.834h4.896V9.604H2.867v14.73z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="rrssb-text">linkedin</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="rrssb-reddit">
|
||||
<a>
|
||||
<span class="rrssb-icon">
|
||||
@ -53,4 +80,28 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="rrssb-googleplus">
|
||||
<!-- Replace href with your meta and URL information. -->
|
||||
<a class="popup">
|
||||
<span class="rrssb-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M21 8.29h-1.95v2.6h-2.6v1.82h2.6v2.6H21v-2.6h2.6v-1.885H21V8.29zM7.614 10.306v2.925h3.9c-.26 1.69-1.755 2.925-3.9 2.925-2.34 0-4.29-2.016-4.29-4.354s1.885-4.353 4.29-4.353c1.104 0 2.014.326 2.794 1.105l2.08-2.08c-1.3-1.17-2.924-1.883-4.874-1.883C3.65 4.586.4 7.835.4 11.8s3.25 7.212 7.214 7.212c4.224 0 6.953-2.988 6.953-7.082 0-.52-.065-1.104-.13-1.624H7.614z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="rrssb-text">google+</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="rrssb-pocket">
|
||||
<a>
|
||||
<span class="rrssb-icon">
|
||||
<svg width="32" height="28" viewBox="0 0 32 28" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M28.782.002c2.03.002 3.193 1.12 3.182 3.106-.022 3.57.17 7.16-.158 10.7-1.09 11.773-14.588 18.092-24.6 11.573C2.72 22.458.197 18.313.057 12.937c-.09-3.36-.05-6.72-.026-10.08C.04 1.113 1.212.016 3.02.008 7.347-.006 11.678.004 16.006.002c4.258 0 8.518-.004 12.776 0zM8.65 7.856c-1.262.135-1.99.57-2.357 1.476-.392.965-.115 1.81.606 2.496 2.453 2.334 4.91 4.664 7.398 6.966 1.086 1.003 2.237.99 3.314-.013 2.407-2.23 4.795-4.482 7.17-6.747 1.203-1.148 1.32-2.468.365-3.426-1.01-1.014-2.302-.933-3.558.245-1.596 1.497-3.222 2.965-4.75 4.526-.706.715-1.12.627-1.783-.034-1.597-1.596-3.25-3.138-4.93-4.644-.47-.42-1.123-.647-1.478-.844z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="rrssb-text">pocket</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
9
post.hbs
@ -30,6 +30,10 @@
|
||||
{{content}}
|
||||
</section>
|
||||
|
||||
<section class="social-share">
|
||||
{{> "social_share"}}
|
||||
</section>
|
||||
|
||||
<footer class="post-footer">
|
||||
|
||||
{{! Everything inside the #author tags pulls data from the author }}
|
||||
@ -58,13 +62,13 @@
|
||||
{{/author}}
|
||||
|
||||
|
||||
{{#if published_at}}
|
||||
|
||||
<section class="post-comments">
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
// required: replace example with your forum shortname
|
||||
if(disqus_shortname && typeof disqus_shortname === "string") {
|
||||
var disqus_identifier = 'lsio{{id}}';
|
||||
var disqus_identifier = '{{post.id}}';
|
||||
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
@ -76,7 +80,6 @@
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
</footer>
|
||||
|
||||
|
||||