diff options
| -rw-r--r-- | exampleSite/config.toml | 1 | ||||
| -rw-r--r-- | layouts/partials/sns-links.html | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8d2871d..91d71b1 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -94,6 +94,7 @@ facebook = "johndoe" zhihu = "johndoe" weibo = "johndoe" github = "johndoe" +gitlab = "johndoe" linkedin = "johndoe" [[params.friends]] diff --git a/layouts/partials/sns-links.html b/layouts/partials/sns-links.html index 86e986e..96f4ec2 100644 --- a/layouts/partials/sns-links.html +++ b/layouts/partials/sns-links.html @@ -65,6 +65,16 @@ </a> </li> {{ end }} + {{ with $social.gitlab }} + <li> + <a target="_blank" href="https://gitlab.com/{{ . }}"> + <span class="fa-stack fa-lg"> + <i class="fa fa-circle fa-stack-2x"></i> + <i class="fa fa-gitlab fa-stack-1x fa-inverse"></i> + </span> + </a> + </li> + {{ end }} {{ with $social.linkedin }} <li> <a target="_blank" href="https://www.linkedin.com/in/{{ . }}"> |
