1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-06-17 09:16:48 +02:00
muflax65ngodyewp.onion/lib/sites.rb
2012-04-16 15:33:11 +02:00

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