瀏覽代碼

some minor update

pull/141/head
abhidj0090 4 年之前
父節點
當前提交
7708e43f7b
共有 1 個檔案被更改,包括 12 行新增9 行删除
  1. 12
    9
      layouts/events/single.html

+ 12
- 9
layouts/events/single.html 查看文件

@@ -17,15 +17,6 @@
<div class="post-single-content">
{{ .Content }}
</div>
<input type="hidden" id="subject" value="{{.Title }}"/>
<input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
<input type="hidden" id="description" value="{{ .Content }}"/>
<input type="hidden" id="location" value="Kolkata, IN"/>
<input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
<input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
<input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
<button class="clndr btn btn-main" onclick="downloadEvent()">
<i class="ti-calendar"></i>Block Calender</button>
{{ if site.Params.post_share }}
{{ partial "post-share.html" . }}
{{ end }}
@@ -34,6 +25,18 @@
{{ template "_internal/disqus.html" . }}
</div>
</div>
<div class="col-lg-8 offset-lg-2 text-center">
<input type="hidden" id="subject" value="{{.Title }}"/>
<input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
<input type="hidden" id="description" value="{{ .Content }}"/>
<input type="hidden" id="location" value="{{.Params.location }}"/>
<input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
<input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
<input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
<button class="clndr btn btn-main" onclick="downloadEvent()">
<i class="ti-calendar"></i>Add to Calendar
</button>
</div>
</div>
</div>
</section>

Loading…
取消
儲存