From ee3906ba6b43dc629713a1d760733f8028081d2f Mon Sep 17 00:00:00 2001 From: Tobias Watzl Date: Mon, 26 Aug 2019 01:50:38 +0200 Subject: [PATCH] Added empty add-on.css and add-on.js files and extended the documentation to explain their purpose. --- README.md | 5 +++++ static/css/add-on.css | 6 ++++++ static/js/add-on.js | 6 ++++++ 3 files changed, 17 insertions(+) create mode 100644 static/css/add-on.css create mode 100644 static/js/add-on.js diff --git a/README.md b/README.md index dbf64596..afab2403 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,11 @@ _false_ will turn a feature **off**. It is structured as follows: └── .Social // Controls Links to Social Media ``` +### Custom JavaScript and CSS + +You can adapt this theme according to your preferences using your own JS or CSS code. +To do this your can write your code in `static/css/add-on.css` and `static/js/add-on.js`. + ### Hugo's Built-In Server To see a live version of your site locally, use the following command: diff --git a/static/css/add-on.css b/static/css/add-on.css new file mode 100644 index 00000000..8796d53e --- /dev/null +++ b/static/css/add-on.css @@ -0,0 +1,6 @@ +/* + This css file is for individual users to restyle items for their personal site, + or for the implementation of features specifically for their site. Anything that + is an official part of the theme (ex. Pull Requests) should be included in main.css + and follow the formatting and style given. +*/ diff --git a/static/js/add-on.js b/static/js/add-on.js new file mode 100644 index 00000000..da67d15c --- /dev/null +++ b/static/js/add-on.js @@ -0,0 +1,6 @@ +/* + This js file is for individual users to modify the scripts for their personal site, + or for the implementation of features specifically for their site. Anything that + is an official part of the theme (ex. Pull Requests) should be included in main.js + and follow the formatting and style given. +*/