mirror of
https://github.com/aljazceru/hacker-gh-pages-theme.git
synced 2025-12-17 14:14:23 +01:00
README: Add hint on how to customize by providing _includes.
This commit is contained in:
@@ -60,10 +60,11 @@ If you'd like to add your own custom styles:
|
||||
|
||||
If you'd like to change the theme's HTML layout:
|
||||
|
||||
1. [Copy the original template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
|
||||
2. Create a file called `/_layouts/default.html` in your site
|
||||
3. Paste the default layout content copied in the first step
|
||||
4. Customize the layout as you'd like
|
||||
1. For some changes such as a custom `favicon`, you can add custom files in your local `_includes` folder. The files [provided with the theme](https://github.com/pages-themes/hacker/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html).
|
||||
2. For more invasive changes, [copy the original template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
|
||||
3. Create a file called `/_layouts/default.html` in your site
|
||||
4. Paste the default layout content copied in the first step
|
||||
5. Customize the layout as you'd like
|
||||
|
||||
### Overriding GitHub-generated URLs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user