aboutsummaryrefslogtreecommitdiff
path: root/views/index.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.pug')
-rw-r--r--views/index.pug24
1 files changed, 4 insertions, 20 deletions
diff --git a/views/index.pug b/views/index.pug
index a144569..162be48 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -1,25 +1,10 @@
html
head
- title='Moe Counter!'
+ title='Urushi Counter'
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='icon', type='image/png', href='favicon.png')
link(rel='stylesheet', href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css')
link(rel='stylesheet', href='style.css')
- <!-- Global site tag (gtag.js) - Google Analytics -->
- script(async, src='https://www.googletagmanager.com/gtag/js?id=G-2RLWN5JXRL')
- script.
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
-
- gtag('config', 'G-2RLWN5JXRL');
-
- function _evt_push(type, category, label){
- gtag('event', type, {
- 'event_category' : category,
- 'event_label' : label
- });
- }
body
h3 How to use:
@@ -34,7 +19,7 @@ html
code ![:name](#{site}/get/@:name)
h3 eg:
- <img src="#{site}/get/@index" alt="Moe Count!" />
+ <img src="#{site}/get/@index?theme=urushi" alt="Urushi Counter" />
i Data can access by anyone, please
| <span style="color: #ff4500;"> DO NOT</span>
@@ -80,6 +65,7 @@ html
input#name(type='text', placeholder=':name', style='display: inline-block; width: 80px; height: 1.4em; line-height: 1.4em; margin: 0 4px; vertical-align: middle;')
code ?theme=
select#theme(style='display: inline-block; height: 1.6em; line-height: 1.6em; font-size: 14px; margin: 0 4px; padding: 0 4px; vertical-align: middle;')
+ option(value='urushi') urushi
option(value='asoul') asoul
option(value='moebooru') moebooru
option(value='moebooru-h') moebooru-h
@@ -106,7 +92,5 @@ html
img.src = '#{site}/get/@' + text + '?theme=' + theme
})
- iframe(src="https://chat.getloli.com/room/@Moe-counter?title=%E8%90%8C%E8%90%8C%E8%AE%A1%E6%95%B0%E5%99%A8%E7%9A%84%E7%95%99%E8%A8%80%E6%9D%BF", scrolling="no", frameborder="0", height="70%", width="26%", style="position: fixed;top: 2%;right: 5%;")
-
p.copy
- a(href='https://github.com/journey-ad/Moe-Counter', target='_blank', onclick='_evt_push("click", "normal", "go_github")') source code
+ a(href='https://github.com/Fuwn/urushi-counter', target='_blank', onclick='_evt_push("click", "normal", "go_github")') source code