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

Added empty add-on.css and add-on.js files and extended the documenta… #88

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ _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 add your custom scripts to the `cssFiles` and `jsFiles`
parameters in *config.toml*.

### Hugo's Built-In Server

To see a live version of your site locally, use the following command:
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