Browse Source

Updated ogp title to match filename

Toby Chui 3 năm trước cách đây
mục cha
commit
2c86efb788
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      system/share/downloadPage.html

+ 4 - 4
system/share/downloadPage.html

@@ -10,16 +10,16 @@
     <!-- Facebook Meta Tags -->
     <meta property="og:url" content="{{requri}}">
     <meta property="og:type" content="website">
-    <meta property="og:title" content="{{hostname}} File Share">
-    <meta property="og:description" content="You got a file shared from {{hostname}}">
+    <meta property="og:title" content="{{filename}}">
+    <meta property="og:description" content="{{hostname}} File Share">
     <meta property="og:image" content="{{opg_image}}">
   
     <!-- Twitter Meta Tags -->
     <meta name="twitter:card" content="summary_large_image">
     <meta property="twitter:domain" content="{{host}}">
     <meta property="twitter:url" content="{{requri}}">
-    <meta name="twitter:title" content="{{hostname}} File Share">
-    <meta name="twitter:description" content="You got a file shared from {{hostname}}">
+    <meta name="twitter:title" content="{{filename}}">
+    <meta name="twitter:description" content="{{hostname}} File Share">
     <meta name="twitter:image" content="{{opg_image}}">