Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jesselau76/hugo-w3-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesselau76 <jesselau76@gmail.com>2018-11-17 00:50:14 +0300
committerjesselau76 <jesselau76@gmail.com>2018-11-17 00:50:14 +0300
commit90e00f89a4f401858d6168ce20a6e4c70e429277 (patch)
tree5f7028561e073d1e97e1a9fcf2aeff280b3c1a22
parentd917fb6e6058d8154214d79ae460ad663daa37b9 (diff)
author image
-rw-r--r--layouts/partials/scripts.html32
-rw-r--r--layouts/post/single.html2
2 files changed, 1 insertions, 33 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
deleted file mode 100644
index 2df10b8..0000000
--- a/layouts/partials/scripts.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<script>
- shareurl=encodeURIComponent(location.protocol + '//' + location.host + location.pathname);
- sharetitle=encodeURIComponent(document.title);
-
- </script>
-<div class="icon-bar">
-<script>
-document.write( '<a href="javascript:bookmark();" class="bookmark w3-tooltip"><i class="fa fa-bookmark"></i><span style="position:absolute;left:40px;bottom:18px" class="w3-text w3-small w3-tag w3-round w3-green ">Bookmark this page</span></a> ');
-
-document.write( '<a href="http://www.facebook.com/sharer.php?u='+shareurl+'" onclick="window.open(this.href, \'mywin\',\'left=20,top=20,width=500,height=500,toolbar=1,resizable=0\'); return false;" class="facebook w3-tooltip"><i class="fa fa-facebook "></i><span style="position:absolute;left:40px;bottom:18px" class="w3-text w3-small w3-tag w3-round w3-green">Share to Facebook</span></a> ');
-
-document.write( '<a href="https://twitter.com/share?url='+shareurl+'&amp;text='+sharetitle+'" onclick="window.open(this.href, \'mywin\',\'left=20,top=20,width=500,height=500,toolbar=1,resizable=0\'); return false;" class="twitter w3-tooltip"><i class="fa fa-twitter"></i><span style="position:absolute;left:40px;bottom:18px" class="w3-text w3-small w3-tag w3-round w3-green">Share to Facebook</span></a> ');
-document.write( '<a href="https://plus.google.com/share?url='+shareurl+'" onclick="window.open(this.href, \'mywin\',\'left=20,top=20,width=500,height=500,toolbar=1,resizable=0\'); return false;" class="google w3-tooltip"><i class="fa fa-google"></i><span style="position:absolute;left:40px;bottom:18px" class="w3-text w3-small w3-tag w3-round w3-green">Share to Facebook</span></a>');
-
-document.write( '<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url='+shareurl+'" onclick="window.open(this.href, \'mywin\',\'left=20,top=20,width=500,height=500,toolbar=1,resizable=0\'); return false;" class="linkedin w3-tooltip"><i class="fa fa-linkedin"></i><span style="position:absolute;left:40px;bottom:18px" class="w3-text w3-small w3-tag w3-round w3-green">Share to Facebook</span></a>');
-
-</script>
-
-<script>
-function bookmark(){
-// Mozilla Firefox Bookmark
-if ('sidebar' in window && 'addPanel' in window.sidebar) {
- window.sidebar.addPanel(location.href,document.title,"");
- } else if( /*@cc_on!@*/false) { // IE Favorite
- window.external.AddFavorite(location.href,document.title);
- } else { // webkit - safari/chrome
- alert('Press ' + (navigator.userAgent.toLowerCase().indexOf('mac') != - 1 ? 'Command/Cmd' : 'CTRL') + ' + D to bookmark this page.');
- }
- }
-
-</script>
-</div> \ No newline at end of file
diff --git a/layouts/post/single.html b/layouts/post/single.html
index e6ae596..53c1808 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -142,7 +142,7 @@ function scrollFunction() {
<div class="w3-row">
<div class="w3-col l2 m2 s12 w3-center">
- <img src="{{ .Site.Params.authorimgurl }}" width ="100px" class="w3-circle w3-center w3-margin-top" alt="Norway" >
+ <img src="{{ .Site.Params.authorimgurl }}" width ="100px" class="w3-circle w3-center w3-margin-top w3-margin-bottom" alt="author" >
</div>
<div class="w3-col l10 m10 s12 ">