Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Dec 31, 2023
1 parent 5e07650 commit 16a8dac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ This theme offers two ways to add custom CSS or JS assets, allowing minor modifi

### Site-Wide

Custom CSS and JS files can be loaded as part of the base asset linked by every page. To do so, their filenames have to be added to the [site configuration](#configuration):
Custom CSS and JS files can be loaded as part of the base assets linked by every page. To do so, their filenames have to be added to the [site configuration](#configuration):

```yaml
params:
Expand Down Expand Up @@ -233,8 +233,7 @@ As a real-life example, this is the template for the built-in SoundCloud shortco
{{ resources.Get "js/soundcloud.js" | minify | fingerprint | .Page.Scratch.SetInMap "js" "soundcloud" }}

<div class="Soundcloud">
<a href="{{ .Get 0 }}" target="_blank" class="Soundcloud-player">Open SoundCloud</a>
<a href="https://soundcloud.com/pages/cookies" target="_blank" class="Soundcloud-policy">(cookie policy)</a>
<a href="{{ .Get 0 }}" target="_blank" class="Soundcloud-box Soundcloud-box--link"><span class="Soundcloud-ellipsis">{{ .Get 0 }}</span></a>
</div>
```

Expand Down

0 comments on commit 16a8dac

Please sign in to comment.