






















共有 2 个文件被更改,包括 10 次插入 和 0 次删除
@ -45,6 +45,7 @@ $app->route->get('/next', 'App\\Controller::next');
|
||||
$app->route->get('/previous', 'App\\Controller::previous');
|
||||
$app->route->get('/{slug}/next', 'App\\Controller::next');
|
||||
$app->route->get('/{slug}/previous', 'App\\Controller::previous');
|
||||
$app->route->get('/random', 'App\\Controller::random');
|
||||
|
||||
$app->route->group('/dashboard', function (\League\Route\RouteGroup $route) {
|
||||
$route->get('/', 'App\\Controller::dashboard')->setName('loginSuccess');
|
||||
|
||||
@ -11,6 +11,10 @@ This proof-of-concept <a href="https://en.wikipedia.org/wiki/Webring">webring</a
|
||||
Check out the <a href="/directory">Directory page of active webring sites</a>!
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Feeling lucky? Visit a <a href="/random">Random site on the webring</a>!
|
||||
</p>
|
||||
|
||||
<?php if(isset($me)): ?>
|
||||
<h2>Signed in</h2>
|
||||
|
||||
@ -38,6 +42,11 @@ Check our <a href="/terms">Terms of Use and Frequently Asked Questions</a>!
|
||||
<?php
|
||||
// this is an awful way to do blog posts?
|
||||
$posts = [
|
||||
[
|
||||
'date' => '2024-07-31', 'name' => '🕸️💍🎲 Feeling lucky?',
|
||||
'content' => "Take a chance on the webring!",
|
||||
'url' => 'https://martymcgui.re/2024/07/31/103341/'
|
||||
],
|
||||
[
|
||||
'date' => '2024-06-23', 'name' => '🕸️👉👈💍 An orderly webring!',
|
||||
'content' => "Previous? Next?? It's more likely than you think!",
|
||||
|
||||
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。