Git Product home page Git Product logo

casper-xyz's Introduction

Casper-XYZ

This is the Ghost theme of angristan.xyz, based on Casper.

I talked about it on my blog:

For more information regarding how to use the theme with Ghost, please refer to the original README

Please credit me if you plan on reusing my theme. ๐Ÿ™‚


I stopped using and maintaining it in may 2020. For the record, here is how it looks:

screenshot

Fork

I keep my fork up-to-date with the upstream.

List of the modifications made in this fork:

Hardcoded stuff

I try to make the theme reusable as possible, but I still have to hardcode some stuff.

MAKE SURE TO UPDATE/REMOVE THEM IF YOU PLAN ON REUSING MY THEME!

External assets embedded

Here are the assets that I downloaded and included in the repo as I don't want to make call to 3rd-party services:

They are all under their respective license.

casper-xyz's People

Contributors

acburdine avatar aileen avatar alexandergalen avatar allouis avatar angristan avatar cobbspur avatar corbpaul avatar daniellockyer avatar douten avatar erisds avatar halfdan avatar jakegiltsoff avatar jitendravyas avatar johnonolan avatar kevinansfield avatar kezzbracey avatar kirrg001 avatar lukaszklis avatar mankittens avatar naz avatar novaugust avatar pauladamdavis avatar peterzimon avatar phoenixpeca avatar renovate-bot avatar renovate[bot] avatar rishabhgrg avatar ybbuc avatar yoranbrondsema avatar zce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

casper-xyz's Issues

Install Renovate

You can automatically update the dependencies in package.json and yarn.lock with Renovate.

You need to install the GitHub App Renovate and configure with renovate.json

I have used that one:
{ "enabled": true, "automerge": true, "rebaseWhen": "conflicted", "node": { "supportPolicy": ["lts_latest"] } }

Ghost secondary navigation

Ghost has a built-in feature to create custom social links.

You still need to hard-code a couple of things but it may be a cleaner method, and easier to maintain.

I have tried it locally, it works well!

Instead of copy-pasting the SVG Sprite in default.hbs, I added a sprite.hbs inside partials/icons then included it in default.hbs with {{> "icons/sprite"}}.

It is not a real issue, just a mere suggestion ๐Ÿ˜ธ

P.S. you would need to merge that fix: TryGhost/Casper@8886056

casper.js error

This may be a minor issue.

I was checking my CORS settings for Isso with the Chrome console, and I noticed some other errors when I display a post. When I switch from Casper-XYZ to original Casper and refresh the page, this error disappears from the console.

I checked with a post on your blog, the very same issue exists.

casper.js?v=b438736406:1 jQuery.Deferred exception: $postContent.fitVids is not a function TypeError: $postContent.fitVids is not a function
at HTMLDocument. (https://angristan.xyz/2020/02/crashes-virtualbox-macos-intel-power-gadget/:325:22)
at e (https://angristan.xyz/assets/built/casper.js?v=b438736406:1:32381)
at t (https://angristan.xyz/assets/built/casper.js?v=b438736406:1:32705) undefined
S.Deferred.exceptionHook @ casper.js?v=b438736406:1
t @ casper.js?v=b438736406:1
setTimeout (async)
(anonymous) @ casper.js?v=b438736406:1
i @ casper.js?v=b438736406:1
fireWith @ casper.js?v=b438736406:1
fire @ casper.js?v=b438736406:1
i @ casper.js?v=b438736406:1
fireWith @ casper.js?v=b438736406:1
ready @ casper.js?v=b438736406:1
F @ casper.js?v=b438736406:1
casper.js?v=b438736406:1 Uncaught TypeError: $postContent.fitVids is not a function
at HTMLDocument. ((index):325)
at e (casper.js?v=b438736406:1)
at t (casper.js?v=b438736406:1)

angristan.xyz-1583095593417.log
angristan.xyz-1583095585277.log

Isso language to English

Just a little suggestion: I see that your Ghost blog is in English but the Isso section shows up in French.

If you want to match Isso language to Ghostโ€™s, you can add this data attribute to your Isso client configuration:

data-isso-lang="{{@site.lang}}"

Update local jQuery to 3.4.1?

Your theme does not host jQuery locally anymore. Is it intended or you have not had the time to change since Casper updated jQuery from 3.2.1 to 3.4.1?

I did it on my fork but I will not submit a PR since my commit contains miscellaneous customisations that you do not need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.