matsurigoto
This commit is contained in:
parent
cf817df87d
commit
1eea86e36e
@ -1,5 +1,5 @@
|
|||||||
const express = require('express')
|
const express = require('express')
|
||||||
const app = express()
|
const webserver = express()
|
||||||
const port = 3003
|
const port = 3003
|
||||||
const serveIndex = require('./src/utils/serve_index')
|
const serveIndex = require('./src/utils/serve_index')
|
||||||
const {engine} = require('express-handlebars')
|
const {engine} = require('express-handlebars')
|
||||||
@ -9,7 +9,7 @@ const { handlebars } = require('hbs')
|
|||||||
const publicPath = "/public"
|
const publicPath = "/public"
|
||||||
const inUrlPath = "public"
|
const inUrlPath = "public"
|
||||||
|
|
||||||
app.engine('.hbs', engine({extname: '.hbs', helpers: {
|
webserver.engine('.hbs', engine({extname: '.hbs', helpers: {
|
||||||
ifDivisibleBy: function (index, divisor, options) {
|
ifDivisibleBy: function (index, divisor, options) {
|
||||||
if (index % divisor === 0) {
|
if (index % divisor === 0) {
|
||||||
return options.fn(this);
|
return options.fn(this);
|
||||||
@ -22,19 +22,19 @@ app.engine('.hbs', engine({extname: '.hbs', helpers: {
|
|||||||
return (new handlebars.SafeString(string))
|
return (new handlebars.SafeString(string))
|
||||||
}
|
}
|
||||||
}}));
|
}}));
|
||||||
app.set('view engine', '.hbs');
|
webserver.set('view engine', '.hbs');
|
||||||
|
|
||||||
app.use(publicPath, express.static(inUrlPath), serveIndex(inUrlPath, {
|
webserver.use(publicPath, express.static(inUrlPath), serveIndex(inUrlPath, {
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
||||||
app.listen(port, () => {
|
webserver.listen(port, () => {
|
||||||
console.log(`Listening on port ${port}`)
|
console.log(`Listening on port ${port}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
app.use('/', indexRouter)
|
webserver.use('/', indexRouter)
|
||||||
|
|
||||||
app.use((err, _req, res, next) =>{
|
webserver.use((err, _req, res, next) =>{
|
||||||
if (err){
|
if (err){
|
||||||
console.error(err)
|
console.error(err)
|
||||||
res.send("It was terrible. Check the logs for more details.")
|
res.send("It was terrible. Check the logs for more details.")
|
||||||
@ -42,7 +42,7 @@ app.use((err, _req, res, next) =>{
|
|||||||
else next()
|
else next()
|
||||||
})
|
})
|
||||||
|
|
||||||
app.use((_req, res, _next) => {
|
webserver.use((_req, res, _next) => {
|
||||||
res.status(404).render('404', {
|
res.status(404).render('404', {
|
||||||
stylesheet: '/public/styles/404/index.css',
|
stylesheet: '/public/styles/404/index.css',
|
||||||
title: "404!"
|
title: "404!"
|
@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "nodemon app.js",
|
"start": "nodemon index.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"script": "app.js",
|
"script": "index.js",
|
||||||
"name": "lyrical-tokarev",
|
"name": "lyrical-tokarev",
|
||||||
"watch": true,
|
"watch": true,
|
||||||
"ignore_watch": ["public", "node_modules", "package.json", "package-lock.json", ".git"]
|
"ignore_watch": ["public", "node_modules", "package.json", "package-lock.json", ".git"]
|
||||||
|
@ -41,3 +41,9 @@
|
|||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
.matsurigoto_div{
|
||||||
|
height: 800px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
border: 1px solid var(--celeste)
|
||||||
|
}
|
190
views/home.hbs
190
views/home.hbs
@ -1,6 +1,149 @@
|
|||||||
<body>
|
<body>
|
||||||
<center class="main_div">
|
<center height="4" class="main_div">
|
||||||
<h1>Lyrical Tokarev ~ Tabidachi Edition</h1>
|
<br>
|
||||||
|
<br>
|
||||||
|
<table cellspacing="20" cellmargin="60" width="100%">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td height="800" valign="top" class="matsurigoto" width="20">
|
||||||
|
<div class="matsurigoto_div" height="20">
|
||||||
|
<table class="matsurigoto_table" cellpadding="20" border="1">
|
||||||
|
<tbody>
|
||||||
|
<td>
|
||||||
|
<center>
|
||||||
|
<h3>LYRICAL TOKAREVの政</h3>
|
||||||
|
<p>While visiting this site, it's strictly forbidden to act or think in the following terms:</p>
|
||||||
|
</center>
|
||||||
|
<ul>
|
||||||
|
<li class="red"><strong>Content</strong></li>
|
||||||
|
<li class="red">Audience</li>
|
||||||
|
<li class="red"><strong>Consume</strong></li>
|
||||||
|
<li class="red"><strong>Identity</strong></li>
|
||||||
|
<li>Policy</li>
|
||||||
|
<li>Term</li>
|
||||||
|
<li>Deserve</li>
|
||||||
|
<li class="red">Creator</li>
|
||||||
|
<li class="red">Opinion</li>
|
||||||
|
<li class="red"><strong>Art</strong></li>
|
||||||
|
<li>Motivation</li>
|
||||||
|
<li class="red">Views</li>
|
||||||
|
<li>Preference</li>
|
||||||
|
<li class="red"><strong>Feed</strong></li>
|
||||||
|
<li class="red">Browse</li>
|
||||||
|
<li>Saturated</li>
|
||||||
|
<li>Right</li>
|
||||||
|
<li>Life</li>
|
||||||
|
<li>Obscure</li>
|
||||||
|
<li>Vibe</li>
|
||||||
|
<li>Aesthetic</li>
|
||||||
|
<li class="red"><strong>Deprecated</strong></li>
|
||||||
|
<li>Obsolete</li>
|
||||||
|
<li class="red">Dream</li>
|
||||||
|
<li class="red">Outdated</li>
|
||||||
|
<li>Course</li>
|
||||||
|
<li class="red"><strong>Consent</strong></li>
|
||||||
|
<li class="red">Oppresion</li>
|
||||||
|
<li class="red">Y'all</li>
|
||||||
|
<li class="red">Yikes</li>
|
||||||
|
<li class="red">Project</li>
|
||||||
|
<li>Idea</li>
|
||||||
|
<li class="red">Global</li>
|
||||||
|
<li class="red">Emotional</li>
|
||||||
|
<li>Planning</li>
|
||||||
|
<li class="red">Modern</li>
|
||||||
|
<li>Urban</li>
|
||||||
|
<li class="red">Matrix</li>
|
||||||
|
<li class="red"><strong>Artist</strong></li>
|
||||||
|
<li>Retention</li>
|
||||||
|
<li>Personality</li>
|
||||||
|
<li>Discrimination</li>
|
||||||
|
<li class="red">Smart</li>
|
||||||
|
<li class="red">App</li>
|
||||||
|
<li>Youtuber</li>
|
||||||
|
<li>Institutional</li>
|
||||||
|
<li>Power</li>
|
||||||
|
<li class="red"><strong>Privilege</strong></li>
|
||||||
|
<li class="red"><strong>Streamer</strong></li>
|
||||||
|
<li class="red">People</li>
|
||||||
|
<li class="red">Resource</li>
|
||||||
|
<li>Unequality</li>
|
||||||
|
<li>Equality</li>
|
||||||
|
<li class="red">System</li>
|
||||||
|
<li>Design</li>
|
||||||
|
<li class="red"><strong>Cloud</strong></li>
|
||||||
|
<li>Personal</li>
|
||||||
|
<li class="red"><strong>Sexuality</strong></li>
|
||||||
|
<li>Fact</li>
|
||||||
|
<li class="red">Checked</li>
|
||||||
|
<li class="red">Debunk</li>
|
||||||
|
<li class="red">Social</li>
|
||||||
|
<li class="red">License</li>
|
||||||
|
<li>Credit</li>
|
||||||
|
<li class="red">Attraction</li>
|
||||||
|
<li>Numbers</li>
|
||||||
|
<li class="red">Media</li>
|
||||||
|
<li class="red"><strong>Medium</strong></li>
|
||||||
|
<li>Amount</li>
|
||||||
|
<li class="red">Reader</li>
|
||||||
|
<li class="red"><strong>Collective</strong></li>
|
||||||
|
<li>Rational</li>
|
||||||
|
<li class="red">Mental</li>
|
||||||
|
<li>Tolerant</li>
|
||||||
|
<li class="red"><strong>Goods</strong></li>
|
||||||
|
<li class="red">Service</li>
|
||||||
|
<li>Advocate</li>
|
||||||
|
<li class="red">Diverse</li>
|
||||||
|
<li>Fame</li>
|
||||||
|
<li class="red">Piracy</li>
|
||||||
|
<li class="red"><strong>Take</strong></li>
|
||||||
|
<li>Dogma</li>
|
||||||
|
<li class="red"><strong>Market</strong></li>
|
||||||
|
<li class="red"><strong>Followers</strong></li>
|
||||||
|
<li class="red">Activism</li>
|
||||||
|
<li class="red"><strong>Activist</strong></li>
|
||||||
|
<li class="red">Privacy</li>
|
||||||
|
<li>Subscribers</li>
|
||||||
|
<li>Likes</li>
|
||||||
|
<li class="red">Material</li>
|
||||||
|
<li class="red">Responsive</li>
|
||||||
|
<li class="red">Free</li>
|
||||||
|
<li class="red">Achievement</li>
|
||||||
|
<li class="red"><strong>Pride</strong></li>
|
||||||
|
<li class="red">Democratic</li>
|
||||||
|
<li>Strategic</li>
|
||||||
|
<li class="red">Talent</li>
|
||||||
|
<li>Success</li>
|
||||||
|
<li class="red">Platform</li>
|
||||||
|
<li>Public</li>
|
||||||
|
<li class="red">Passion</li>
|
||||||
|
<li class="red"><strong>Gender</strong></li>
|
||||||
|
<li class="red">Popularity</li>
|
||||||
|
<li>Production</li>
|
||||||
|
<li class="red">Product</li>
|
||||||
|
<li class="red"><strong>Productive</strong></li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="top">
|
||||||
|
<table width="200" cellpadding="20" border="1" class="index_table">
|
||||||
|
<tbody>
|
||||||
|
<td>
|
||||||
|
<center><h2>Index</h2></center>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#top">世界最後の日</a></li>
|
||||||
|
<li><a href="#navigation">Navgation</a></li>
|
||||||
|
<li><a href="#comicchat">Comic Chat</a></li>
|
||||||
|
<li><a href="#yuugenmagan">YuugenMagan</a></li>
|
||||||
|
<li><a href="#bottom">???</a></li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<h1 id="top">Lyrical Tokarev ~ Tabidachi Edition</h1>
|
||||||
<img alt="Flower Tank" src="/public/images/flower_tank.png">
|
<img alt="Flower Tank" src="/public/images/flower_tank.png">
|
||||||
<p>
|
<p>
|
||||||
There are things to do. The World's Last Day is just around the corner!<br>
|
There are things to do. The World's Last Day is just around the corner!<br>
|
||||||
@ -19,9 +162,14 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="https://cidoku.net/es/stuff/cchat/">Tambien se suele estar aca</a><br><br>
|
<a href="https://cidoku.net/es/stuff/cchat/">Tambien se suele estar aca</a><br><br>
|
||||||
|
</td>
|
||||||
|
<td width="181.7">
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
<hr>
|
<hr>
|
||||||
<h2 id="navigation">Navigation</h2>
|
<h2 id="navigation">Navigation</h2>
|
||||||
|
|
||||||
@ -98,20 +246,20 @@
|
|||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
<hr>
|
<hr>
|
||||||
<h2>Comic Chat</h2>
|
<h2 id="comicchat">Comic Chat</h2>
|
||||||
<p>Cut the umbilical cord.</p>
|
<p>Cut the umbilical cord.</p>
|
||||||
<a href="https://spyware.neocities.org/articles/discord"><img alt="Discord? No Way" src="/public/images/buttons/discord-no-way.gif"></a>
|
<a href="https://spyware.neocities.org/articles/discord"><img alt="Discord? No Way" src="/public/images/buttons/discord-no-way.gif"></a>
|
||||||
<p>Back to the holy land.</p>
|
<p>Back to the holy land.</p>
|
||||||
<a href="https://cidoku.net/stuff/cchat/"><img alt="Kiki threatens to shoot Kurogami in case her demands aren't met." title="Kiki threatens to shoot Kurogami in case her demands aren't met." id="cc" src="/public/images/comicchat.png"></a><br><br>
|
<a href="https://cidoku.net/stuff/cchat/"><img alt="Kiki threatens to shoot Kurogami in case her demands aren't met." title="Kiki threatens to shoot Kurogami in case her demands aren't met." id="cc" src="/public/images/comicchat.png"></a><br><br>
|
||||||
<a href="/public/cchat/"><img class="folder" alt="Folder" src="/public/images/icons/folder/folder_file_kiki.png"><br>CC files</a>
|
<a href="/public/cchat/"><img class="folder" alt="Folder" src="/public/images/icons/folder/folder_file_kiki.png"><br>CC files</a>
|
||||||
<hr>
|
<hr>
|
||||||
<h2>YuugenMagan</h2>
|
<h2 id="yuugenmagan">YuugenMagan</h2>
|
||||||
<img title="YuugenMagan" alt="YuugenMagan" src="/public/images/yuugenmagan.png">
|
<img title="YuugenMagan" alt="YuugenMagan" src="/public/images/yuugenmagan.png">
|
||||||
<p>YuugenMagan</p>
|
<p>YuugenMagan</p>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p>
|
<p>
|
||||||
<h2>Propaganda</h2>
|
<h2 id="propaganda">Propaganda</h2>
|
||||||
<div>
|
<div>
|
||||||
<a href="https://cidoku.net">
|
<a href="https://cidoku.net">
|
||||||
<img alt="The Cidoku Network" src="/public/images/buttons/cidoku.gif">
|
<img alt="The Cidoku Network" src="/public/images/buttons/cidoku.gif">
|
||||||
@ -182,6 +330,29 @@
|
|||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<a id="darkness" href="darkness">Shadow In The Dark</a>
|
<a id="darkness" href="darkness">Shadow In The Dark</a>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
@ -190,5 +361,10 @@
|
|||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</center>
|
</center>
|
||||||
<a href="/soku"><img src="/public/images/HisouTensokuGiant.png"></a>
|
<table width="100%">
|
||||||
|
<tbody>
|
||||||
|
<td><a href="/soku"><img src="/public/images/HisouTensokuGiant.png"></a></td>
|
||||||
|
<td align="right" valign="bottom"><span><small>lyricaltokarev.com ~ Hologram Sumer Again, Tri Hermes Black Land</small></span></td>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</body>
|
</body>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<main>
|
<main>
|
||||||
<center>
|
<center>
|
||||||
<p>
|
<p>
|
||||||
>>> Absolutely all of the views and opinions expressed by the authors and contributors of the following websites are shared and therefore brutally endorsed with an iron fist. <<<
|
>>> Absolutely all of the views, thoughts and opinions expressed by the authors and contributors of the following websites are agreed, promoted, shared and therefore brutally endorsed with an iron fist. <<<
|
||||||
</p>
|
</p>
|
||||||
<table>
|
<table>
|
||||||
{{#each categoriesAndSites}}
|
{{#each categoriesAndSites}}
|
||||||
|
Loading…
Reference in New Issue
Block a user