oyd
/
oyd-web-en
Archived
7
0
Fork 0
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
oyd-web-en/layouts/_default/single.html

42 lines
1.2 KiB

{{ partial "header.html" . }}
<div class="band padForHeader pushFooter">
<div class="bandContent">
<div class="full splitColumns withMobileMargins">
<div class="column75">
<h1 class="article-title">{{ .Title }}</h1>
{{ $slug := .Param "slug" }}
{{ with $.Params.photo }}
<div class="article-header">
<div class="photo" style="background-image: url('../../../{{ $slug }}-wd.jpg');"></div>
<div class="photoCredit"><a href="{{ .url }}">{{ .author }}</a> tarafından çekildi</div>
</div>
{{ end }}
{{ if eq .Section "post" }}
<span class="article-date">{{ .Date.Format "2006/01/02" }}</span>
{{ end }}
<div class="article-content">
{{ .Content }}
</div>
</div>
<div class="column25">
<!-- <div class="section hideOnMobile">
<div class="sectionTitle">Dizin</div>
{{ .TableOfContents }}
</div> -->
<div class="section">
<div class="sectionTitle">Etkinlikler</div>
{{ partial "events" . }}
</div>
</div>
</div>
</div> <!-- bandContent -->
</div> <!-- band -->
{{ partial "footer.html" . }}