From 984c7884ea8bd56751fe2c14872a90efa149198a Mon Sep 17 00:00:00 2001 From: Mizok Date: Sun, 17 Apr 2022 01:53:34 +0800 Subject: [PATCH] add ga support --- README.md | 2 +- src/template/ga.ejs | 13 +++++++++++++ src/template/head.ejs | 28 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 src/template/ga.ejs diff --git a/README.md b/README.md index fbf26d0..19946b9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ title: webpack-template date: author: Mizok -version: 0.7.0 +version: 0.8.0 tags: --- diff --git a/src/template/ga.ejs b/src/template/ga.ejs new file mode 100644 index 0000000..b1082c0 --- /dev/null +++ b/src/template/ga.ejs @@ -0,0 +1,13 @@ + +<%const id=""%> + + \ No newline at end of file diff --git a/src/template/head.ejs b/src/template/head.ejs index 3235ae4..90e9fd7 100644 --- a/src/template/head.ejs +++ b/src/template/head.ejs @@ -5,9 +5,37 @@ <%= title%> + <% const description = ''%> + <% const url = '' %> + <% const author = ''%> + <% const openGraphImageUrl = ''%> + + + + + + + + + + + + + + + + + + + + + + + <%= title%> + <%- include('./ga.ejs')%> \ No newline at end of file