Updated the theme name in other places

This commit is contained in:
Sodbileg Gansukh
2023-09-15 17:47:56 +08:00
parent a112cdb10d
commit 97fda795b2
5 changed files with 12 additions and 12 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -9,7 +9,7 @@
{{!-- Preload main styles and scripts for better performance --}}
<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 --}}
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}">
@@ -58,7 +58,7 @@
{{/is}}
{{!-- 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_foot}}
+5 -5
View File
@@ -18,8 +18,8 @@ const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const easyimport = require('postcss-easy-import');
const REPO = 'TryGhost/Casper';
const REPO_READONLY = 'TryGhost/Casper';
const REPO = 'TryGhost/Source';
const REPO_READONLY = 'TryGhost/Source';
const CHANGELOG_PATH = path.join(process.cwd(), '.', 'changelog.md');
function serve(done) {
@@ -63,7 +63,7 @@ function js(done) {
'assets/js/lib/*.js',
'assets/js/*.js'
], {sourcemaps: true}),
concat('casper.js'),
concat('source.js'),
uglify(),
dest('assets/built/', {sourcemaps: '.'}),
livereload()
@@ -128,7 +128,7 @@ exports.release = async () => {
const compatibleWithGhost = result.compatibleWithGhost;
const releasesResponse = await releaseUtils.releases.get({
userAgent: 'Casper',
userAgent: 'Source',
uri: `https://api.github.com/repos/${REPO_READONLY}/releases`
});
@@ -158,7 +158,7 @@ exports.release = async () => {
preRelease: false,
tagName: 'v' + newVersion,
releaseName: newVersion,
userAgent: 'Casper',
userAgent: 'Source',
uri: `https://api.github.com/repos/${REPO}/releases`,
github: {
token: githubToken
+3 -3
View File
@@ -36,10 +36,10 @@
],
"repository": {
"type": "git",
"url": "https://github.com/TryGhost/Casper.git"
"url": "https://github.com/TryGhost/Source.git"
},
"bugs": "https://github.com/TryGhost/Casper/issues",
"contributors": "https://github.com/TryGhost/Casper/graphs/contributors",
"bugs": "https://github.com/TryGhost/Source/issues",
"contributors": "https://github.com/TryGhost/Source/graphs/contributors",
"devDependencies": {
"@tryghost/release-utils": "0.8.1",
"autoprefixer": "10.4.7",