From c62665c7a9dab6e62e09123c0ad91de1a986cb2e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 19 Jan 2024 05:02:07 -0800 Subject: feat(index): more examples --- views/index.pug | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/views/index.pug b/views/index.pug index 6dd1ce3..69e2aba 100644 --- a/views/index.pug +++ b/views/index.pug @@ -18,7 +18,7 @@ html option(value='rule34') rule34 option(value='gelbooru') gelbooru option(value='gelbooru-h') gelbooru-h - button#get(style='margin: 10px 0;', onclick='_evt_push("click", "normal", "get_counter")') Get + button#get(style='margin: 10px 0;') Get img#result(style='display: block;') script. @@ -39,18 +39,46 @@ html }) h2 Usage - p(style='margin: 0;') Replace :name with your counter name. + p Replace :example with your counter's handle. h5 HTML - code <img src="#{site}/get/@:name" alt=":name" /> + code <img src="#{site}/get/@:example" alt=":example" /> h5 Markdown - code ![:name](#{site}/get/@:name) + code ![:example](#{site}/get/@:example) br br h2 Example - p(style='margin: 0;') #{site}/get/@index?theme=urushi + p #{site}/get/@index?theme=urushi p Urushi Counter + + details + summary(style='display: inline-block;') + h3(style='display: inline-block; cursor: pointer; margin-bottom: 0;') More Examples (Click to Expand) + + h3 + a(href='https://space.bilibili.com/703007996' target="_blank") A-SOUL + A-SOUL + + h3 + a(href='https://github.com/moebooru/moebooru' target="_blank") Moebooru + Moebooru + + h3 + a(href='https://github.com/moebooru/moebooru' target="_blank") Moebooru (Hentai) + Moebooru (Hentai) + + h3 + a(href='https://rule34.xxx/' target="_blank") Rule 34 (NSFW) + Rule 34 + + h3 + a(href='https://gelbooru.com/' target="_blank") Gelbooru (NSFW) + Gelbooru + + h3 + a(href='https://gelbooru.com/' target="_blank") Gelbooru (Hentai) + Gelbooru (Hentai) -- cgit v1.2.3