Browse Source

:sparkles: Group descriptions

Several tags explicit the description.
DricomDragon 1 year ago
parent
commit
4bb53481fc
1 changed files with 7 additions and 4 deletions
  1. 7 4
      src/templates/main.html

+ 7 - 4
src/templates/main.html

@@ -7,7 +7,6 @@
         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 $for(author-meta)$
 $for(author-meta)$
         <meta name="author" content="$author-meta$" />
         <meta name="author" content="$author-meta$" />
-        <meta name="description" content="$description$">
 $endfor$
 $endfor$
 $if(date-meta)$
 $if(date-meta)$
         <meta name="dcterms.date" content="$date-meta$" />
         <meta name="dcterms.date" content="$date-meta$" />
@@ -17,20 +16,24 @@ $if(keywords)$
 $endif$
 $endif$
         <link rel="shortcut icon" href="/favicon.ico"/>
         <link rel="shortcut icon" href="/favicon.ico"/>
 
 
+$if(description)$
+        <meta name="description" content="$description$">
+        <meta itemprop="description" content="$description$">
+        <meta property="og:description" content="$description$">
+        <meta name="twitter:description" content="$description$">
+$endif$
+
         <!-- Google / Search Engine Tags -->
         <!-- Google / Search Engine Tags -->
         <meta itemprop="name" content="$author-meta$">
         <meta itemprop="name" content="$author-meta$">
-        <meta itemprop="description" content="$description$">
 
 
         <!-- Facebook Meta Tags -->
         <!-- Facebook Meta Tags -->
         <meta property="og:url" content="https://www.jovian-hersemeule.eu">
         <meta property="og:url" content="https://www.jovian-hersemeule.eu">
         <meta property="og:type" content="website">
         <meta property="og:type" content="website">
         <meta property="og:title" content="$title$">
         <meta property="og:title" content="$title$">
-        <meta property="og:description" content="$description$">
 
 
         <!-- Twitter Meta Tags -->
         <!-- Twitter Meta Tags -->
         <meta name="twitter:card" content="summary_large_image">
         <meta name="twitter:card" content="summary_large_image">
         <meta name="twitter:title" content="$title$">
         <meta name="twitter:title" content="$title$">
-        <meta name="twitter:description" content="$description$">
 
 
         <!-- Share img -->
         <!-- Share img -->
 $if(img.share)$
 $if(img.share)$