Permalink
Browse files

Add Telegram link (Fix #22)

  • Loading branch information...
fgallaire committed Oct 12, 2017
1 parent e15c4d5 commit cab3017cbc9b2b285939b2763cd61d20eeb9f7f1
Showing with 6 additions and 1 deletion.
  1. +1 −0 README.md
  2. +1 −0 exampleSite/config.toml
  3. +3 −0 layouts/index.html
  4. +1 −1 layouts/partials/head.html
View
@@ -28,6 +28,7 @@ Add these parameters to your `config.toml`:
GoogleplusID = "your_googleplus"
FacebookID = "your_facebook"
InstagramID = "your_instagram"
TelegramID = "your_telegram"
Name = "your_name"
HeaderUsername = "username"
HeaderHostname = "hostname"
View
@@ -20,6 +20,7 @@ disqusShortname = "your_disqus_shortname"
LinkedInID = "your_linkedin"
GoogleplusID = "your_googleplus"
FacebookID = "your_facebook"
TelegramID = "your_telegram"
Name = "Mr Hugo"
HeaderUsername = "hugo"
HeaderHostname = "hugo"
View
@@ -51,6 +51,9 @@ <h1 id="user-name">{{ upper .Site.Params.Name }}</h1>
{{ with .Site.Params.InstagramID }}
<a href="https:/instagram.com/{{.}}" title="Instagram"><i class="fa fa-instagram fa-3x" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.TelegramID }}
<a href="https://t.me/{{.}}" title="Telegram"><i class="fa fa-telegram fa-3x" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.Email }}
<a href="mailto:{{.}}" title="Email"><i class="fa fa-envelope fa-3x" aria-hidden="true"></i></a>
{{ end }}
@@ -11,7 +11,7 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font Awesome -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "css/nix.css" | absURL }}">

0 comments on commit cab3017

Please sign in to comment.