Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Casper v3 #52

Open
wants to merge 259 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
005aa7c
[i18n] Added CONTRIBUTING.md file
juan-g Jan 31, 2018
6a102f0
Add german translation
vinzent Feb 13, 2018
2ecf586
[i18n] Added Casper link to README.md
juan-g Feb 14, 2018
ea5a92e
add chinese i18n file
mayaa6 Feb 19, 2018
af7f88f
add more Chinese translate
mayaa6 Feb 19, 2018
bea426b
[i18n] Updated README.md
juan-g Feb 19, 2018
6646117
[i18n] Meta title: Translatable pagination
juan-g Mar 23, 2018
038acf5
Added French translation file.
HLFH Mar 31, 2018
31fa3aa
Updated French translation file.
duvrai Mar 31, 2018
a16e1d1
[i18n] Minor adjustments to the French translation file
juan-g Mar 31, 2018
c14734f
[i18n] README.md: Added French to the list of available languages
juan-g Mar 31, 2018
dcfe43e
Update some sentences in proper french
JMousqueton Apr 2, 2018
ffabbde
Added Finnish translations.
msarjakoski Apr 7, 2018
ba836e6
[i18n] Added Swedish translations.
msarjakoski Apr 14, 2018
115627f
WorldCasper2 Romanian Translation
dsecareanu Apr 18, 2018
a4339d9
[i18n] README.md: Added Romanian to the list of available languages
juan-g Apr 20, 2018
31d51e8
[i18n] New text strings to translate
juan-g Apr 20, 2018
36dd3d1
Update post-card.hbs
estevaosoares Apr 22, 2018
ef0b2ba
Update en.json
estevaosoares Apr 22, 2018
8796278
Update en.json
estevaosoares Apr 23, 2018
d319f00
Update post-card.hbs
estevaosoares Apr 23, 2018
8a92d3c
[i18n] Translation files updated for reading time
juan-g Apr 23, 2018
64c5f47
no parenthesis around (name) in translation helper
duvrai Apr 26, 2018
1b3b01f
updated french translation
duvrai Apr 26, 2018
90c6340
Finnish and Swedish translations updated (#11)
msarjakoski Apr 28, 2018
5ebe11f
Added Italian translation file
samu4199 May 3, 2018
d61051d
[i18n] README.md: Added Italian language
juan-g May 4, 2018
03e2520
ro translation updates
dsecareanu May 4, 2018
032bc2f
create lt.json
olablt May 6, 2018
2f3f20b
Update lt.json
olablt May 6, 2018
7f4a020
Update lt.json
olablt May 6, 2018
658e361
[i18n] README.md: Added Lithuanian translation
juan-g May 7, 2018
49065c4
Added missing German translations
heartcrazed May 10, 2018
8385075
Create hr.json
diomed May 21, 2018
58ec89f
[i18n] Added Croatian to the list of available languages
juan-g May 22, 2018
5fe5d90
[i18n] Minor fix (language list order)
juan-g May 22, 2018
704abb5
Add Polish translation
ixcviw7bw Jun 4, 2018
25ee507
Little fix..
ixcviw7bw Jun 4, 2018
9600d96
[i18n] Added Polish to the list of available languages
juan-g Jun 6, 2018
2665cd0
Fix typos in Swedish translation
nllptr Jun 12, 2018
0bb641a
add pt_br
Jun 14, 2018
3e515f6
fix pt_br language
Jun 14, 2018
631436b
remove theme.zip
Jun 14, 2018
f9509cc
Add ru locale
towa48 Jul 17, 2018
8644880
[i18n] Brazilian Portuguese corrections
Aug 11, 2018
eaab1e4
[i18n] README.md: Updated language list
juan-g Aug 11, 2018
abc8d9b
adding Canadian translation / fr-CA.json
pascalandy Aug 11, 2018
a27d785
[i18n] README.md: Updated language list
juan-g Aug 11, 2018
c121e0d
ru locale tweaks
alexbagirov Aug 12, 2018
41c0f56
update fr.json
frenchvandal Aug 18, 2018
501bf55
using ’ instead of '
pascalandy Aug 22, 2018
24f2152
[i18n] fr-CA.json: Additional apostrophe replacements
juan-g Aug 22, 2018
9e8ab35
Change proposition for collaboration articles
frenchvandal Sep 7, 2018
93bdda1
[i18n] Added no-NB.json Norwegian Bokmål
oslometbren Sep 11, 2018
3ddb6e4
[i18n] Added Norwegian Bokmål to the README
oslometbren Sep 11, 2018
7b09dd8
[i18n] Changed Norwegian Bokmål to ISO 639-1 language code
oslometbren Sep 12, 2018
9cb33f8
[i18n] Alphabetical order of available languages
juan-g Sep 12, 2018
b399aab
Made error pages translatable and initiated English and French files …
Sep 23, 2018
1d54ad1
[i18n] Updated all translations: New strings, apostrophes...
juan-g Sep 27, 2018
32df7c9
Fix plural
juni-vogt Sep 28, 2018
94fb340
Add Indonesian language
siriokun Oct 1, 2018
f1b2ac2
Added Turkish translation
Oct 5, 2018
67ad168
Update tr.json
Oct 5, 2018
1f2a4f3
[i18n] Added Indonesian and Turkish to the list of available languages
juan-g Oct 8, 2018
5d963cc
Fix translation
kacperduras Oct 9, 2018
e0545d1
Added Hungarian locale
frvl Nov 17, 2018
7e48922
Updated README.md
frvl Nov 17, 2018
c165352
Merge pull request #41 from Vilagnegyzet/i18n-translatable-frontend
juan-g Nov 24, 2018
3c2347c
🎨 Optimised infinite scroll (#503)
zce Dec 5, 2018
a22dda9
Upgrading Casper to 2.7.1
kirrg001 Dec 11, 2018
79ebbd5
Responsive images (#505)
JohnONolan Dec 17, 2018
475c015
Upgrading Casper to 2.8.0
kevinansfield Dec 17, 2018
3388283
2019
JohnONolan Jan 1, 2019
7d080d5
Upgrading Casper to 2.8.1
naz Jan 8, 2019
3b8f3f1
Bumped default Ghost API version to v2
naz Jan 8, 2019
b232215
Migrated from @blog -> @site
naz Jan 8, 2019
f57f9eb
Update no-image classes
JohnONolan Jan 15, 2019
72a9416
Upgrading Casper to 2.9.0
allouis Jan 15, 2019
0171b3e
Use a larger logo size (#520)
WesCossick Jan 15, 2019
273e987
Updated gulp to handle errors for every stream (#500)
allouis Jan 22, 2019
047c7c0
Added missing closing brackets in partials/header.hbs styles (#521)
gustawdaniel Jan 22, 2019
9ababa2
Upgrading Casper to 2.9.1
kevinansfield Jan 22, 2019
d92b90d
Updated .travis.yml to use Node v10
kirrg001 Feb 11, 2019
6541544
Added "yarn ship" command
kirrg001 Feb 11, 2019
40ae0e9
Upgrading Casper to 2.9.2
rishabhgrg Feb 12, 2019
c8c63d1
Fix bug with embeds overflowing content width
JohnONolan Feb 18, 2019
bf89e8e
v2.9.3
allouis Feb 21, 2019
e0faae6
Add renovate.json
renovate-bot Mar 4, 2019
18018d9
Update renovate.json
ErisDS Mar 4, 2019
8fa0aa1
Pin dependencies
renovate-bot Mar 4, 2019
3e7a85a
Update renovate.json
ErisDS Mar 4, 2019
10672c6
🐛 Fixed author cover images not displaying
kevinansfield Mar 8, 2019
5bbaa68
Update Renovate Configuration
ErisDS Mar 10, 2019
ff189b7
Update dependency gscan to v2.2.1
renovate-bot Mar 5, 2019
3b3a091
Update gulp
renovate-bot Mar 5, 2019
dd19a0a
Update css processors
renovate-bot Mar 10, 2019
56c9795
Update css processors
renovate-bot Mar 10, 2019
3a40332
Update gulp
renovate-bot Mar 10, 2019
06c8020
Re-written gulpfile for gulp 4
ErisDS Mar 10, 2019
371ad58
Updated all built assets
ErisDS Mar 10, 2019
0184237
🛠 Always build before test, test before ship
ErisDS Mar 10, 2019
7fec21f
Update dependency gscan to v2.3.0
renovate-bot Mar 10, 2019
6640701
Regenerate yarn.lock
ErisDS Mar 10, 2019
66def0d
Update Renovate Configuration
ErisDS Mar 10, 2019
2da714e
Upgrading Casper to 2.9.4
naz Mar 12, 2019
a212518
🐛 Fixed incorrect/missing colours for various elements
kevinansfield Mar 12, 2019
2bf64cb
v2.9.5
kevinansfield Mar 12, 2019
406ef78
Gulpfile ES6
kirrg001 Mar 14, 2019
8729daf
Extended `yarn ship`: more automation
kirrg001 Mar 14, 2019
b1ce464
Added .yarnrc
kirrg001 Mar 15, 2019
51b93e3
Update dependency autoprefixer to v9.5.0 (#553)
renovate[bot] Mar 18, 2019
7706045
Update dependency @tryghost/release-utils to v0.3.1
renovate-bot Mar 18, 2019
37c0f22
2.9.6
rishabhgrg Mar 19, 2019
4464d58
Fixed deprecated {{lang}} helper usage
naz Apr 2, 2019
0d8f447
2.9.7
kevinansfield Apr 2, 2019
91ffa33
Update Renovate Configuration
ErisDS Apr 2, 2019
c4fb156
Added SECURITY.md file
ErisDS Mar 10, 2019
8e5c1b2
Updated .travis.yml file
ErisDS Apr 3, 2019
23bd9cc
2.9.8
kevinansfield Apr 4, 2019
7f8990c
Update css processors
renovate-bot Apr 8, 2019
070bed3
Update dependency gscan to v2.4.0
renovate-bot Apr 8, 2019
4a2e9c9
Update dependency @tryghost/release-utils to v0.3.2
renovate-bot Apr 8, 2019
de8b837
Lock file maintenance
renovate-bot Apr 8, 2019
fef2307
2.9.9
naz Apr 9, 2019
aac62da
Update dependency gscan to v2.4.1
renovate-bot Apr 15, 2019
85fed4f
Lock file maintenance
renovate-bot Apr 15, 2019
b4d0219
Added livereload for .hbs files
aileen Apr 15, 2019
2a5aac2
2.9.10
rishabhgrg Apr 16, 2019
50c53f4
Updated .travis.yml file
ErisDS Apr 17, 2019
dc05ff2
Update Renovate Configuration
ErisDS Apr 17, 2019
87abdc2
Updated travis.yml file
ErisDS Apr 18, 2019
93c4ea5
2.9.11
allouis Apr 23, 2019
88552e5
Update dependency gscan to v2.5.1
renovate-bot May 1, 2019
64fdc79
Update dependency gulp to v4.0.1
renovate-bot May 1, 2019
0b17a6a
Re-build CSS using latest dependencies (#573)
kevinansfield May 1, 2019
ff43de1
Lock file maintenance (#572)
renovate[bot] May 1, 2019
ec296ed
✨ Added support for code cards with captions (#575)
kevinansfield May 1, 2019
21d097d
2.10.0
naz May 7, 2019
43b8f3d
Substituted deprecated {{each}} helper with recommended {{foreach}}
naz May 7, 2019
2dad5af
2.10.1
allouis May 14, 2019
e6cb772
Update dependency gscan to v2.6.0
renovate-bot Jun 1, 2019
0494b48
Update dependency gulp to v4.0.2
renovate-bot Jun 1, 2019
fa54c47
2.10.2
naz Jun 4, 2019
89a1276
Update dependency gscan to v2.6.2
renovate-bot Jul 1, 2019
42c2662
Update dependency autoprefixer to v9.6.0
renovate-bot Jul 1, 2019
6886798
2.10.3
allouis Jul 1, 2019
df7c232
Updated links to docs site
aileen Jul 22, 2019
e4e97ae
2.10.4
kevinansfield Jul 23, 2019
dc74e24
🔗 Updated docs link to be version-less
aileen Jul 25, 2019
56d1ff2
Better contrast for selected text inside `pre code` blocks
mvasilkov Jul 30, 2019
812b9ba
Merge pull request #599 from mvasilkov/pre-selection-color-patch
daviddarnes Jul 30, 2019
095d7f8
2.10.5
rishabhgrg Jul 30, 2019
c66d64d
Update CSS preprocessors
renovate-bot Aug 1, 2019
8ad3b82
Update dependency gscan to v2.7.0
renovate-bot Aug 1, 2019
a6ce913
2.10.6
allouis Aug 6, 2019
788ee59
Improve gulp globbing (#598)
ptalmeida Aug 21, 2019
f5bba69
Remove unused conditional
JohnONolan Aug 21, 2019
29426e1
2.10.7
rishabhgrg Aug 22, 2019
f5b2a2f
✨ Added bookmark card CSS (#607)
rishabhgrg Aug 27, 2019
32d3538
2.11.0
rishabhgrg Aug 27, 2019
c406272
Added max length for bookmark card publisher field (#608)
peterzimon Aug 27, 2019
8729af0
2.11.1
kevinansfield Aug 27, 2019
4a4f66a
Update dependency gscan to v2.9.0
renovate-bot Oct 1, 2019
d2ec8d1
Update dependency gulp-livereload to v4.0.2
renovate-bot Oct 1, 2019
215d837
2.11.2
kevinansfield Oct 7, 2019
7161dca
Added deploy ghost theme github action
ErisDS Oct 18, 2019
728392e
Automatically deploy theme on master only
ErisDS Oct 18, 2019
2eaeba8
Updated current version and previous version logic (#554)
rishabhgrg Oct 20, 2019
e5e62f1
Updated jQuery to 3.4.1 to avoid known vulnerabilities (#590)
tigpt Oct 20, 2019
8bb4508
Fixed code cards with long lines from being too wide
rishabhgrg Oct 20, 2019
392626f
Bumped Gscan and made rule check explicit to v2 set (#622)
naz Oct 20, 2019
f7e4cab
Update dependency postcss-custom-properties to v9 (#592)
renovate[bot] Oct 20, 2019
53ad2d8
Updated Build Tools (#571)
renovate[bot] Oct 20, 2019
978ffe0
Concatenated all JS into a single file (#624)
kevinansfield Oct 20, 2019
7ad20d1
Fixed deprecated autoprefixer config warning when running build tasks
kevinansfield Oct 20, 2019
b51dd8c
V3 (#626)
allouis Oct 21, 2019
1915a91
3.0.0-beta.7
allouis Oct 21, 2019
50437fd
Fixed duplicate browserslist config (#628)
kevinansfield Oct 21, 2019
3e910e9
Updated built CSS (#627)
kevinansfield Oct 21, 2019
ff51925
Fixed sticky title and author hover JS (#629)
kevinansfield Oct 21, 2019
57cee0c
3.0.0-beta.8
allouis Oct 21, 2019
e37e444
Update deploy-theme.yml
ErisDS Oct 21, 2019
17ba4ad
3.0.0
allouis Oct 21, 2019
307c334
🐛 Fixed images on infinite scroll index pages being stretched in Safa…
kevinansfield Oct 24, 2019
8993409
Error page improvements (#639)
peterzimon Oct 28, 2019
6d56e58
3.0.1
kevinansfield Oct 29, 2019
68b0270
Dark mode table style fix (#641)
peterzimon Oct 29, 2019
a1fc609
Very small fix on author meta links color
amgaae Oct 23, 2019
0658491
Author meta and bookmark style refinements
peterzimon Oct 30, 2019
c82e1cb
3.0.2
kevinansfield Oct 30, 2019
a66beb4
🐛 Fixed page style in dark mode
peterzimon Oct 30, 2019
e4afcc2
Update dependency @tryghost/release-utils to v0.3.3
renovate-bot Nov 1, 2019
1c5db5c
Update dependency autoprefixer to v9.7.1
renovate-bot Nov 1, 2019
7733f0d
Update dependency gscan to v3.1.1
renovate-bot Nov 1, 2019
88e3db9
Switched to gscan testing via GitHub Actions
daniellockyer Nov 8, 2019
fb9f0e6
Remove Travis from Renovate config
daniellockyer Nov 8, 2019
4c7fced
3.0.3
naz Nov 11, 2019
e253954
Lock file maintenance (#650)
renovate[bot] Nov 11, 2019
7c8cba7
Pin dependency gulp-concat to 2.6.1 (#647)
renovate[bot] Nov 11, 2019
5063d40
Remove backdrop filter from subscribe overlay
casper-hansen Nov 24, 2019
98543dd
3.0.4
kevinansfield Nov 27, 2019
bf4b8d7
✨ Added secondary navigation (#664)
peterzimon Dec 4, 2019
fee94ba
3.0.5
naz Dec 4, 2019
f55e2b0
Update dependency gscan to v3.2.1
renovate-bot Jan 1, 2020
aec67d8
2020
JohnONolan Jan 7, 2020
09d701c
🐛 Removed non-existent variable
peterzimon Jan 10, 2020
7c87383
3.0.6
allouis Jan 13, 2020
d9cf22a
Update dependency gscan to v3.3.0
renovate-bot Feb 1, 2020
c27fc17
3.0.7
daniellockyer Feb 5, 2020
92d9174
Update dependency @tryghost/release-utils to v0.4.1
renovate-bot Mar 1, 2020
b09e846
Update dependency postcss-custom-properties to v9.1.1
renovate-bot Mar 1, 2020
9ec0f08
3.0.8
daniellockyer Mar 2, 2020
1ec7a12
Bumped dependency versions
daniellockyer Mar 2, 2020
74ae3d5
🐛 Fixed image alignment for small images
peterzimon Mar 3, 2020
9e29e14
🐛 Subscribe overlay fixes
peterzimon Mar 4, 2020
e5969f9
Improved author and tag header styles
peterzimon Mar 4, 2020
702b2cb
Refined width of image captions
peterzimon Mar 4, 2020
93628dc
3.0.9
daniellockyer Mar 9, 2020
8886056
Fixed navigation scrollbar bug
peterzimon Mar 11, 2020
9ff3aa7
3.0.10
daniellockyer Mar 23, 2020
150b698
Updated Renovate config with new structure
daniellockyer Mar 26, 2020
c8abe3a
3.0.11
daniellockyer Mar 26, 2020
3281f75
Update dependency gscan to v3.4.0
renovate-bot Mar 31, 2020
c9a54e2
Enabled CI for Renovate branches
daniellockyer Mar 31, 2020
6bf34a5
Moved Casper release code into gulpfile
daniellockyer Mar 31, 2020
4fe7010
Update dependency @tryghost/release-utils to v0.4.2
renovate-bot Mar 31, 2020
7d37adb
Update dependency autoprefixer to v9.7.5
renovate-bot Mar 31, 2020
c97b847
Update dependency @tryghost/release-utils to v0.5.0
renovate-bot Apr 1, 2020
709c719
Post cards > Lazyload (#701)
rafaelstz Apr 3, 2020
2da322d
Lock file maintenance (#699)
renovate[bot] Apr 3, 2020
8e17cdc
update sdeploy theme (#692)
ddsbrddn Apr 3, 2020
7646f90
Updated theme name in deploy GitHub Actions
daniellockyer Apr 3, 2020
14f7cc4
Updated built files
daniellockyer Apr 3, 2020
31d4386
Updated release script
daniellockyer Apr 3, 2020
690ca22
Removed test addition
daniellockyer Apr 3, 2020
387a2aa
Switch testing to built-in Nodejs
daniellockyer Apr 6, 2020
201b192
Update dependency gscan to v3.4.1
renovate-bot Apr 6, 2020
eed15fd
Update dependency autoprefixer to v9.7.6
renovate-bot Apr 6, 2020
feb7f3a
3.0.12
daniellockyer Apr 7, 2020
2bd82a3
Update dependency @tryghost/release-utils to v0.6.0
renovate-bot Apr 7, 2020
8f1a152
Update dependency @tryghost/release-utils to v0.6.1
renovate-bot Apr 16, 2020
e0771bf
Update dependency gscan to v3.5.2
renovate-bot Apr 20, 2020
7e0e45c
Change border-left on blockquote to use color variables (#705)
icaroharry Apr 22, 2020
4ddbaae
Update dependency gscan to v3.5.3
renovate-bot Apr 22, 2020
2ed7ea8
Lock file maintenance (#709)
renovate[bot] May 1, 2020
adc0554
Update dependency gscan to v3.5.4
renovate-bot May 1, 2020
6f37e5a
Update dependency @tryghost/release-utils to v0.6.2
renovate-bot May 8, 2020
871fc40
Update dependency autoprefixer to v9.8.0
renovate-bot May 18, 2020
d3ffc71
Update dependency @tryghost/release-utils to v0.6.3
renovate-bot May 26, 2020
43ca46b
Merge remote-tracking branch 'origin/master' into master
smoebody May 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/deploy-theme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy Theme
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- uses: TryGhost/action-deploy-theme@v1.2.1
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
theme-name: "casper-master"
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Test
on:
pull_request:
push:
branches:
- master
- 'renovate/*'
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
steps:
- uses: actions/checkout@v1
- run: yarn
- run: yarn test:ci
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ projectFilesBackup
.DS_Store

dist/

config.json
changelog.md
changelog.md.bk
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version-tag-prefix ""
version-git-message "%s"
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributing to WorldCasper2

Thank you for any contribution to theme translations, mainly new _.json_ files (based on the English default _en.json_) to translate more languages. See details on [How to Translate your Theme Into Any Language](https://themes.ghost.org/docs/i18n). You can submit a [pull request](https://help.github.com/articles/creating-a-pull-request/) to merge to the default base branch `i18n-translatable-frontend`.

For contributions not related to translations, please submit pull requests to [Casper](https://github.com/TryGhost/Casper), current version of Ghost's default theme, with magazine-like design. [WorldCasper2](https://github.com/juan-g/WorldCasper2) is a translatable version of Casper 2.x, maintaining compatibility and adding just translatability. Contributions that are accepted into Casper will appear in WorldCasper2 as well with later updates.

For the original version with blog-like design, see [WorldCasper1](https://github.com/juan-g/WorldCasper1), a translatable version of [Casper 1.4](https://github.com/TryGhost/Casper/tree/1.4).

Thanks!

## Copyright & License

Copyright (c) 2013-2018 Ghost Foundation - Released under the [MIT license](LICENSE).
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013-2018 Ghost Foundation
Copyright (c) 2013-2020 Ghost Foundation

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
71 changes: 57 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,70 @@
# WorldCasper2

WorldCasper2 is [Casper 2.x](https://github.com/TryGhost/Casper), [Ghost](https://github.com/TryGhost/Ghost)'s default theme, made translatable into any language.

For example, in _.hbs_ theme templates:
```
{{t "Get the latest posts delivered right to your inbox"}}
```

Currently available languages:

- Brazilian Portuguese (`pt-BR`)
- Canadian French (`fr-CA`)
- Chinese (`zh`)
- Croatian (`hr`)
- English (`en`)
- Finnish (`fi`)
- French (`fr`)
- German (`de`)
- Hungarian (`hu`)
- Indonesian (`id`)
- Italian (`it`)
- Lithuanian (`lt`)
- Norwegian Bokmål (`nb`)
- Polish (`pl`)
- Romanian (`ro`)
- Russian (`ru`)
- Spanish (`es`)
- Swedish (`sv`)
- Turkish (`tr`)

The master branch is Casper.

The translatable branch is [i18n-translatable-frontend](https://github.com/juan-g/WorldCasper2/tree/i18n-translatable-frontend).

For Casper 1.4 made translatable, see [WorldCasper1](https://github.com/juan-g/WorldCasper1).

Details in Ghost's blog post [Theme translations and blog localisation](https://dev.ghost.org/theme-translations/).

# Casper

The default theme for [Ghost](http://github.com/tryghost/ghost/). This is the latest development version of Casper. If you're just looking to download the latest release, head over to the [releases](https://github.com/TryGhost/Casper/releases) page.
The default theme for [Ghost](http://github.com/tryghost/ghost/). This is the latest development version of Casper! If you're just looking to download the latest release, head over to the [releases](https://github.com/TryGhost/Casper/releases) page.

 

![screenshot-desktop](https://user-images.githubusercontent.com/120485/27221326-1e31d326-5280-11e7-866d-82d550a7683b.jpg)
![screenshot-desktop](https://user-images.githubusercontent.com/353959/66987533-40eae100-f0c1-11e9-822e-cbaf38fb8e3f.png)

 

# First time using a Ghost theme?

Ghost uses a simple templating language called [Handlebars](http://handlebarsjs.com/) for its themes.

We've documented our default theme pretty heavily so that it should be fairly easy to work out what's going on just by reading the code and the comments. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://themes.ghost.org) which explains every possible Handlebars helper and template.
This theme has lots of code comments to help explain what's going on just by reading the code. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://ghost.org/docs/api/handlebars-themes/) which explains every possible Handlebars helper and template.

**The main files are:**

- `default.hbs` - The main template file
- `index.hbs` - Used for the home page
- `post.hbs` - Used for individual posts
- `default.hbs` - The parent template file, which includes your global header/footer
- `index.hbs` - The main template to generate a list of posts, usually the home page
- `post.hbs` - The template used to render individual posts
- `page.hbs` - Used for individual pages
- `tag.hbs` - Used for tag archives
- `author.hbs` - Used for author archives
- `tag.hbs` - Used for tag archives, eg. "all posts tagged with `news`"
- `author.hbs` - Used for author archives, eg. "all posts written by Jamie"

One really neat trick is that you can also create custom one-off templates just by adding the slug of a page to a template file. For example:
One neat trick is that you can also create custom one-off templates by adding the slug of a page to a template file. For example:

- `page-about.hbs` - Custom template for the `/about/` page
- `page-about.hbs` - Custom template for an `/about/` page
- `tag-news.hbs` - Custom template for `/tag/news/` archive
- `author-ali.hbs` - Custom template for `/author/ali/` archive

Expand All @@ -35,16 +74,20 @@ One really neat trick is that you can also create custom one-off templates just
Casper styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory:

```bash
$ yarn install
$ yarn dev
# install dependencies
yarn install

# run development server
yarn dev
```

Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically.

The `zip` Gulp task packages the theme files into `dist/<theme-name>.zip`, which you can then upload to your site.

```bash
$ yarn zip
# create .zip file
yarn zip
```

# PostCSS Features Used
Expand All @@ -63,4 +106,4 @@ You can add your own SVG icons in the same manner.

# Copyright & License

Copyright (c) 2013-2018 Ghost Foundation - Released under the [MIT license](LICENSE).
Copyright (c) 2013-2020 Ghost Foundation - Released under the [MIT license](LICENSE).
9 changes: 9 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Reporting Security Vulnerabilities

Potential security vulnerabilities can be reported directly us at `security@ghost.org`. The Ghost Security Team communicates privately and works in a secured, isolated repository for tracking, testing, and resolving security-related issues.

The full, up-to-date details of our security policy and procedure can always be found in our documentation:

https://ghost.org/docs/concepts/security/

Please refer to this before emailing us. Thanks for helping make Ghost safe for everyone 🙏.
2 changes: 2 additions & 0 deletions assets/built/casper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading