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

Hyvor talk support and use local packages for Grunt #214

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Maintaining this project takes a lot of time. You can [buy me a drink](https://p
* Search & Popular Tags
* Post reading progress
* Code highlight including line numbers
* Disqus support
* Disqus and Hyvor talk support
* Member menu buttons
* Ghost accent color

Expand Down Expand Up @@ -91,22 +91,18 @@ Maintaining this project takes a lot of time. You can [buy me a drink](https://p
</script>
````
## ⚙️ Development

Install [Grunt](https://gruntjs.com/getting-started/):
````bash
npm install -g grunt-cli
````
Install Grunt dependencies:
This project uses grunt for building and packaging.
Install dependencies:
````bash
npm install
````
Build Grunt project:
Build project:
````bash
grunt build
npm run build
````
The compress Grunt task packages the theme files into `dist/<theme-name>.zip`, which you can then upload to your site.
The compress task packages the theme files into `dist/<theme-name>.zip`, which you can then upload to your site.
````bash
grunt compress
npm run compress
````
## ⚖️ Copyright & License

Expand Down
2 changes: 1 addition & 1 deletion assets/css/style.css

Large diffs are not rendered by default.

54 changes: 32 additions & 22 deletions package-lock.json

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

17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
"name": "attila",
"description": "Ghost Theme",
"demo": "https://attila.peteramende.de",
"version": "3.4.0",
"version": "3.5.0",
"engines": {
"ghost": ">=4.0.0",
"ghost-api": "v4"
},
"scripts": {
"build": "grunt build",
"compress": "grunt compress"
},
"license": "MIT",
"screenshots": {
"desktop": "src/screenshot-desktop.jpg",
Expand Down Expand Up @@ -73,9 +77,14 @@
"default": "System"
},
"disqus_shortname": {
"type": "text",
"default": "",
"group": "post"
"type": "text",
"default": "",
"group": "post"
},
"hyvor_talk_website_id": {
"type": "text",
"default": "",
"group": "post"
},
"darkmode_accent_color": {
"type": "color",
Expand Down
Loading