Updated the theme name in other places
This commit is contained in:
parent
a112cdb10d
commit
97fda795b2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{{!-- Preload main styles and scripts for better performance --}}
|
{{!-- Preload main styles and scripts for better performance --}}
|
||||||
<link rel="preload" as="style" href="{{asset "built/screen.css"}}">
|
<link rel="preload" as="style" href="{{asset "built/screen.css"}}">
|
||||||
<link rel="preload" as="script" href="{{asset "built/casper.js"}}">
|
<link rel="preload" as="script" href="{{asset "built/source.js"}}">
|
||||||
|
|
||||||
{{!-- Theme assets - use the {{asset}} helper to reference styles & scripts, this will take care of caching and cache-busting automatically --}}
|
{{!-- Theme assets - use the {{asset}} helper to reference styles & scripts, this will take care of caching and cache-busting automatically --}}
|
||||||
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}">
|
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}">
|
||||||
@ -58,7 +58,7 @@
|
|||||||
{{/is}}
|
{{/is}}
|
||||||
|
|
||||||
{{!-- Scripts - handle responsive videos, infinite scroll, and navigation dropdowns --}}
|
{{!-- Scripts - handle responsive videos, infinite scroll, and navigation dropdowns --}}
|
||||||
<script src="{{asset "built/casper.js"}}"></script>
|
<script src="{{asset "built/source.js"}}"></script>
|
||||||
|
|
||||||
{{!-- Ghost outputs required functional scripts with this tag, it should always be the last thing before the closing body tag --}}
|
{{!-- Ghost outputs required functional scripts with this tag, it should always be the last thing before the closing body tag --}}
|
||||||
{{ghost_foot}}
|
{{ghost_foot}}
|
||||||
|
10
gulpfile.js
10
gulpfile.js
@ -18,8 +18,8 @@ const autoprefixer = require('autoprefixer');
|
|||||||
const cssnano = require('cssnano');
|
const cssnano = require('cssnano');
|
||||||
const easyimport = require('postcss-easy-import');
|
const easyimport = require('postcss-easy-import');
|
||||||
|
|
||||||
const REPO = 'TryGhost/Casper';
|
const REPO = 'TryGhost/Source';
|
||||||
const REPO_READONLY = 'TryGhost/Casper';
|
const REPO_READONLY = 'TryGhost/Source';
|
||||||
const CHANGELOG_PATH = path.join(process.cwd(), '.', 'changelog.md');
|
const CHANGELOG_PATH = path.join(process.cwd(), '.', 'changelog.md');
|
||||||
|
|
||||||
function serve(done) {
|
function serve(done) {
|
||||||
@ -63,7 +63,7 @@ function js(done) {
|
|||||||
'assets/js/lib/*.js',
|
'assets/js/lib/*.js',
|
||||||
'assets/js/*.js'
|
'assets/js/*.js'
|
||||||
], {sourcemaps: true}),
|
], {sourcemaps: true}),
|
||||||
concat('casper.js'),
|
concat('source.js'),
|
||||||
uglify(),
|
uglify(),
|
||||||
dest('assets/built/', {sourcemaps: '.'}),
|
dest('assets/built/', {sourcemaps: '.'}),
|
||||||
livereload()
|
livereload()
|
||||||
@ -128,7 +128,7 @@ exports.release = async () => {
|
|||||||
const compatibleWithGhost = result.compatibleWithGhost;
|
const compatibleWithGhost = result.compatibleWithGhost;
|
||||||
|
|
||||||
const releasesResponse = await releaseUtils.releases.get({
|
const releasesResponse = await releaseUtils.releases.get({
|
||||||
userAgent: 'Casper',
|
userAgent: 'Source',
|
||||||
uri: `https://api.github.com/repos/${REPO_READONLY}/releases`
|
uri: `https://api.github.com/repos/${REPO_READONLY}/releases`
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ exports.release = async () => {
|
|||||||
preRelease: false,
|
preRelease: false,
|
||||||
tagName: 'v' + newVersion,
|
tagName: 'v' + newVersion,
|
||||||
releaseName: newVersion,
|
releaseName: newVersion,
|
||||||
userAgent: 'Casper',
|
userAgent: 'Source',
|
||||||
uri: `https://api.github.com/repos/${REPO}/releases`,
|
uri: `https://api.github.com/repos/${REPO}/releases`,
|
||||||
github: {
|
github: {
|
||||||
token: githubToken
|
token: githubToken
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/TryGhost/Casper.git"
|
"url": "https://github.com/TryGhost/Source.git"
|
||||||
},
|
},
|
||||||
"bugs": "https://github.com/TryGhost/Casper/issues",
|
"bugs": "https://github.com/TryGhost/Source/issues",
|
||||||
"contributors": "https://github.com/TryGhost/Casper/graphs/contributors",
|
"contributors": "https://github.com/TryGhost/Source/graphs/contributors",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tryghost/release-utils": "0.8.1",
|
"@tryghost/release-utils": "0.8.1",
|
||||||
"autoprefixer": "10.4.7",
|
"autoprefixer": "10.4.7",
|
||||||
|
Loading…
Reference in New Issue
Block a user