Skip to content

Commit f2d25b6

Browse files
committed
Remove autoprefixer; match navigation and header partials to default Ghost theme.
1 parent 980d2dd commit f2d25b6

18 files changed

+466
-434
lines changed

assets/built/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/page.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/post.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
</head>
3131

3232
<body class="{{body_class}}">
33-
{{> "site-navigation" }}
34-
{{> "navigation/mobile-menu" }}
33+
{{> "components/header" }}
34+
{{> "menus/mobile-menu" }}
3535
<div class="viewport">
3636
<div class="site-content">
3737
{{! All other templates get inserted here, index.hbs, post.hbs, etc}}

error.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515

1616
<body class="error-template">
17-
{{> "site-navigation" }}
17+
{{> "header" }}
1818
<div class="viewport">
1919
<main class="error-content error-{{statusCode}}">
2020
<section class="error-message">

package.json

Lines changed: 148 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -1,151 +1,150 @@
11
{
2-
"name": "hackersandslackers",
3-
"description": "A clean, minimal theme for Ghost CMS",
4-
"version": "0.0.1",
5-
"license": "MIT",
6-
"screenshots": {
7-
"desktop": "assets/screenshot-desktop.jpg",
8-
"mobile": "assets/screenshot-mobile.jpg"
9-
},
10-
"scripts": {
11-
"dev": "webpack --mode=development",
12-
"test": "gscan .",
13-
"test:ci": "gscan --fatal --verbose .",
14-
"pretest": "webpack --mode=production",
15-
"preship": "yarn test",
16-
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; else echo \"Uncommitted changes found.\" && exit 1; fi",
17-
"postship": "git fetch && webpack --mode=production",
18-
"build": "webpack --mode=production"
19-
},
20-
"author": {
21-
"name": "hackersandslackers",
22-
"email": "[email protected]",
23-
"url": "https://hackersandslackers.com/"
24-
},
25-
"gpm": {
26-
"type": "theme",
27-
"categories": [
28-
"Minimal",
29-
"Magazine"
30-
]
31-
},
32-
"keywords": [
33-
"ghost",
34-
"theme",
35-
"ghost-theme",
36-
"blog"
37-
],
38-
"repository": {
39-
"type": "git",
40-
"url": "https://github.com/hackersandslackers/hackersandslackers-theme.git"
41-
},
42-
"bugs": "https://github.com/hackersandslackers/hackersandslackers-theme/issues",
43-
"contributors": [
44-
"https://github.com/hackersandslackers/hackersandslackers-theme/graphs/contributors"
45-
],
46-
"dependencies": {
47-
"@rocktimsaikia/github-card": "^3.0.1",
48-
"babel-plugin-prismjs": "^2.1.0",
49-
"basiclightbox": "^5.0.4",
50-
"delicious-hamburgers": "^1.2.3",
51-
"dotenv": "^16.4.5",
52-
"dotenv-webpack": "^8.1.0",
53-
"github-profile-card": "^3.1.0",
54-
"prismjs": "^1.29.0"
55-
},
56-
"devDependencies": {
57-
"@babel/core": "^7.24.4",
58-
"@babel/preset-env": "^7.24.4",
59-
"@tryghost/release-utils": "0.8.1",
60-
"autoprefixer": "10.4.19",
61-
"babel-loader": "^9.1.3",
62-
"babel-plugin-import": "^1.13.8",
63-
"babel-plugin-module-resolver": "^5.0.2",
64-
"beeper": "3.0.0",
65-
"css-loader": "^7.1.1",
66-
"cssnano": "7.0.1",
67-
"font-config-webpack-plugin": "^2.0.3",
68-
"inquirer": "8.2.4",
69-
"mini-css-extract-plugin": "^2.9.0",
70-
"postcss": "8.4.38",
71-
"postcss-color-mod-function": "3.0.3",
72-
"postcss-easy-import": "4.0.0",
73-
"pump": "3.0.0",
74-
"sass": "^1.75.0",
75-
"sass-loader": "^14.2.1",
76-
"style-loader": "^14.2.1",
77-
"terser-webpack-plugin": "^5.3.10",
78-
"webpack": "^5.91.0",
79-
"webpack-cli": "^5.1.4"
80-
},
81-
"browserslist": [
82-
"defaults"
83-
],
84-
"config": {
85-
"posts_per_page": 15,
86-
"image_sizes": {
87-
"xxs": {
88-
"width": 30
89-
},
90-
"xs": {
91-
"width": 100
92-
},
93-
"s": {
94-
"width": 300
95-
},
96-
"m": {
97-
"width": 600
98-
},
99-
"l": {
100-
"width": 1000
101-
},
102-
"xl": {
103-
"width": 2000
104-
}
105-
},
106-
"card_assets": true
107-
},
108-
"custom": {
109-
"navigation_layout": {
110-
"type": "select",
111-
"options": [
112-
"Logo in the middle",
113-
"Logo on the left",
114-
"Stacked"
115-
],
116-
"default": "Logo in the middle"
117-
},
118-
"site_background_color": {
119-
"type": "color",
120-
"default": "#ffffff"
121-
},
122-
"header_and_footer_color": {
123-
"type": "select",
124-
"options": [
125-
"Background color",
126-
"Accent color"
127-
],
128-
"default": "Background color"
129-
},
130-
"show_author": {
131-
"type": "boolean",
132-
"default": true,
133-
"group": "homepage"
134-
},
135-
"show_publish_date": {
136-
"type": "boolean",
137-
"default": true,
138-
"group": "homepage"
139-
},
140-
"show_publication_info_sidebar": {
141-
"type": "boolean",
142-
"default": false,
143-
"group": "homepage"
144-
}
145-
},
146-
"renovate": {
147-
"extends": [
148-
"@tryghost:theme"
149-
]
150-
}
2+
"name": "hackersandslackers",
3+
"description": "A clean, minimal theme for Ghost CMS",
4+
"version": "0.0.1",
5+
"license": "MIT",
6+
"screenshots": {
7+
"desktop": "assets/screenshot-desktop.jpg",
8+
"mobile": "assets/screenshot-mobile.jpg"
9+
},
10+
"scripts": {
11+
"dev": "webpack --mode=development",
12+
"test": "gscan .",
13+
"test:ci": "gscan --fatal --verbose .",
14+
"pretest": "webpack --mode=production",
15+
"preship": "yarn test",
16+
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; else echo \"Uncommitted changes found.\" && exit 1; fi",
17+
"postship": "git fetch && webpack --mode=production",
18+
"build": "webpack --mode=production"
19+
},
20+
"author": {
21+
"name": "hackersandslackers",
22+
"email": "[email protected]",
23+
"url": "https://hackersandslackers.com/"
24+
},
25+
"gpm": {
26+
"type": "theme",
27+
"categories": [
28+
"Minimal",
29+
"Magazine"
30+
]
31+
},
32+
"keywords": [
33+
"ghost",
34+
"theme",
35+
"ghost-theme",
36+
"blog"
37+
],
38+
"repository": {
39+
"type": "git",
40+
"url": "https://github.com/hackersandslackers/hackersandslackers-theme.git"
41+
},
42+
"bugs": "https://github.com/hackersandslackers/hackersandslackers-theme/issues",
43+
"contributors": [
44+
"https://github.com/hackersandslackers/hackersandslackers-theme/graphs/contributors"
45+
],
46+
"dependencies": {
47+
"@rocktimsaikia/github-card": "^3.0.1",
48+
"babel-plugin-prismjs": "^2.1.0",
49+
"basiclightbox": "^5.0.4",
50+
"delicious-hamburgers": "^1.2.3",
51+
"dotenv": "^16.4.5",
52+
"dotenv-webpack": "^8.1.0",
53+
"github-profile-card": "^3.1.0",
54+
"prismjs": "^1.29.0"
55+
},
56+
"devDependencies": {
57+
"@babel/core": "^7.24.5",
58+
"@babel/preset-env": "^7.24.5",
59+
"@tryghost/release-utils": "0.8.1",
60+
"babel-loader": "^9.1.3",
61+
"babel-plugin-import": "^1.13.8",
62+
"babel-plugin-module-resolver": "^5.0.2",
63+
"beeper": "3.0.0",
64+
"css-loader": "^7.1.1",
65+
"cssnano": "7.0.1",
66+
"font-config-webpack-plugin": "^2.0.3",
67+
"inquirer": "8.2.4",
68+
"mini-css-extract-plugin": "^2.9.0",
69+
"postcss": "^8.4.38",
70+
"postcss-easy-import": "4.0.0",
71+
"postcss-loader": "^8.1.1",
72+
"pump": "3.0.0",
73+
"sass": "^1.76.0",
74+
"sass-loader": "^14.2.1",
75+
"style-loader": "^4.0.0",
76+
"terser-webpack-plugin": "^5.3.10",
77+
"webpack": "^5.91.0",
78+
"webpack-cli": "^5.1.4"
79+
},
80+
"browserslist": [
81+
"defaults"
82+
],
83+
"config": {
84+
"posts_per_page": 15,
85+
"image_sizes": {
86+
"xxs": {
87+
"width": 30
88+
},
89+
"xs": {
90+
"width": 100
91+
},
92+
"s": {
93+
"width": 300
94+
},
95+
"m": {
96+
"width": 600
97+
},
98+
"l": {
99+
"width": 1000
100+
},
101+
"xl": {
102+
"width": 2000
103+
}
104+
},
105+
"card_assets": true
106+
},
107+
"custom": {
108+
"navigation_layout": {
109+
"type": "select",
110+
"options": [
111+
"Logo in the middle",
112+
"Logo on the left",
113+
"Stacked"
114+
],
115+
"default": "Logo in the middle"
116+
},
117+
"site_background_color": {
118+
"type": "color",
119+
"default": "#ffffff"
120+
},
121+
"header_and_footer_color": {
122+
"type": "select",
123+
"options": [
124+
"Background color",
125+
"Accent color"
126+
],
127+
"default": "Background color"
128+
},
129+
"show_author": {
130+
"type": "boolean",
131+
"default": true,
132+
"group": "homepage"
133+
},
134+
"show_publish_date": {
135+
"type": "boolean",
136+
"default": true,
137+
"group": "homepage"
138+
},
139+
"show_publication_info_sidebar": {
140+
"type": "boolean",
141+
"default": false,
142+
"group": "homepage"
143+
}
144+
},
145+
"renovate": {
146+
"extends": [
147+
"@tryghost:theme"
148+
]
149+
}
151150
}

partials/site-navigation.hbs renamed to partials/components/header.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<a href="#/portal/signin" class="nav-btn outline">{{t 'Sign in' }}</a>
3737
<a href="#/portal/signup" class="nav-btn filled">{{t 'Subscribe' }}</a>
3838
{{/if}}
39-
{{> "navigation/hamburger" }}
39+
{{> "menu/hamburger" }}
4040
</div>
4141
</div>
4242
</div>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)