mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Title for site IPFS archives
This commit is contained in:
parent
bd45dfdab6
commit
f82cbad73e
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ end
|
||||||
get '/site/:username/archives' do
|
get '/site/:username/archives' do
|
||||||
require_login
|
require_login
|
||||||
@site = Site[username: params[:username]]
|
@site = Site[username: params[:username]]
|
||||||
|
@title = "Site archives for #{@site.title}"
|
||||||
not_found if @site.nil?
|
not_found if @site.nil?
|
||||||
redirect request.referrer unless current_site.id == @site.id
|
redirect request.referrer unless current_site.id == @site.id
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue