• Stars
    star
    478
  • Rank 91,950 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Casper blog starter for Gatsby

gatsby-casper

Demo: https://gatsby-casper.netlify.app

This is a static blog generator and starter gatsby repo. A port of Casper v3 a theme from Ghost for GatsbyJS using TypeScript.

Getting Started

Clone this repo.

git clone https://github.com/scttcper/gatsby-casper.git --depth=1

Remove .git folder and setup a new one

rm -rf .git && git init

Edit website-config.ts with your website settings. Either disable subscribe or setup a mailchimp list and add the form action and hidden field input name.

Now push to whatever repo you want!

Progress

  • emotion / component styles
  • home page
  • tag page
  • author page
  • blog page
    • subscribe form - using mailchimp
    • full width images in markdown? - not sure if possible
    • multiple post authors
  • 404 page
  • subscribe modal/overlay
  • rss feed (on production build)
  • polish ✨
    • meta tags
    • page titles
    • pagination

Deploy to Netlify

Deploy to Netlify

How to configure Google Analytics

Edit gatsby-config.js and add your tracking ID

{
    resolve: `gatsby-plugin-google-analytics`,
    options: {
      // Here goes your tracking ID
      trackingId: 'UA-XXXX-Y',
      // Puts tracking script in the head instead of the body
      head: true,
      // IP anonymization for GDPR compliance
      anonymize: true,
      // Disable analytics for users with `Do Not Track` enabled
      respectDNT: true,
      // Avoids sending pageview hits from custom paths
      exclude: ['/preview/**'],
      // Specifies what percentage of users should be tracked
      sampleRate: 100,
      // Determines how often site speed tracking beacons will be sent
      siteSpeedSampleRate: 10,
    },
},

How to edit your site title and description

Edit gatsby-config.js section siteMetadata

 siteMetadata: {
    title: 'My awesome site name',
    description: 'This is a description for my site',
    siteUrl: 'https://mysite.com', // full path to blog - no ending slash
  },

How to adjust pagination

In gatsby-node.js, edit the postsPerPage constant. The default value is six posts per page.

More Repositories

1

ngx-toastr

🍞 Angular Toastr
TypeScript
2,503
star
2

tinycolor

🎨 Color manipulation and conversion
TypeScript
543
star
3

ngx-emoji-mart

Customizable Slack-like emoji picker for Angular
TypeScript
448
star
4

ngx-color

🎨 Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
TypeScript
433
star
5

ngx-codemirror

Codemirror Wrapper for Angular
TypeScript
281
star
6

ng2-adsense

Angular Adsense Component
TypeScript
137
star
7

ngx-trend

πŸ“ˆ Simple, elegant spark lines for Angular
TypeScript
117
star
8

react-adsense

Adsense component for react
TypeScript
95
star
9

ngx-rightclick

Context Menu Service for Angular
TypeScript
81
star
10

ts-trueskill

TypeScript port of the python TrueSkill package
TypeScript
73
star
11

video-filename-parser

Scene release name parser
TypeScript
57
star
12

ngx-chartjs

Functional Chart.js wrapper for Angular
TypeScript
56
star
13

qbittorrent

qBittorrent api wrapper
TypeScript
42
star
14

ngx-csv

Angular directive to generate a CSV download in the browser
TypeScript
38
star
15

ngx-droppable

Give file dropping super-powers to any element or component
TypeScript
34
star
16

deluge

Deluge API wrapper
TypeScript
27
star
17

transmission

Transmission torrent client API wrapper
TypeScript
21
star
18

plex

Plex API client for node written in typescript
TypeScript
18
star
19

golang-template

basic golang template parsing in js
TypeScript
18
star
20

gatsby-theme-casper

TypeScript
17
star
21

koa-simple-ratelimit

Simple rate limiter for Koa.js v2 web framework
TypeScript
17
star
22

magnet-link

Parse a magnet URI into an object
TypeScript
15
star
23

ts-base32

Base32 encoder/decoder with support for multiple variants
TypeScript
13
star
24

ngx-github-buttons

GitHub Buttons in Angular
TypeScript
11
star
25

torrent-file

TypeScript torrent file parser
TypeScript
11
star
26

honbot-api

HoN 4 compatible API
TypeScript
8
star
27

react-orgchart

JavaScript
8
star
28

irc

Irc client library for node
TypeScript
7
star
29

utorrent

utorrent api wrapper
TypeScript
6
star
30

shared-torrent

shared types and interfaces between torrent clients
TypeScript
5
star
31

typescript-quickstart-lib

TypeScript
5
star
32

xm-channel-scrape

5
star
33

ts-gaussian

TypeScript model of the normal distribution
TypeScript
5
star
34

honbot-frontend

Angular frontend for HoN stats website
TypeScript
4
star
35

mac-address

Parse and manipulate MAC addresses
TypeScript
4
star
36

ngx-numbered-codeblock

Prism.js wrapper with built-in line numbers
TypeScript
3
star
37

hangry-py

python port of https://github.com/iancanderson/hangry
Python
2
star
38

url-join

TypeScript
2
star
39

eslint-config

JavaScript
1
star
40

shared-nzb

TypeScript
1
star
41

ts-wcwidth

Determine number of columns needed for a fixed-size wide-character string
TypeScript
1
star
42

gatsby-theme-casper-example

JavaScript
1
star
43

rtorrent

rtorrent api wrapper
TypeScript
1
star
44

csv-fns

TypeScript
1
star
45

version-adoption

NPM package download count by version over the last 7 days - grouped by major and minor version
TypeScript
1
star
46

eslint-config-react

JavaScript
1
star
47

eslint-config-biome

JavaScript
1
star
48

ng2-bs-dropdown

DEPRECATED: use ng-bootstrap
TypeScript
1
star
49

eslint-config-react-biome

JavaScript
1
star