diff --git a/README.md b/README.md index dedd7f6..31e60d6 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Free theme for [Ghost](http://github.com/tryghost/ghost/) prepared by [GavickPro **Important** All below packages contain the "perfetta" directory with the theme which should be moved to the content/themes directory. +[Download v.1.2.0 for Ghost 0.5.0](https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/releases/tag/v1.2.0) + [Download v.1.1.2 for Ghost 0.4.2](https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/releases/tag/v1.1.2) [Download v.1.1.1 for Ghost 0.4.2](https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/releases/tag/v1.1.1) diff --git a/assets/css/main.css b/assets/css/main.css index 176ea24..16110ce 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,8 +1,8 @@ /*--------------------------------- Perfetta Ghost Theme by GavickPro - 05-04-2014 - v.1.1.2 + 09-08-2014 + v.1.2.0 - - - - - - - - - - - - - - - - - - @@ -578,6 +578,75 @@ footer.page-wrap > div { margin-left: 170px; } margin-left: 0; } +/* Tag page */ +.page-title { + color: #fff; + font-size: 36px; + line-height: 1; + text-align: center; +} +.author-bio, +.page-title > small { + color: #fff; + clear: both; + display: inline-block; + font-size: 14px; + line-height: 1; + position: relative; + text-align: center; + top: -10px; + width: 100%; +} + +/* Author page */ +.author-profile { + font-size: 14px; + margin: 0 auto 40px auto; + max-width: 640px; + text-align: center; +} +.author-profile a { + color: #fff; + border-bottom: 1px dotted #fff; +} +.author-profile a:active, +.author-profile a:focus, +.author-profile a:hover { + color: #DA6426; + border-bottom-color: #DA6426; +} +.author-profile img { + border: 1px solid rgba(255, 255, 255, .5); + border-radius: 50%; + display: block; + margin: 0 auto; + padding: 3px; + overflow: hidden; + width: 100px; +} +.author-bio { + line-height: 1.6; + margin: 0; +} +.author-meta { + color: #fff; + margin: 5px 0 0 0; + text-align: center; +} +.author-meta dt { + display: inline-block; + font-weight: bold; + margin: 0 10px; +} +.author-meta dd { + display: inline-block; + margin: 0; + padding: 0; +} +.author-profile .subscribe-button { + margin: 10px 0; +} + /*--------------------------------- 4. RWD ----------------------------------*/ diff --git a/author.hbs b/author.hbs new file mode 100644 index 0000000..9cc41f7 --- /dev/null +++ b/author.hbs @@ -0,0 +1,67 @@ +{{!< default}} + +{{! The main content area on the homepage }} +
+ {{! Everything inside the #author tags pulls data from the author }} + {{#author}} +
+ {{#if image}} + {{name}}'s Picture + {{/if}} +

Posts by {{name}} ({{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}})

+

{{bio}}

+
+ {{#if location}}
Location:
{{location}}
{{/if}} + {{#if website}}
Website:
{{website}}
{{/if}} +
+ +
+ {{/author}} + + {{! Each post will be output using this markup }} + {{#foreach posts}} + +
+
+
+ {{content words="0"}} +

+ {{{title}}} +

+
+
+

{{excerpt}}…

+ + Read more +
+
+ + +
+ + {{/foreach}} + + {{!! After all the posts, we have the previous/next pagination links }} + {{pagination}} +
\ No newline at end of file diff --git a/package.json b/package.json index ea902fb..5dc7762 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "Perfetta", - "version": "1.1.2" + "version": "1.2.0" } \ No newline at end of file diff --git a/tag.hbs b/tag.hbs old mode 100644 new mode 100755 index f546c78..334fabb --- a/tag.hbs +++ b/tag.hbs @@ -2,7 +2,11 @@ {{! The main content area on the homepage }}
- +

+ {{tag.name}} + A {{pagination.total}}-post collection +

+ {{! Each post will be output using this markup }} {{#foreach posts}}