Browse Source

Scripted auto-commit on change (2020-11-27 11:30:22) by gitwatch.sh

master
jk 4 years ago
parent
commit
6ab1620160
  1. 12
      content/response/5fbe556a/index.md
  2. 13
      content/response/5fbe584b/index.md
  3. 13
      content/response/5fbe58cd/index.md
  4. 13
      content/response/5fbe5a35/index.md
  5. 2
      themes/nipponalba/layouts/_default/single.html
  6. 8
      themes/nipponalba/layouts/partials/webmention.html
  7. 16
      themes/nipponalba/static/css/style.css

12
content/response/5fbe556a/index.md

@ -1,12 +0,0 @@
---
date: '2020-11-25 13:00:26'
draft: false
in-reply-to: 'https://jk.nipponalba.scot/note/5fbe42fa/'
posttype: in-reply-to
sensitive: 'false'
slug: 5fbe556a
visibility: public
title: in-reply-to
xContent: 'A Post'
---
Testing local replies still work

13
content/response/5fbe584b/index.md

@ -1,13 +0,0 @@
---
date: '2020-11-25 13:12:43'
draft: false
in-reply-to: 'https://jk.nipponalba.scot/note/5fbe42fa/'
pleromaurl: 'https://social.nipponalba.scot/notice/A1Yd40wzVXTuXAwzaa'
posttype: in-reply-to
sensitive: 'false'
slug: 5fbe584b
visibility: public
title: in-reply-to
xContent: 'A Post'
---
Testing if local replies work again

13
content/response/5fbe58cd/index.md

@ -1,13 +0,0 @@
---
date: '2020-11-25 13:14:53'
draft: false
in-reply-to: 'https://jk.nipponalba.scot/note/5fbe42fa/'
pleromaurl: 'https://social.nipponalba.scot/notice/A1YdG1g4d7cCGRlV9U'
posttype: in-reply-to
sensitive: 'false'
slug: 5fbe58cd
visibility: public
title: in-reply-to
xContent: 'A Post'
---
One more time

13
content/response/5fbe5a35/index.md

@ -1,13 +0,0 @@
---
date: '2020-11-25 13:20:53'
draft: false
in-reply-to: 'https://jk.nipponalba.scot/note/5fbe42fa/'
pleromaurl: 'https://social.nipponalba.scot/notice/A1YdnCCQWz8MSAiN1c'
posttype: in-reply-to
sensitive: 'false'
slug: 5fbe5a35
visibility: public
title: in-reply-to
xContent: 'A Post'
---
This time?

2
themes/nipponalba/layouts/_default/single.html

@ -96,7 +96,7 @@
{{ if .Params.xContent }}<section class="p-name p-content"><span class="remotePhoto"><a href="{{ .Params.xAuthorUrl }}" target="_blank"><img src="{{ .Params.xPhoto }}" title="{{ .Params.xAuthor }}" alt="{{ .Params.xAuthor }}'s avatar"/></a></span><span class="response-date">{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}</span><br/><span class="response-text">{{ plainify .Params.xContent }}</span></section>{{end}}
{{ if .Params.Content }}{{ .Params.Content }}{{ end }}
{{ if not (eq .Type "article") }}<section class="info">
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/>
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 GMT" }}">{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 GMT" }}</time></a></span><br/>
</section>{{ end }}
</article>
</section>

8
themes/nipponalba/layouts/partials/webmention.html

@ -3,20 +3,20 @@
{{ if eq (index . "wm-property") "mention" }}
<section class="mention interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></span>
{{ if .content.html }}
{{ .content.html | safeHTML }}
<p>{{ .content.html | safeHTML }}</p>
{{ else }}
<p>{{ .content.text | safeHTML }}</p>
{{ end }}
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section>
<time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section>
{{ end }}
{{ if eq (index . "wm-property") "in-reply-to" }}
<section class="reply interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></span>
{{ if .content.html }}
{{ .content.html | safeHTML }}
<p>{{ .content.html | safeHTML }}</p>
{{ else }}
<p>{{ .content.text | safeHTML }}</p>
{{ end }}
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section>
<time>{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" ( time .published ) }}</time></section></section>
{{ end }}
{{ if eq (index . "wm-property") "bookmark" }}
<section class="bookmark interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</section>

16
themes/nipponalba/static/css/style.css

@ -372,7 +372,7 @@ margin-bottom: 200px;
display:grid;
grid-template-rows: repeat (20px, 40px, auto);
width:100%;
border-top:1px dotted var(--text-colour);
border-top:1px solid var(--text-colour);
padding-bottom:150px;
}
#webmention-form{
@ -388,6 +388,7 @@ line-height: 2;
}
#webmentions{
grid-row: 4;
margin-top: 0 20px 0 0 ;
padding: 0 0 200px 0;
}
@ -421,23 +422,30 @@ line-height: 2;
}
.interaction.mention, .interaction.reply{
border:1px dotted var(--text-colour);
border:1px solid var(--text-colour);
display:flex;
min-height: 60px;
padding: 10px;
background-color: var(--border-colour);
box-shadow: 0 2px 3px var(--shadow-colour);
border-radius: 15px;
}
.interaction.mention .remote_profile, .interaction.reply .remote_profile{
width: 90px;
}
min-width: 90px;
}
.interaction.mention .remote_profile img, .interaction.reply .remote_profile img, .remotePhoto img{
width: 50px;
height: 50px;
border-radius: 50%;
object-fit:cover;
margin: 0 auto;
}
.remotePhoto{
}
.intactivity{
font-size:13px;
font-size:15px;
font-style: italic;
line-height:18px;
text-align:left;