This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.mustache
137 lines (137 loc) · 6.15 KB
/
theme.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE HTML>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta property="og:title" content="臺大學生週報 No.{{issue}}"/>
<title>臺大學生週報 No.{{issue}}</title>
{{^email}}
<link rel="stylesheet" type="text/css" href="{{path}}/assets/styles.css" media="all">
<script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(["_setAccount", "UA-35642989-1"]); _gaq.push(["_trackPageview"]); (function() { var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true; ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); })();
</script>
{{/email}}
</head>
<body>
{{#email}}
<div class="wrapper" style="border: 1px #ccc solid">
<div class="header" style="background-color: #252525;text-align: center;padding: 30px 0 5px 0">
<div class="editor"><img src="{{path}}/assets/editor.png" alt="臺大學生會新聞部" title="臺大學生會新聞部"></div>
<div class="cover"><img src="{{path}}/assets/cover.png" alt="臺大學生週報 Student Weekly" title="臺大學生週報 Student Weekly"></div>
<div class="date_eps" style="text-align: right;color: white"><span class="date">{{date}}</span> <span class="eps">NO.{{issue}}</span></div>
</div>
<div class="content">
{{#ntusa}}
<div class="box">
<div class="box_title" style="background-color: #ccc;text-align: center;padding: 10px"><img src="{{path}}/assets/ntusa-black.png" alt="臺大學生會" title="臺大學生會"></div>
{{#item}}
<div class="section small" style="padding: 10px;text-align: center">
<div class="article">
<h3 style="padding: 10px;background-color: #252525;color: white">{{ name }}</h3>
<img class="article_cover" style="max-width: 100%;" src="{{image_url}}" alt="">
<p style="text-align: left;color: #555">{{& content}}</p>
<div class="author" style="text-align: right;color: #2D7EEB">
<span class="author_name">{{provider_name}}</span><br><br>
<a target="_blank" href="{{url}}" style="color: #104285;font-size: 25px;font-weight: bold"><img width="134px" src="{{path}}/assets/continue.png" alt="繼續閱讀"></a>
</div>
</div>
</div>
{{/item}}
</div>
{{/ntusa}}
{{#articles}}
<div class="box">
<div class="box_title" style="background-color: #ccc;text-align: center;padding: 10px"><img src="{{path}}/assets/stararticle-black.png" alt="文章精選" title="文章精選"></div>
{{#item}}
<div class="section small" style="padding: 10px;text-align: center">
<div class="article">
<h3 style="padding: 10px;background-color: #252525;color: white">{{name}}</h3>
<img class="article_cover" style="max-width: 100%;" src="{{image_url}}" alt="">
<p style="text-align: left;color: #555">{{& content}}</p>
<div class="author" style="text-align: right;color: #2D7EEB">
<img class="author_from" width="35px" src="{{provider_icon}}" alt="{{provider_name}}"><br><br><br>
<a target="_blank" href="{{url}}" style="color: #104285;font-size: 25px;font-weight: bold"><img width="134px" src="{{path}}/assets/continue.png" alt="繼續閱讀"></a>
</div>
</div>
</div>
{{/item}}
</div>
{{/articles}}
</div>
<div class="footer" style="background-color: #252525;text-align: center;padding: 30px 0 5px 0">
<a target="_blank" href="https://ntustudents.org"><img src="{{path}}/assets/ntusa.png" alt="臺大學生會"></a>
<a target="_blank" href="https://issuu.com/ntusparks"><img src="{{path}}/assets/ntusparks.png" alt="花火時代"></a>
<a target="_blank" href="https://ntustudents.org/soapbox/"><img src="{{path}}/assets/soapbox.png" alt="Soapbox"></a>
<div class="designer" style="text-align: right;padding-right: 10px"><a target="_blank" href="http://kytu.cc/works"><img src="{{path}}/assets/designer.png" alt="kytu.cc"></a></div>
</div>
</div>
{{/email}}
{{^email}}
<div class="wrapper">
<div class="header">
<div class="editor">
<img src="{{path}}/assets/editor.png" alt="臺大學生會新聞部" title="臺大學生會新聞部">
</div>
<div class="cover">
<img src="{{path}}/assets/cover.png" alt="臺大學生週報 Student Weekly" title="臺大學生週報 Student Weekly"/>
</div>
<div class="date_eps">
<span class="date">{{date}}</span>
<span class="eps">NO.{{issue}}</span>
</div>
</div>
<div class="content">
{{#ntusa}}
<div class="box">
<div class="box_title">
<img src="{{path}}/assets/ntusa-black.png" alt="臺大學生會" title="臺大學生會">
</div>
{{#item}}
<div class="section small">
<a target="_blank" href="{{url}}">
<img class="article_cover" src="{{image_url}}">
<div class="article">
<h1>{{name}}</h1>
<p>{{& content}}</p>
<div class="author">
<span class="author_name">{{provider_name}}</span>
</div>
</div>
<div class="clear"></div>
</a>
</div>
{{/item}}
{{/ntusa}}
{{#articles}}
<div class="box">
<div class="box_title">
<img src="{{path}}/assets/stararticle-black.png" alt="文章精選" title="文章精選">
</div>
{{#item}}
<div class="section small">
<a target="_blank" href="{{url}}">
<img class="article_cover" src="{{image_url}}">
<div class="article">
<h1>{{name}}</h1>
<p>{{& content}}</p>
<div class="author">
<img class="author_from" src="{{provider_icon}}" alt="{{provider_name}}">
</div>
</div>
<div class="clear"></div>
</a>
</div>
{{/item}}
</div>
{{/articles}}
</div>
<!-- end of content -->
<div class="footer">
<a target="_blank" href="https://ntustudents.org"><img src="{{path}}/assets/ntusa.png" alt="臺大學生會"></a>
<a target="_blank" href="https://issuu.com/ntusparks"><img src="{{path}}/assets/ntusparks.png" alt="花火時代"></a>
<a target="_blank" class="designer" href="http://about.me/kytu"><img src="{{path}}/assets/designer.png" alt="designed by kytu"></a>
<a target="_blank" href="https://ntustudents.org/soapbox/"><img src="{{path}}/assets/soapbox.png" alt="Soapbox"/></a>
</div>
</div>
{{/email}}
</body>
</html>