-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
108 lines (90 loc) · 3.26 KB
/
index.html
File metadata and controls
108 lines (90 loc) · 3.26 KB
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
{{ define "main" }}
{{ partial "search-index.html" . }}
<h2>Welcome to Lemonium!</h2>
<img src="/images/logo.svg" alt="Lemonium Logo" style="padding: 0;max-width: 100%;" />
<p>{{ i18n "index-description" }}</p>
<h2 class="toppage-h">Information</h2>
<!-- News and Information -->
<div class="info-card">
<!-- タイトルが Posts になっているページを除外 -->
{{ range ( first 3 ( where ( where .Site.Pages "Type" "posts" ) ".Title" "!=" "Posts" )) }}
<a href="{{ .Permalink }}">
<p id="info-date">{{ .Date.Format "2006.01.02" }}</p>
<p id="info-title">{{ .Title }}</p>
<p id="info-summary">{{ .Summary | plainify }}…</p>
</a>
{{ end }}
</div>
<!-- タグ指定 ("未定"タグ)
{{ range ( first 3 ( where .Site.RegularPages "Params.tags" "intersect" (slice "未定"))) }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<p>{{ .Summary | plainify }}</p>
</li>
{{ end }}
-->
<p><a href="{{ relLangURL "/posts/" }}">See more...</a></p>
<h2 class="toppage-h">Research & Development</h2>
<!-- External Documentation -->
{{ if eq .Site.Language.Lang "ja" }}
<div class="info-card">
{{ with resources.GetRemote "https://qiita.com/Lemon73/feed" | transform.Unmarshal }}
{{ range ( first 3 .entry ) }}
<a href="{{ .url }}" target="_blank">
<p id="info-date">{{ .published | time.Format "2006.01.02" }} (Qiita)</p>
<p id="info-title">{{ .title }}</p>
<p id="info-summary">{{ index .content "#text" | plainify }}</p>
</a>
{{ end }}
{{ end }}
</div>
<p><a href="https://qiita.com/Lemon73" target="_blank">See more...</a></p>
{{ else if eq .Site.Language.Lang "en" }}
<div class="info-card">
{{ with resources.GetRemote "https://alicenovel.web.app/en/blog/index.xml" | transform.Unmarshal }}
{{ range ( first 3 .channel.item ) }}
<a href="https://alicenovel.web.app{{ .link }}" target="_blank">
<p id="info-date">{{ .pubDate | time.Format "2006.01.02" }} (Alice Project)</p>
<p id="info-title">{{ .title }}</p>
<p id="info-summary">{{ index .description | plainify }}</p>
</a>
{{ end }}
{{ end }}
</div>
<p><a href="https://alicenovel.web.app/en/blog" target="_blank">See more...</a></p>
{{ end }}
<h2 class="toppage-h">About</h2>
<p>
{{ i18n "index-about-1" }}<br />
{{ i18n "index-about-2" }}
</p>
<p><a href="{{ relLangURL "/about/lra/" }}">See more...</a></p>
<h2 class="toppage-h">Contacts</h2>
<ul class="social-links">
<li>
<a href="https://www.youtube.com/@lemon73" target="_blank">
<img src="/images/social-media/youtube.svg" alt="youtube">
YouTube
</a>
</li>
<li>
<a href="https://misskey.io/@lemon73" target="_blank">
<img src="/images/social-media/misskey.svg" alt="youtube">
Misskey.io
</a>
</li>
<li>
<a href="https://github.com/Lemon73-Computing" target="_blank">
<img src="/images/social-media/github.svg" alt="youtube">
GitHub
</a>
</li>
<!--
<li>
<a href="" target="_blank">
Contact Form ({{ i18n "wip" }})
</a>
</li>
-->
</ul>
{{ end }}