Upgraded to Ghost 1.22.3

It's been a while since I updated this blog.

Realised the site was down and both my server and ghost were way way outdated.

Decided to upgrade everything and luckily everything is still working fine.

Will probably need a new nice looking theme for that support syntax highlighting. In the meanwhile, please bear with the formatting if it doesn't comes out as pretty.

I think Casper, the default theme looks nice enough.
Wish they have a vim mode for the text editor though.

Update

Got Prismjs support manually by adding the dependancies under 'Code Injection'.

<link rel="stylesheet" <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/prism/1.14.0/themes/prism-tomorrow.min.css" />

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=**replace with your site id**"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', '**replace with your site id**');
</script>
<!-- You can safely delete this line if your theme does not require jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>

<script src="//cdnjs.cloudflare.com/ajax/libs/prism/1.14.0/prism.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/prism/1.14.0/components/prism-java.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/prism/1.14.0/components/prism-css.min.js"></script>

ref: http://grzegorowski.com/adding-code-highlighting-to-ghost-blog/

Upgraded to Ghost 1.22.3
Share this