diff options
author | Huy Nguyen <huyb.1991@gmail.com> | 2019-03-25 16:46:25 +0300 |
---|---|---|
committer | Huy Nguyen <huyb.1991@gmail.com> | 2019-03-25 16:46:25 +0300 |
commit | c9fc3102c6a102dcd382efc0be8d6e2bd785e901 (patch) | |
tree | e187ef61ebfe28376544670726b9fb05d1d2b024 | |
parent | 3adfb3f21641b3eff8fa016a0c6603200f8160b1 (diff) |
Remove unused class name
-rw-r--r-- | layouts/partials/social.html | 20 | ||||
-rw-r--r-- | layouts/post/summary.html | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 92a4a9b..7f2ca94 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -2,7 +2,7 @@ {{ if isset .Site.Params "email" }} <li class="social-item"> <a href="mailto:{{ .Site.Params.email }}" title="Email"> - <svg class="icon icon-email" fill="currentColor"><use xlink:href="#icon-email" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-email" /></svg> </a> </li> {{ end }} @@ -10,7 +10,7 @@ {{ if isset .Site.Params "github" }} <li class="social-item"> <a href="//github.com/{{ .Site.Params.github }}" title="GitHub"> - <svg class="icon icon-github" fill="currentColor"><use xlink:href="#icon-github" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-github" /></svg> </a> </li> {{ end }} @@ -18,7 +18,7 @@ {{ if isset .Site.Params "twitter" }} <li class="social-item"> <a href="//twitter.com/{{ .Site.Params.twitter }}" title="Twitter"> - <svg class="icon icon-twitter" fill="currentColor"><use xlink:href="#icon-twitter" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-twitter" /></svg> </a> </li> {{ end }} @@ -26,7 +26,7 @@ {{ if isset .Site.Params "linkedin" }} <li class="social-item"> <a href="//www.linkedin.com/in/{{ .Site.Params.linkedin }}" title="Linkedin"> - <svg class="icon icon-linkedin" fill="currentColor"><use xlink:href="#icon-linkedin" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-linkedin" /></svg> </a> </li> {{ end }} @@ -34,7 +34,7 @@ {{ if isset .Site.Params "facebook" }} <li class="social-item"> <a href="//www.facebook.com/{{ .Site.Params.facebook }}" title="Facebook"> - <svg class="icon icon-facebook" fill="currentColor"><use xlink:href="#icon-facebook" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-facebook" /></svg> </a> </li> {{ end }} @@ -42,7 +42,7 @@ {{ if isset .Site.Params "google" }} <li class="social-item"> <a href="//plus.google.com/{{ .Site.Params.google }}" title="Google+"> - <svg class="icon icon-google" fill="currentColor"><use xlink:href="#icon-googleplus" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-googleplus" /></svg> </a> </li> {{ end }} @@ -50,7 +50,7 @@ {{ if isset .Site.Params "instagram" }} <li class="social-item"> <a href="//www.instagram.com/{{ .Site.Params.instagram }}" title="Instagram"> - <svg class="icon icon-instagram" fill="currentColor"><use xlink:href="#icon-instagram" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-instagram" /></svg> </a> </li> {{ end }} @@ -58,7 +58,7 @@ {{ if isset .Site.Params "youtube" }} <li class="social-item"> <a href="//www.youtube.com/user/{{ .Site.Params.youtube }}" title="YouTube"> - <svg class="icon icon-youtube" fill="currentColor"><use xlink:href="#icon-youtube" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-youtube" /></svg> </a> </li> {{ end }} @@ -66,14 +66,14 @@ {{ if isset .Site.Params "dribbble" }} <li class="social-item"> <a href="//dribbble.com/{{ .Site.Params.dribbble }}" title="Dribbble"> - <svg class="icon icon-dribbble" fill="currentColor"><use xlink:href="#icon-dribbble" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-dribbble" /></svg> </a> </li> {{ end }} <li class="social-item"> <a href="/index.xml" title="RSS"> - <svg class="icon icon-rss" fill="currentColor"><use xlink:href="#icon-rss" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-rss" /></svg> </a> </li> </ul> diff --git a/layouts/post/summary.html b/layouts/post/summary.html index 9abfa45..eef0528 100644 --- a/layouts/post/summary.html +++ b/layouts/post/summary.html @@ -18,13 +18,13 @@ <p class="entry-meta"><span class="entry-time">{{ .Date.Format "Jan 2, 2006" }}</span> {{ .ReadingTime }} min read</p> <div class="sharing"> <a class="share share-facebook" target="_blank" href="https://facebook.com/sharer/sharer.php?u={{ .Permalink }}" title="Share on Facebook"> - <svg class="icon icon-facebook" fill="currentColor"><use xlink:href="#icon-facebook" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-facebook" /></svg> </a> <a class="share share-twitter" target="_blank" href="https://twitter.com/intent/tweet/?text={{ .Title }}&url={{ .Permalink }}" title="Share on Twitter"> - <svg class="icon icon-twitter" fill="currentColor"><use xlink:href="#icon-twitter" /></svg> + <svg class="icon share-twitter-icon" fill="currentColor"><use xlink:href="#icon-twitter" /></svg> </a> <a class="share share-google" target="_blank" href="https://plus.google.com/share?url={{ .Title }}&url={{ .Permalink }}" title="Share on Google+"> - <svg class="icon icon-google" fill="currentColor"><use xlink:href="#icon-googleplus" /></svg> + <svg class="icon" fill="currentColor"><use xlink:href="#icon-googleplus" /></svg> </a> </div> </footer> |