-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
46 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Hi friend 👋 | ||
|
||
Welcome to my blog! Here are something about life and productivity. Hope you enjoy~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Email: [[email protected]](mailto:[email protected]) | ||
|
||
Github: [@Wsine](https://github.com/Wsine) | ||
|
||
Sspai: [@正弦定理](https://sspai.com/u/wsine/posts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
{{ define "main" }} | ||
<h2>Hi friend 👋</h2> | ||
<p> | ||
Welcome to my blog, here are something about life and productivity. hope you enjoy. | ||
</p> | ||
|
||
{{ range .Site.RegularPages.GroupByDate "2006" }} | ||
<h3>{{ .Key }}</h3> | ||
<table> | ||
{{ range .Pages }} | ||
<tr> | ||
<td style="width: 20%">{{ .Date.Format "Jan 02" }}</td> | ||
<td><a href="{{ .RelPermalink }}" style="text-decoration: none; color: inherit">{{ .Title }}</a></td> | ||
</tr> | ||
{{ end }} | ||
</table> | ||
<!-- Welcome contents --> | ||
{{ .Content }} | ||
|
||
<!-- Blog contents --> | ||
<h2>Latest Articles</h2> | ||
<ul> | ||
{{ range (where .Site.RegularPages "Section" "posts").Limit 10 }} | ||
<li> | ||
<a href="{{ .RelPermalink }}" style="color: inherit">{{ .Title }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
<a href="/posts" style="text-decoration: none">→ Read more...</a> | ||
|
||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{ define "main" }} | ||
|
||
{{ .Content }} | ||
|
||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<header> | ||
<h1><a href="/" style="color: inherit; text-decoration: none">Wsine's Blog</a></h1> | ||
<nav> | ||
<a href="mailto:[email protected]">Email</a> / | ||
<a href="https://github.com/Wsine" target="_blank">Github</a> / | ||
<a href="https://sspai.com/u/wsine/posts" target="_blank">Sspai</a> / | ||
<a href="/">Home</a> / | ||
<a href="/social">Social</a> / | ||
<a href="/feed.xml">Subscribe</a> | ||
</nav> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{ define "main" }} | ||
|
||
{{ range (where .Site.RegularPages "Section" "posts").GroupByDate "2006" }} | ||
<h3>{{ .Key }}</h3> | ||
<ul> | ||
{{ range .Pages }} | ||
<li> | ||
<span style="display: inline-block; width: 5rem">{{ .Date.Format "Jan 02" }}</span> | ||
<a href="{{ .RelPermalink }}" style="color: inherit">{{ .Title }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
|
||
|
||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{{ define "main" }} | ||
|
||
<h1 name="#top">{{ .Title }}</h1> | ||
<p style="text-align: right"><b>{{ .Date.Format "02 Jan 2006" }}</b></p> | ||
<p name="#top"><b>Posted on: {{ .Date.Format "2006 Jan 02" }}</b></p> | ||
|
||
{{ .Content }} | ||
|
||
<p style="text-align: right"><a href="#top">Back to Top</a></p> | ||
<p style="text-align: right"><a href="#top">↑ Back to Top</a></p> | ||
|
||
{{ end }} |