-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.pug
More file actions
53 lines (42 loc) · 2.3 KB
/
index.pug
File metadata and controls
53 lines (42 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
html(lang="zh-TW")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
title d3、vue 畫一個台灣地圖 - August - Let's Write
link(rel="canonical", href="https://letswritetw.github.io/letswrite-taiwan-map-basic/")
meta(property="fb:app_id", content="2435108729902508")
meta(property="og:url", content="https://letswritetw.github.io/letswrite-taiwan-map-basic/")
meta(property="og:type", content="website")
meta(property="og:site_name", content="Let's Write")
meta(property="og:title", content="d3、vue 畫一個台灣地圖 - Let's Write")
meta(property="og:description", content="d3、vue 畫一個台灣地圖 - Let's Write")
meta(property="og:image", content="https://letswritetw.github.io/letswrite-taiwan-map-basic/fb.png")
meta(property="og:image:width", content="1200")
meta(property="og:image:height", content="630")
link(rel="shortcut icon", href="https://letswritetw.github.io/letswritetw/dist/img/logo_512.png")
link(rel="stylesheet", href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css")
link(rel="stylesheet", href="dist/augurio-taiwan.min.css")
// Google Tag Manager
script.
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PGQ9WQT');
body
// Google Tag Manager (noscript)
noscript
iframe(src="https://www.googletagmanager.com/ns.html?id=GTM-PGQ9WQT", height="0", width="0", style="display:none;visibility:hidden")
#app.container
.taiwan-map(ref="map")
#map
svg#svg(xmlns="http://www.w3.org/2000/svg", preserveAspectRatio="xMidYMid meet")
.shop-list
h1 {{ h1 }}
h2 {{ h2 }}
script(src="//cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.min.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.js")
script(src="//d3js.org/d3.v3.min.js")
script(src="dist/augurio-taiwan.min.js")