mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
add linkedin, instagram, tumblr and custom link
This commit is contained in:
21
README.md
21
README.md
@@ -134,20 +134,29 @@ pygmentsCodeFences = true
|
||||
pygmentsUseClasses = true
|
||||
|
||||
[params]
|
||||
contributions = "post"
|
||||
author = "MeiK"
|
||||
github = "MeiK2333"
|
||||
description = "In solitude, where we are least alone."
|
||||
twitter = "MeiK2333"
|
||||
email = "meik2333@gmail.com"
|
||||
utterances = "MeiK2333/MeiK2333.github.io"
|
||||
github = "MeiK2333"
|
||||
facebook = "MeiK2333"
|
||||
twitter = "MeiK2333"
|
||||
linkedin = "MeiK2333"
|
||||
instagram = "MeiK2333"
|
||||
tumblr = "MeiK2333"
|
||||
email = "meik2333@gmail.com"
|
||||
url = "https://meik2333.com"
|
||||
keywords = "blog, google analytics"
|
||||
rss = true
|
||||
location = "China"
|
||||
lastmod = true
|
||||
favicon = "/images/github.png"
|
||||
location = "China"
|
||||
|
||||
[[params.links]]
|
||||
title = "Link"
|
||||
href = "https://github.com/meik2333"
|
||||
[[params.links]]
|
||||
title = "Link2"
|
||||
href = "https://meik2333.com"
|
||||
icon = "https://meik2333.com/images/avatar.png"
|
||||
|
||||
[frontmatter]
|
||||
lastmod = ["lastmod", ":fileModTime", ":default"]
|
||||
|
@@ -7,20 +7,29 @@ pygmentsCodeFences = true
|
||||
pygmentsUseClasses = true
|
||||
|
||||
[params]
|
||||
contributions = "post"
|
||||
author = "MeiK"
|
||||
github = "MeiK2333"
|
||||
description = "In solitude, where we are least alone."
|
||||
twitter = "MeiK2333"
|
||||
email = "meik2333@gmail.com"
|
||||
utterances = "MeiK2333/MeiK2333.github.io"
|
||||
github = "MeiK2333"
|
||||
facebook = "MeiK2333"
|
||||
twitter = "MeiK2333"
|
||||
linkedin = "MeiK2333"
|
||||
instagram = "MeiK2333"
|
||||
tumblr = "MeiK2333"
|
||||
email = "meik2333@gmail.com"
|
||||
url = "https://meik2333.com"
|
||||
keywords = "blog, google analytics"
|
||||
rss = true
|
||||
location = "China"
|
||||
lastmod = true
|
||||
favicon = "/images/github.png"
|
||||
location = "China"
|
||||
|
||||
[[params.links]]
|
||||
title = "Link"
|
||||
href = "https://github.com/meik2333"
|
||||
[[params.links]]
|
||||
title = "Link2"
|
||||
href = "https://meik2333.com"
|
||||
icon = "https://meik2333.com/images/avatar.png"
|
||||
|
||||
[frontmatter]
|
||||
lastmod = ["lastmod", ":fileModTime", ":default"]
|
||||
|
@@ -109,6 +109,38 @@
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.linkedin }}
|
||||
<a class="avatar-group-item" href="https://linkedin.com/in/{{ .Site.Params.linkedin }}">
|
||||
<img alt="@linkedin" width="32" height="32" src="{{ "images/linkedin.png" | absURL }}" class="avatar">
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.instagram }}
|
||||
<a class="avatar-group-item" href="https://instagram.com/{{ .Site.Params.instagram }}">
|
||||
<img alt="@instagram" width="32" height="32" src="{{ "images/instagram.png" | absURL }}" class="avatar">
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.tumblr }}
|
||||
<a class="avatar-group-item" href="https://{{ .Site.Params.tumblr }}.tumblr.com/">
|
||||
<img alt="@tumblr" width="32" height="32" src="{{ "images/tumblr.png" | absURL }}" class="avatar">
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.links }}
|
||||
{{ range .Site.Params.links }}
|
||||
{{ if .icon }}
|
||||
<a class="avatar-group-item" href="{{ .href }}">
|
||||
<img alt="@{{ .title }}" width="32" height="32" src="{{ .icon }}" class="avatar">
|
||||
</a>
|
||||
{{ else }}
|
||||
<a class="avatar-group-item" href="{{ .href }}">
|
||||
<img alt="@{{ .title }}" width="32" height="32" src='{{ "images/link.png" | absURL }}' class="avatar">
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rss }}
|
||||
<a class="avatar-group-item" href="{{ "/index.xml" | absURL }}">
|
||||
<img alt="@rss" width="32" height="32" src="{{ "images/rss.png" | absURL }}" class="avatar">
|
||||
|
BIN
static/images/instagram.png
Normal file
BIN
static/images/instagram.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
BIN
static/images/link.png
Normal file
BIN
static/images/link.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
static/images/linkedin.png
Normal file
BIN
static/images/linkedin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
static/images/tumblr.png
Normal file
BIN
static/images/tumblr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
Reference in New Issue
Block a user