Commit Graph

26 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
John O'Nolan 79ebbd50a3
Responsive images (#505) 2018-12-17 12:25:57 +00:00
Kevin Ansfield ecaf3d921f 🐛 Fixed image positioning on pages
closes https://github.com/TryGhost/Casper/issues/473
- added missing `<div class="post-content">` wrapper around `{{content}}`
2018-08-21 17:47:42 +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 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 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
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 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
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
Matt Enlow bcdbdab861 Move page #post helper to encapsulate image references
Ref #143
- Fixes header images for static pages
2014-11-10 22:02:52 -07:00
Jakob Wells e2911f2d46 Changed button background fix to match post.hbs
As per JohnONolan’s suggestion, I have edited the nav to match the code
in post.hbs: https://github.com/TryGhost/Casper/blob/master/post.hbs#L9
2014-10-29 10:14:00 -07:00
Jakob Wells df09b7c375 Fixed bottom margin on static page post-title h1
Static pages were previously missing a margin on the bottom of the
post-title h1. By adding <header> with a post-header class around the
h1, we gain the exact same bottom margin as seen on post (non-static)
pages.
2014-10-29 09:24:31 -07:00
Jakob Wells 09d827249f Removed button backgrounds on static pages
The home and subscribe buttons had backgrounds on static pages, but not
post pages. The backgrounds are now removed from these buttons on
static pages.
2014-10-29 09:17:57 -07: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 448082bd48 New navigation structure to make way for MU changes 2014-07-20 16:43:44 +02:00
John O'Nolan 61cfb3064b Cleaned up comments and indentation 2014-01-10 16:59:27 +01:00
John O'Nolan 8b420d01a5 Add missing span to page template
Fixes #67
2014-01-10 16:31:25 +01:00
John O'Nolan 657f9fb749 More stupid fixes 2013-12-02 11:53:48 +01:00
William Golden 2ca7344203 Added page template to be compatible with pull #1139. 2013-10-17 12:54:08 -05:00