Nulla Wu
9b56779ca6
Use id attribute to query reading progress element ( #467 )
...
no issue
- using an `id` selector doesn't break if other `progress` elements are present on a page
2018-08-03 09:21:05 +01:00
Kevin Ansfield
5c6cce1519
Ghost 1.25 Koenig updates ( #463 )
...
refs https://github.com/TryGhost/Ghost/pull/9741
- Ghost 1.25 has updated the HTML output of Koenig beta posts
- the `<div class="kg-post">` wrapper around post content has been removed
- for image cards the `.kg-image-wide` and `.kg-image-full` classes have been changed to `.kg-width-wide` and `.kg-width-full` and applied to the `<figure>` element rather than the `<img>` element
- this will be the default for *all* posts after upgrading to Ghost 2.0
Example output of the `{{content}}` helper for Koenig beta...
Before 1.25.0 (Ghost 1.23.0-1.24.9):
```html
<div class="kg-post">
<figure class="kg-image-card">
<img class="kg-image kg-image-wide" src="...">
<figcaption>example wide image</figcaption>
</figure>
</div>
```
After 1.25.0:
```html
<figure class="kg-image-card kg-width-wide">
<img class="kg-image" src="...">
<figcaption>example wide image</figcaption>
</figure>
```
For reference, in Ghost 1.x a non Koenig post with nothing but an image in the markdown (`![](...)`) would generate output like this:
```html
<div class="kg-card-markdown">
<img src="...">
</div>
```
2018-07-23 12:20:46 +01:00
John O'Nolan
b55d5e2b32
Remove unnecessary role attributes from main element
...
Source: https://validator.w3.org/nu/#textarea
2018-04-17 22:19:05 +02:00
John O'Nolan
98e9c12018
Split out different byline templates into separate files
2018-04-11 11:05:25 +02:00
Peter Zimon
79e113226c
Multiple authors in Casper ( #448 )
2018-04-10 20:19:29 +02:00
Hannah Wolfe
d92dda3523
Wrapped primary-tag get helper with if ( #383 )
...
closes #382
- If there is no primary tag, the filter will be invalid syntax
- This wraps the if helper and gets rid of errors in the logs
2017-09-07 14:31:42 +02:00
Hannah Wolfe
ba10cb1516
🎨 Update to use Primary Tag syntax ( #337 )
...
refs TryGhost/Ghost#8668
- In Ghost 1.2.0 we introduce primary_tag as a calculated property
- Casper can be updated to use this for clarity
2017-08-10 16:10:17 +02:00
Hannah Wolfe
4b66223bb3
🐛 Only show related posts widget if there are posts available ( #332 )
...
no issue
- use a block param and if combo to add a guard to the get helper
- this ensures that the widget is only displayed if there is content available to display
2017-07-28 19:10:54 +04:00
Hannah Wolfe
3993cbdcfa
Update disqus embed to use {{comment_id}}
...
refs TryGhost/Ghost#8760
- disqus code must use `{{comment_id}}` instead of `{{id}}` from 1.0.0 onwards.
2017-07-26 23:01:14 +04:00
Aileen Nowak
d6d9711b9d
⛓ Fix broken tag link on post.hbs ( #315 )
...
no issue
Top link for tag was missing a `/`.
2017-06-20 08:55:16 +01:00
John O'Nolan
902b6dcdbc
Clean up trailing slashes
...
See https://github.com/TryGhost/Ghost/issues/8569
2017-06-19 14:54:03 +01:00
Kevin Ansfield
c97defd40a
Refactor post.hbs JS
2017-06-19 00:11:32 +01:00
John O'Nolan
67f27e2add
New subscribe overlay
2017-06-15 15:03:19 +01:00
John O'Nolan
9f7c0e30e2
Scroll progress bar
2017-06-14 12:16:16 +01:00
John O'Nolan
19a8b85aac
Minor cleanup
2017-06-13 19:07:26 +01:00
John O'Nolan
eeb8b248ca
Refactor site navigation
2017-06-13 19:02:22 +01:00
John O'Nolan
7f4d581caf
Restyle read-next card
2017-06-13 18:51:08 +01:00
John O'Nolan
655c35b53c
New error template and author template
2017-06-13 13:48:06 +01:00
John O'Nolan
55f35da8e9
Whatever pass I lost count
2017-06-12 10:01:00 +01:00
John O'Nolan
d55446f2ca
Next pass 2.0
2017-06-08 09:19:22 +02:00
John O'Nolan
938eaaf7a6
Third pass 2.0
2017-06-05 12:19:29 +01:00
John O'Nolan
bc9e5a0b2e
Second pass 2.0
2017-05-31 19:09:50 +01:00
John O'Nolan
eda0ec4db2
First pass 2.0 design
2017-05-15 21:03:47 +01:00
Hannah Wolfe
8778126d8f
Minor consistency fixups
...
- use a `{{#tag}}{{/tag}}` block for tag in tag.hbs
- use two braces consistently for `{{title}}`
- use double quotes consistently for attributes (quote switching is unnecessary)
2016-05-08 17:09:29 +02:00
John O'Nolan
09b4830398
Add new subscribers form + visual fixes
...
- New opt-in form for subscribers features
- Bumped version to 1.3.0
- Resolved author image alignment, closes #238
2016-05-08 10:50:20 +02:00
Acho Arnold
01c46dd225
Updated the twitter web share API
...
New API can be found here https://dev.twitter.com/web/tweet-button/web-intent
2015-05-26 10:21:36 +01:00
Mark Sutherland
2f45eda1ca
Improve alt tag accessibility
...
Replaces all instances of alt="Blog Image" with alt="{{@blog.title}}"
and alt="Author Image" with alt="{{@author}}"
2015-05-15 22:01:01 +01:00
John O'Nolan
dd02a12258
no message
2015-03-27 19:10:31 +02:00
Paul Adam Davis
b071548965
Add menu icon to icon font
...
Closes #186
- Adds the menu icon from Ghost's icon set
- Alters CSS to use that new icon
2015-03-23 16:21:53 +00:00
Hannah Wolfe
8ec65a45e4
Switch navigation to be global
2015-02-28 14:08:27 +00:00
John O'Nolan
243192f0d9
Updating nav styles
2015-02-28 14:34:58 +02:00
Paul Adam Davis
46dc55769e
Navigation
2015-02-27 19:33:27 +00:00
John O'Nolan
e07d0d8775
Post image support
2014-09-25 17:35:06 +03:00
Ross Kaffenberger
1d494fddd1
fix link tag typo
2014-08-12 22:14:54 -04:00
Hannah Wolfe
ba881b059f
Updating Casper's use of title and author helpers
...
Related to TryGhost/Ghost#3599 and TryGhost/Ghost#3389
- The title helper no longer needs triple-stashes to be safe
- The #author can now be used as a context block again
2014-08-05 20:49:37 +01:00
John O'Nolan
b84309f482
Stop text from wrapping to a new line with icon
...
Fixes #112
2014-08-04 12:49:41 +03:00
Fabian Becker
7dfe3f4a0d
Simplify author link
...
no issue
2014-07-31 21:32:01 +00:00
John O'Nolan
a60cdab266
Tweak
2014-07-31 18:58:48 +03:00
John O'Nolan
8ff0ac386c
Replace dodgy author helper with better one
2014-07-31 16:54:34 +03:00
John O'Nolan
e9eca20883
Add fallback text if user has no entered a bio
2014-07-22 13:31:58 +02:00
John O'Nolan
35adcc0fd3
Add post meta back into post.hbs
2014-07-21 20:37:05 +02:00
John O'Nolan
f6ee7d89f9
Add author image to post author-box, if available
2014-07-21 20:19:49 +02:00
John O'Nolan
91ca337fe6
Link post.hbs author to new author profile page, add icons to meta data
2014-07-21 19:52:45 +02:00
John O'Nolan
448082bd48
New navigation structure to make way for MU changes
2014-07-20 16:43:44 +02:00
kennwhite
87b892e461
HTML5 valid markup for Twitter share link
2014-03-02 21:51:53 -05:00
John O'Nolan
7546018136
Add support for author.url and author.location output
...
Closes #72
2014-01-27 19:16:17 +07:00
altonius
492ba62e1f
Update post.hbs
...
updated twitter url to use https inline with the other sharing services
2014-01-15 20:58:34 +11:00
John O'Nolan
b7a6f81a18
Removed conditional author check
...
Because a post always has an author. Except when Ghost first runs, and there is the welcome post with no author. But in this case Ghost simply outputs nothing - I haven’t been able to make anything explode.
2014-01-10 17:00:41 +01:00
John O'Nolan
61cfb3064b
Cleaned up comments and indentation
2014-01-10 16:59:27 +01:00
Hannah Wolfe
5c8fc51848
Adding encode helper to share link
2014-01-06 21:06:42 +00:00