Browse Source

fix: case where social sharing links are empty

Fix #1116
pointbre 6 năm trước cách đây
mục cha
commit
a6da45d7fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      layouts/partials/page_metadata.html

+ 1 - 1
layouts/partials/page_metadata.html

@@ -68,7 +68,7 @@
   {{ end }}
 
   {{ if $share }}
-    {{ partial "share.html" $ }}
+    {{ partial "share.html" $page }}
   {{ end }}
 
 </div>