From d9d45ff6ea98241e5d5e3b128bf8d523d162838b Mon Sep 17 00:00:00 2001 From: deadvey Date: Thu, 2 Oct 2025 10:43:44 +0100 Subject: [PATCH] Tracking /webroot, contains custom.css and robots.txt, might have to add favicon.ico too. --- .gitignore | 1 - example-config.json | 2 +- views/posts/timeline.ejs | 2 +- webroot/custom.css | 4 ++ webroot/robots.txt | 99 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+), 3 deletions(-) create mode 100644 webroot/custom.css create mode 100644 webroot/robots.txt diff --git a/.gitignore b/.gitignore index b9f9f33..d8cd783 100755 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,4 @@ data.json hitcount.txt *.swp data/ -webroot/ images/* diff --git a/example-config.json b/example-config.json index de8f2c5..b32d8db 100755 --- a/example-config.json +++ b/example-config.json @@ -11,7 +11,7 @@ "timeline_length": 20, "enable_hitcount": true, "charset": "UTF-8", - "root_path": "/path/to/webroot", + "root_path": "../webroot/", "edit_account_base_url": "/edit_account", "new_post_url": "/post", "signup_url": "/signup", diff --git a/views/posts/timeline.ejs b/views/posts/timeline.ejs index d68087e..3408311 100644 --- a/views/posts/timeline.ejs +++ b/views/posts/timeline.ejs @@ -5,7 +5,7 @@

- <%- func.render_md(post.content) %>
+ <%- func.render_md(post.content) %>

diff --git a/webroot/custom.css b/webroot/custom.css new file mode 100644 index 0000000..587e3ab --- /dev/null +++ b/webroot/custom.css @@ -0,0 +1,4 @@ +/* Put any CSS you want in here, it will be applied to the whole website */ +* { + font-family: sans-serif; +} diff --git a/webroot/robots.txt b/webroot/robots.txt new file mode 100644 index 0000000..0ba66bf --- /dev/null +++ b/webroot/robots.txt @@ -0,0 +1,99 @@ +User-agent: AddSearchBot +User-agent: AI2Bot +User-agent: Ai2Bot-Dolma +User-agent: aiHitBot +User-agent: Amazonbot +User-agent: Andibot +User-agent: anthropic-ai +User-agent: Applebot +User-agent: Applebot-Extended +User-agent: Awario +User-agent: bedrockbot +User-agent: bigsur.ai +User-agent: Brightbot 1.0 +User-agent: Bytespider +User-agent: CCBot +User-agent: ChatGPT Agent +User-agent: ChatGPT-User +User-agent: Claude-SearchBot +User-agent: Claude-User +User-agent: Claude-Web +User-agent: ClaudeBot +User-agent: CloudVertexBot +User-agent: cohere-ai +User-agent: cohere-training-data-crawler +User-agent: Cotoyogi +User-agent: Crawlspace +User-agent: Datenbank Crawler +User-agent: DeepSeekBot +User-agent: Devin +User-agent: Diffbot +User-agent: DuckAssistBot +User-agent: Echobot Bot +User-agent: EchoboxBot +User-agent: FacebookBot +User-agent: facebookexternalhit +User-agent: Factset_spyderbot +User-agent: FirecrawlAgent +User-agent: FriendlyCrawler +User-agent: Gemini-Deep-Research +User-agent: Google-CloudVertexBot +User-agent: Google-Extended +User-agent: Google-Firebase +User-agent: GoogleAgent-Mariner +User-agent: GoogleOther +User-agent: GoogleOther-Image +User-agent: GoogleOther-Video +User-agent: GPTBot +User-agent: iaskspider/2.0 +User-agent: ICC-Crawler +User-agent: ImagesiftBot +User-agent: img2dataset +User-agent: ISSCyberRiskCrawler +User-agent: Kangaroo Bot +User-agent: LinerBot +User-agent: meta-externalagent +User-agent: Meta-ExternalAgent +User-agent: meta-externalfetcher +User-agent: Meta-ExternalFetcher +User-agent: meta-webindexer +User-agent: MistralAI-User +User-agent: MistralAI-User/1.0 +User-agent: MyCentralAIScraperBot +User-agent: netEstate Imprint Crawler +User-agent: NovaAct +User-agent: OAI-SearchBot +User-agent: omgili +User-agent: omgilibot +User-agent: OpenAI +User-agent: Operator +User-agent: PanguBot +User-agent: Panscient +User-agent: panscient.com +User-agent: Perplexity-User +User-agent: PerplexityBot +User-agent: PetalBot +User-agent: PhindBot +User-agent: Poseidon Research Crawler +User-agent: QualifiedBot +User-agent: QuillBot +User-agent: quillbot.com +User-agent: SBIntuitionsBot +User-agent: Scrapy +User-agent: SemrushBot-OCOB +User-agent: SemrushBot-SWA +User-agent: ShapBot +User-agent: Sidetrade indexer bot +User-agent: TerraCotta +User-agent: Thinkbot +User-agent: TikTokSpider +User-agent: Timpibot +User-agent: VelenPublicWebCrawler +User-agent: WARDBot +User-agent: Webzio-Extended +User-agent: wpbot +User-agent: YaK +User-agent: YandexAdditional +User-agent: YandexAdditionalBot +User-agent: YouBot +Disallow: /