Sfoglia il codice sorgente

Merge pull request #3988 from weseek/feat/4836-6675-implement-meta-description

Feat/4836 6675 implement meta description
itizawa 4 anni fa
parent
commit
814ef16107

+ 9 - 0
packages/slackbot-proxy/src/views/commons/head.ejs

@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html lang="en">
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width,initial-scale=1">
+  <meta name="description" content="GROWI is a wiki that can be written in Markdown and easy to share information with everyone.">
+  <link rel="shortcut icon" href="/images/growi-bot.png">
+  <title>GROWI Official Bot</title>
+  <link href="./css/bootstrap.min.css" rel="stylesheet" >
+</html>

+ 1 - 3
packages/slackbot-proxy/src/views/privacy.ejs

@@ -1,6 +1,4 @@
-<head>
-  <meta name="viewport" content="width=device-width,initial-scale=1">
-</head>
+<%- include('commons/head'); %>
 
 <body style="max-width: 600px; padding-top:100px; margin: 0 auto;">
   <h1 style="text-align:center;">Privacy Policy</h1>

+ 1 - 3
packages/slackbot-proxy/src/views/term.ejs

@@ -1,6 +1,4 @@
-<head>
-  <meta name="viewport" content="width=device-width,initial-scale=1">
-</head>
+<%- include('commons/head'); %>
 
 <body style="max-width: 600px; padding-top:100px; margin: 0 auto;">
   <h1 style="text-align:center;">Terms of Service </h1>

+ 1 - 4
packages/slackbot-proxy/src/views/top.ejs

@@ -1,7 +1,4 @@
-<head>
-  <meta name="viewport" content="width=device-width,initial-scale=1">
-  <link href="./css/bootstrap.min.css" rel="stylesheet" >
-</head>
+<%- include('commons/head'); %>
 
 <body class="pt-3">
   <div class="container border p-5">