Configurable mastodon instance and small style fix
This commit is contained in:
parent
4c21f9098c
commit
5e26921aaa
|
@ -2,3 +2,5 @@ baseURL: 'http://example.org/'
|
||||||
languageCode: 'en-us'
|
languageCode: 'en-us'
|
||||||
title: 'My New Hugo Site'
|
title: 'My New Hugo Site'
|
||||||
theme: 'poc'
|
theme: 'poc'
|
||||||
|
params:
|
||||||
|
mastodonurl: https://framapiaf.org
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="fedicomment-container" data-mastodonurl="https://framapiaf.org" data-postid="{{ .Params.postid }}">
|
<div id="fedicomment-container" data-mastodonurl="{{ if .Params.mastodonurl }}{{ .Params.mastodonurl }}{{ else }}{{ .Site.Params.mastodonurl }}{{ end }}" data-postid="{{ .Params.postid }}">
|
||||||
<div class="fedicomment-alert fedicomment-warning">Your browser must support JS to view comments</div>
|
<div class="fedicomment-alert fedicomment-warning">Your browser must support JS to view comments</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="/fedicomment.js"></script>
|
<script src="/fedicomment.js"></script>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
padding-left: 5px;
|
||||||
border-left: solid grey 1px;
|
border-left: solid grey 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue