diff --git a/exampleSite/content/en/usage/customization.md b/exampleSite/content/en/usage/customization.md new file mode 100644 index 0000000..bb67c75 --- /dev/null +++ b/exampleSite/content/en/usage/customization.md @@ -0,0 +1,16 @@ +--- +title: Customization +--- + +{{< toc >}} + +## Custom resources + +To add custom resources to your site e.g. CSS or JavaScript files, create the `layouts/partials/head/custom.html` in the root dir of your project. Add the source files you want to include in the `static/` folder of your project, for example `static/css/custom.css` and `static/js/custom.js`. To include the files in your site, add the following code to `layouts/partials/head/custom.html`: + +```html + + +``` + +Ensure to use the absolute path to the files. diff --git a/layouts/partials/head/custom.html b/layouts/partials/head/custom.html index 44862c7..8e11485 100644 --- a/layouts/partials/head/custom.html +++ b/layouts/partials/head/custom.html @@ -1 +1,9 @@ - +