Commit Graph

46 Commits

Author SHA1 Message Date
Kevin Ansfield 978ffe0eb6
Concatenated all JS into a single file (#624)
no issue

- moved large inline JS from templates into separate JS files
  - floating header
  - gallery card support
- use `gulp-concat` to concatenate all JS files into a single `built/casper.js` file
- reduces external JS file requests from 3 (jquery, infinite-scroll.js, jquery.fitvids.js) down to 2 (jquery, casper.js) and reduces page size by removing repeated inline code
2019-10-20 15:55:06 +02:00
gustawdaniel 047c7c0c9c Added missing closing brackets in partials/header.hbs styles (#521) 2019-01-22 11:04:03 +00:00
Nazar Gargol b2322157d5 Migrated from @blog -> @site
no issue

- This rename is due to new {{@site}} alias introduced in Ghost (dd1cf5ffc7) as {{@blog}} variable is deprecated now, and will be removed in v3
2019-01-08 17:37:14 +00:00
John O'Nolan 79ebbd50a3
Responsive images (#505) 2018-12-17 12:25:57 +00:00
John O'Nolan 5ad6e1ed1f
Add titles to icon links 2018-10-12 12:01:05 +07:00
kirrg001 f31957bd0d Replaced {{author}} by {{primary_author}} in byline-single.hbs
refs https://github.com/TryGhost/gscan/issues/99

- single author usages will be deprecated in Ghost 2.0
- make Casper 100% compatible with Ghost 2.0
2018-08-12 15:02:03 +02:00
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
John O'Nolan 6e3399366d Small refactor of multi-authors 2018-04-12 10:05:40 +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
Jochen Kirstätter bfaae0f7ba 🐛 Fixed Feedly URL and protocol (#418)
no issue

* Changed Feedly URL to HTTPS protocol
* Updated Feedly URL pattern
2018-01-23 10:30:03 +07:00
Kevin Ansfield 7592ad182b 🔒 Added `rel="noopener"` to all `target="_blank"` links (#398)
closes #394
- closes potential phishing avenues by preventing external sites from changing the blogs url in the background after opening
- see https://mathiasbynens.github.io/rel-noopener/ for more info
2017-10-03 16:42:08 +07:00
Kevin Ansfield 97a522a037 Fix permissions on certain files 2017-10-02 13:29:23 +01: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
Aileen Nowak 2fdfc5285d 🔥 Delete unused partial `share.hbs`
no issue

Partial is not used in Casper!
2017-07-11 09:49:53 +07:00
John O'Nolan 4b6905f175 Mobile support 📱 2017-06-16 13:16:22 +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 eb84edae6d Fix all the fucking bugs that I created yesterday 2017-06-14 10:41:30 +01:00
John O'Nolan eeb8b248ca Refactor site navigation 2017-06-13 19:02:22 +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 bc9e5a0b2e Second pass 2.0 2017-05-31 19:09:50 +01:00
John O'Nolan ad9cb81a06 Many tweaks 2017-05-16 10:26:08 +01:00
John O'Nolan eda0ec4db2 First pass 2.0 design 2017-05-15 21:03:47 +01:00
John O'Nolan 68e48cfb04 Remove role attributes intended for tabbed navigation
Closes #285
2017-02-23 13:25:47 +07: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
Mark Sutherland 53c6d32849 typo 2015-05-15 22:13:14 +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 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 75c81be9c3 Typography overhaul 2014-09-25 16:41:04 +03:00
Fabian Becker 7dfe3f4a0d Simplify author link
no issue
2014-07-31 21:32:01 +00:00
John O'Nolan 6659c9514a Fix in case author has no image 2014-07-21 19:09:17 +02:00
John O'Nolan 6ae074b724 Introduce new post loop partial + new multi-author post meta 2014-07-21 18:20:36 +02:00
John O'Nolan 9ca4564cb2 Removed concept of partials from Casper. For now. 2013-09-02 22:57:55 +01:00
cobbspur 7214380abd helper name changes for casper
closes #17

- changed pagination and date in handlebars templates
2013-08-22 21:45:00 +01:00
ErisDS 09295abe40 Ghost issue 254 adds a helper for content
- Removed triple taches from content as they are no longer required
2013-07-11 17:09:45 +01:00
ErisDS e40d3e2680 Ghost issue 253 changed content_html to just content
This update to casper matches that change
2013-07-11 16:28:58 +01:00
cobbspur 0fc57a0bd0 closes casperissue #8
- replaces created_at with publish_at in full-post.hbs and list-post.hbs
2013-06-16 16:15:44 +01:00
cobbspur 0a7f8ea03a closes #1 - removing featured
- changed post.hbs to list-post.hbs and refactored code
- changed featured.hbs to full-post.hbs and refactored code
- index.hbs now selects first post and extends full-post then list-post on remaining posts
- single.hbs now extends full-post
2013-06-16 15:54:30 +01:00
cobbspur d9d72dbb37 casper issue #3
- deleted JON logo
- deleted post footer
2013-06-14 19:19:45 +01:00
Hannah Wolfe 9ddfae8cdc issue #28 - bookshelf reimplementation
required switchover to snake_case
2013-05-16 22:18:41 +01:00
Hannah Wolfe 162b362e4b Casper - initial commit to separate GitHub repo 2013-05-11 11:16:11 +01:00