docs: set unsafe HTML parsing to false and fix raw HTML insertion
This means that markdown files can't contain <thing> any more.
This commit is contained in:
parent
06427371eb
commit
74b8cbfb84
128 changed files with 945 additions and 645 deletions
1
docs/layouts/shortcodes/asciinema.html
Normal file
1
docs/layouts/shortcodes/asciinema.html
Normal file
|
@ -0,0 +1 @@
|
|||
<script src="https://asciinema.org/a/{{ .Get 0 }}.js" id="asciicast-{{ .Get 0 }}" async></script>
|
1
docs/layouts/shortcodes/color.html
Normal file
1
docs/layouts/shortcodes/color.html
Normal file
|
@ -0,0 +1 @@
|
|||
<span style="color: {{ .Get 0 }}">{{ .Inner }}</span>
|
1
docs/layouts/shortcodes/icon.html
Normal file
1
docs/layouts/shortcodes/icon.html
Normal file
|
@ -0,0 +1 @@
|
|||
<i class="{{ .Get 0 }}" aria-hidden="true"></i>
|
1
docs/layouts/shortcodes/img.html
Normal file
1
docs/layouts/shortcodes/img.html
Normal file
|
@ -0,0 +1 @@
|
|||
<img width="{{ .Get "width" }}" src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" style="{{ .Get "style" | safeCSS }}">
|
16
docs/layouts/shortcodes/monthly_donations.html
Normal file
16
docs/layouts/shortcodes/monthly_donations.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<div>
|
||||
<a class="btn btn-secondary" role="button" href="https://github.com/sponsors/ncw" target="_blank"><i class="fab fa-github" aria-hidden="true"></i> GitHub Sponsors</a>
|
||||
<div class="dropdown" style="display: inline;">
|
||||
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fab fa-paypal" aria-hidden="true"></i> Paypal
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<span class="dropdown-item"><small class="text-muted">Please check the "monthly" box</small></span>
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B9JZV25DCP2SJ&source=url">Donate in $ USD</a>
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RGRFXCDDHK3LW&source=url">Donate in £ GBP</a>
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2AMZXSALFBR4&source=url">Donate in € EUR</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-secondary" role="button" href="https://github.com/sponsors/ncw" target="_blank"><i class="fab fa-patreon" aria-hidden="true"></i> Patreon</a>
|
||||
<a class="btn btn-secondary" role="button" href="https://github.com/sponsors/ncw" target="_blank">Liberapay</a>
|
||||
</div>
|
25
docs/layouts/shortcodes/one_off_donations.html
Normal file
25
docs/layouts/shortcodes/one_off_donations.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<div>
|
||||
<div class="dropdown" style="display: inline;">
|
||||
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fab fa-paypal" aria-hidden="true"></i> Paypal
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B9JZV25DCP2SJ&source=url">Donate in $ USD</a>
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RGRFXCDDHK3LW&source=url">Donate in £ GBP</a>
|
||||
<a class="dropdown-item" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2AMZXSALFBR4&source=url">Donate in € EUR</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-secondary" role="button" href="https://www.paypal.me/nickcw" target="_blank"><i class="fab fa-paypal" aria-hidden="true"></i> Paypal.me</a>
|
||||
<div class="dropdown" style="display: inline;">
|
||||
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fab fa-bitcoin" aria-hidden="true"></i> Bitcoin
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<span class="dropdown-item">Bitcoin: scan or click the image or copy the address</span>
|
||||
<a class="dropdown-item" target="_blank" href="bitcoin:19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk"><img src="/img/ncw-bitcoin-address.png"></a>
|
||||
<span class="dropdown-item">
|
||||
<input type="text" value="19j3oLUsqBcTRvZ2LSq2phVjsAAJ86xSnk" size="30" readonly>
|
||||
<button class="btn btn-secondary copy-to-clipboard" type="button" data-toggle="tooltip" data-placement="button" title="Copy to Clipboard"><i class="fas fa-copy" aria-hidden="true"></i></button></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
0
docs/layouts/shortcodes/rem.html
Normal file
0
docs/layouts/shortcodes/rem.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue