Browse Source

update

pull/3/head
Julian Ćwirko 10 years ago
parent
commit
4471cd6aac
  1. 7
      README.md
  2. 2
      assets/css/style.css
  3. 11
      assets/scss/style.scss
  4. 2
      package.json
  5. 29
      post.hbs

7
README.md

@ -6,6 +6,9 @@
abc theme is a free open source Ghost theme (MIT license).
You can use it as you like. If you want you can show me what you have build on it.
#### Note
Remember to change your `disqus_shortname` variable in `partials/disqus.hbs` file!
#### Blog post about ABC theme:
[Ghost theming with Zurb Foundation and SCSS](http://julian.io/ghost-theming-with-zurb-foundation-and-scss/)
@ -55,6 +58,10 @@ Just use standard Ghost admin panel settings.
#### Changelog
##### 1.5.0 (19.04.2015)
- Prev/Next post feature (Ghost 0.6.0 adjustments)
##### 1.4.0 (06.03.2015)
- custom navigation setup (Ghost 0.5.9 adjustments)

2
assets/css/style.css

File diff suppressed because one or more lines are too long

11
assets/scss/style.scss

@ -347,6 +347,17 @@ body {
}
}
}
.post-prev-next-pagination {
padding-bottom: rem-calc(35);
a {
color: lighten($color-main-dark, 10%);
text-decoration: none;
}
.prev-next-label {
text-transform: uppercase;
font-weight: 600;
}
}
}
// author info box in post view page

2
package.json

@ -1,6 +1,6 @@
{
"name": "Abc",
"version": "1.4.0",
"version": "1.5.0",
"devDependencies": {
"load-grunt-tasks": "~3.1.0",
"node-sass": "~2.0.1",

29
post.hbs

@ -53,6 +53,35 @@
</div>
</footer>
<div class="row post-prev-next-pagination">
<div class="prev small-6 columns text-left">
{{#prev_post}}
{{!-- you can use here {{image}} too --}}
<div class="prev-next-label">
<a href="{{url}}">
<i class="fa fa-angle-double-left"></i> Previous
</a>
</div>
<a href="{{url}}" class="title">
{{title}}
</a>
{{/prev_post}}
</div>
<div class="next small-6 columns text-right">
{{#next_post}}
{{!-- you can use here {{image}} too --}}
<div class="prev-next-label">
<a href="{{url}}">
Next <i class="fa fa-angle-double-right"></i>
</a>
</div>
<a href="{{url}}" class="title">
{{title}}
</a>
{{/next_post}}
</div>
</div>
{{! Everything inside the #author tags pulls data from the author }}
{{#author}}
<section class="author-info">

Loading…
Cancel
Save