jk.nipponalba.scot website
				https://jk.nipponalba.scot
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
			
		
		
		
		
			
		
			
				
					
					
						
							76 lines
						
					
					
						
							3.9 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							76 lines
						
					
					
						
							3.9 KiB
						
					
					
				|   {{ define "main" }} | |
| {{ if not (eq .Type "response")}} | |
| <article class="post h-entry entry contents"> | |
|   <div class="author" style="display:none;"> | |
|     <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a> | |
|   </div> | |
|     <div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3><b>{{ .Description }}</b> | |
|       <aside> | |
|         {{ if eq .Type "article" }}<div class="info"> | |
|         <i class="fa fa-sun"></i><a class="u-url" href="{{ .RelPermalink }}"><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></a> | |
|           <i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> | |
|         </div>{{end}} | |
| 
 | |
| <div class="e-content">{{ .Content }} | |
|   {{ if eq .Type "photo"}} | |
|     <div class="photos"> | |
|     {{ range .Page.Params.Photo }} | |
|       <a href="{{ . }}"><img class="u-photo thumb" src="{{ replace . "800." "300."}}"/></a> | |
|     {{end}} | |
|     </div> | |
|     {{end}} | |
|     {{ if eq .Type "article" }}<div class="p-summary" style="display:none"> | |
|         {{ .Page.Params.summary }}<br/> | |
|       </div> | |
|     {{ end }}<br/> | |
| </div> | |
| 
 | |
|     <div class="post-footer-page"> | |
| <div class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></div> | |
| {{ $pathJSON := (print .Permalink "bridgy.json") }} | |
| {{ $relpathJSON := (print .RelPermalink "bridgy.json") }} | |
| {{ if fileExists $relpathJSON }} | |
| <div class="syndication"> | |
|   {{ $mJSON := getJSON $pathJSON  }} | |
|   Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a> | |
| </div> | |
| {{ end }} | |
|       <div class="info"> | |
|         {{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} | |
|         {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }} | |
|         {{ with .Page.Params.tag }}{{ partial "taxonomy/tags.html" . }}{{ end }} | |
|       </div> | |
|     </div> | |
| <a href="https://brid.gy/publish/mastodon"></a> | |
|     {{ if eq .Type "article"}} | |
|     {{ if .Site.DisqusShortname -}} | |
|     <div id="fb_comments_container"> | |
|       <h2>Comments</h2> | |
|       {{ template "_internal/disqus.html" . }} | |
|     </div> | |
|     {{- end }} | |
|     {{ end }} | |
| 
 | |
|     </aside></div> | |
| </article>                {{ else }} | |
|                   <section data-post-type="{{ .Params.posttype }}" data-post-id="{{ .Params.slug }}" class="h-entry"> | |
|                       <div class="author" style="display:none;"> | |
|                         <a rel="author" class="u-author  h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a> | |
|                       </div> | |
|                       <aside> | |
|                         <article class="u-{{ .Params.posttype }} h-cite"> | |
|                           {{ if .Params.inreplyto }}<p> Replied to {{ end }} | |
|                             {{ if .Params.likeof }}<p> Liked {{ end }} | |
|                           {{ if .Params.repostof }}<p>Shared {{ end }} | |
|                           someone's | |
|                           {{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-url"> post</a>{{ end }} | |
|                           {{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-url"> post</a>{{ end }} | |
|                           {{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="link u-url"> post</a>{{ end }}</p> | |
|                           {{ if .Content }}<div class="e-content">{{ .Content }}</div><br/> {{end}} | |
|                               <div class="post-footer"><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></span></div> | |
|                         </article> | |
|                       </aside> | |
|                       </section> | |
|                       {{end}} | |
| 
 | |
| {{end}}
 |