From 558304ff62a648e604b03afe3372ef9566aea850 Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Tue, 21 Jun 2016 21:42:03 +0800 Subject: Update to support new metadata: title, description, tags and google-analytics (GA) and refactor render publish slide response function --- public/views/ga.ejs | 18 ++++++++++++++++++ public/views/pretty.ejs | 7 ++++++- public/views/slide.ejs | 8 ++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 public/views/ga.ejs (limited to 'public/views') diff --git a/public/views/ga.ejs b/public/views/ga.ejs new file mode 100644 index 00000000..180832d1 --- /dev/null +++ b/public/views/ga.ejs @@ -0,0 +1,18 @@ +<% if(typeof GA !== 'undefined' && GA) { %> + +<% } %> \ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 0a541107..5ba2e8e1 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -11,6 +11,9 @@ <% if(typeof robots !== 'undefined' && robots) { %> <% } %> + <% if(typeof description !== 'undefined' && description) { %> + + <% } %>