Made some divs consistent, the header was a div type with id='header'
and the footer was a footer type with no id, so now they are both both. Also added some margins at the top and bottom of the page in CSS
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
<%- include('../partials/head'); %>
|
<%- include('../partials/head'); %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<header id="header">
|
||||||
<%- include("../headers/site_wide") %>
|
<%- include("../headers/site_wide") %>
|
||||||
</div>
|
</header>
|
||||||
<div id="comment">
|
<div id="comment">
|
||||||
<%- include("../partials/comment"); %>
|
<%- include("../partials/comment"); %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
<%- include('../partials/head'); %>
|
<%- include('../partials/head'); %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<header id="header">
|
||||||
<%- include("../headers/site_wide") %>
|
<%- include("../headers/site_wide") %>
|
||||||
</div>
|
</header>
|
||||||
<div id="posts">
|
<div id="posts">
|
||||||
<%- include('../posts/post'); %>
|
<%- include('../posts/post'); %>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer id='footer'>
|
||||||
<%- include('../partials/footer'); %>
|
<%- include('../partials/footer'); %>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<%- include('../partials/head'); %>
|
<%- include('../partials/head'); %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<header id="header">
|
||||||
<%- include('../headers/site_wide'); %>
|
<%- include('../headers/site_wide'); %>
|
||||||
<%- include('../headers/tag'); %>
|
<%- include('../headers/tag'); %>
|
||||||
</div>
|
</header>
|
||||||
<div id="posts">
|
<div id="posts">
|
||||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||||
<% if ( posts[index].deleted != true) { %>
|
<% if ( posts[index].deleted != true) { %>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer id='footer'>
|
||||||
<%- include('../partials/footer'); %>
|
<%- include('../partials/footer'); %>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<%- include('../partials/head'); %>
|
<%- include('../partials/head'); %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<header id="header">
|
||||||
<%- include("../headers/site_wide") %>
|
<%- include("../headers/site_wide") %>
|
||||||
<%- include('../headers/timeline'); %>
|
<%- include('../headers/timeline'); %>
|
||||||
</div>
|
</header>
|
||||||
<form method="POST" action="/submit_nothing" style="display:none">
|
<form method="POST" action="/submit_nothing" style="display:none">
|
||||||
<!-- Form is used to help mitigate spam as it is the first form on the front page -->
|
<!-- Form is used to help mitigate spam as it is the first form on the front page -->
|
||||||
<input type="hidden" name="post_index" value="0">
|
<input type="hidden" name="post_index" value="0">
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<textarea placeholder="comment" name="content"></textarea><br/>
|
<textarea placeholder="comment" name="content"></textarea><br/>
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
<footer>
|
<footer id='footer'>
|
||||||
<%- include('../partials/footer'); %>
|
<%- include('../partials/footer'); %>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<%- include('../partials/head'); %>
|
<%- include('../partials/head'); %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<header id="header">
|
||||||
<%- include("../headers/site_wide") %>
|
<%- include("../headers/site_wide") %>
|
||||||
<%- include('../headers/user'); %>
|
<%- include('../headers/user'); %>
|
||||||
</div>
|
</header>
|
||||||
<div id="posts">
|
<div id="posts">
|
||||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||||
<% if (posts[index].userID == userID) { %>
|
<% if (posts[index].userID == userID) { %>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer id='footer'>
|
||||||
<%- include('../partials/footer'); %>
|
<%- include('../partials/footer'); %>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,14 +3,19 @@ body {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
#header {
|
#header {
|
||||||
|
margin-top: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
#footer {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
.icon {
|
.icon {
|
||||||
width: 20px;
|
width: 15px;
|
||||||
}
|
}
|
||||||
input, textarea, button {
|
input, textarea, button {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
field-sizing: content; /* Only supported by Chromium */
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|||||||
99
webroot/robots.txt
Normal file
99
webroot/robots.txt
Normal file
@@ -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: /
|
||||||
Reference in New Issue
Block a user