mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
The world's easiest blog engine
This commit is contained in:
parent
90e40168a2
commit
91fd038d5c
1 changed files with 5 additions and 0 deletions
5
app.rb
5
app.rb
|
@ -26,6 +26,11 @@ get '/browse' do
|
|||
slim :browse
|
||||
end
|
||||
|
||||
get '/blog' do
|
||||
# expires 500, :public, :must_revalidate
|
||||
return File.read File.join(DIR_ROOT, 'public', 'sites', 'kyledrake', 'blog.html')
|
||||
end
|
||||
|
||||
get '/new' do
|
||||
dashboard_if_signed_in
|
||||
@site = Site.new
|
||||
|
|
Loading…
Add table
Reference in a new issue