barebones/README.md

33 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-01-11 18:09:32 +01:00
# barebones+
_a [barebones](https://github.com/benchmarkstudios/barebones) fork by [Congegni](https://congegni.net)_
2012-11-14 00:42:34 +01:00
2024-01-11 18:09:32 +01:00
We loved barebones, but we needed some adjustments for our projects.
2012-11-14 00:42:34 +01:00
## Features
2024-01-11 18:09:32 +01:00
* For standard barebones features, check out [here](https://github.com/benchmarkstudios/barebones?tab=readme-ov-file#features). We just removed some functions that we don't need.
* Custom `index.php` as 404 template.
* Deferred YouTube Video custom block.
* Added a `css` class and a standard block support:
* `cover` block basic support (in `/assets/styles/_main.scss`)
* `.fullwidth` for full width elements (in `/assets/styles/_main.scss` and `/assets/scripts/scripts.js`)
2014-01-30 12:32:16 +01:00
## Installation
2024-01-11 18:09:32 +01:00
Clone the barebones+ repositories into your WordPress /wp-content/themes/ directory:
2015-03-17 12:15:52 +01:00
2024-01-11 18:09:32 +01:00
git clone https://git.congegni.net/Congegni/barebones
2015-08-05 18:13:15 +02:00
cd barebones
2015-10-14 12:10:55 +02:00
2023-08-03 13:58:20 +02:00
### Using Laravel Mix
2015-10-14 12:48:48 +02:00
2017-06-06 16:23:36 +02:00
Install Dependencies, you have haven't done yet:
2014-01-30 12:32:16 +01:00
2015-04-07 14:38:19 +02:00
npm install
2014-02-07 13:29:13 +01:00
2015-05-12 15:23:58 +02:00
Then run:
2023-08-03 13:57:13 +02:00
| Tasks | |
|---------------------------|--------------------------------------------------------------------|
| `npx mix watch` | *watch assets for changes* |
| `npx mix --production` | *compile for production* |