mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-17 09:16:48 +02:00
13 lines
150 B
Ruby
13 lines
150 B
Ruby
def main_site?
|
|
$site == "muflax"
|
|
end
|
|
|
|
def blog?
|
|
$site =~ /^(blog|daily)$/
|
|
end
|
|
|
|
def sites
|
|
Dir['content_*'].map{|d| d.gsub(/^content_/, '')}
|
|
end
|
|
|