Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Removed references to add-on.*
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentTam committed Aug 26, 2019
1 parent eaf172e commit 7973044
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 27 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ _false_ will turn a feature **off**. It is structured as follows:
### 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`.
To do this your can add your custom scripts to the `cssFiles` and `jsFiles`
parameters in *config.toml*.

### Hugo's Built-In Server

Expand Down
6 changes: 0 additions & 6 deletions exampleSite/static/css/add-on.css

This file was deleted.

6 changes: 0 additions & 6 deletions exampleSite/static/js/add-on.js

This file was deleted.

1 change: 0 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
{{ $mainCSSOptions := (dict "targetPath" "css/main.min.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $mainCSSOptions | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
<link rel="stylesheet" href="{{ "css/add-on.css" | relURL }}">
{{ else }}
<link rel="stylesheet" href="{{ . | relURL }}">
{{ end }}
Expand Down
1 change: 0 additions & 1 deletion layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js"></script>
<script src={{ "js/util.js" | relURL }}></script>
<script src={{ "js/main.js" | relURL }}></script>
<script src={{ "js/add-on.js" | relURL }}></script>
{{ else }}
<script src="{{ . | relURL }}"></script>
{{ end }}
Expand Down
6 changes: 0 additions & 6 deletions static/css/add-on.css

This file was deleted.

6 changes: 0 additions & 6 deletions static/js/add-on.js

This file was deleted.

0 comments on commit 7973044

Please sign in to comment.