Sha256: 732899748949eed8114cf8ff0ad8cc678893a3699015d1ead7861d253fa8e97b

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

json.meta do
  json.title site.title
  json.description site.tagline
  json.origin site.url
  json.updated Time.now.strftime("%a, %d %b %Y %H:%M:%S %z")
  json.generator "Alula #{Alula::VERSION::STRING}"
end

json.items item.posts do |post|
  json.title post.title
  json.content post.body
  json.date post.date.strftime("%a, %d %b %Y %H:%M:%S %z")
  json.url "#{site.url}#{post.url}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alula-0.4.27 vendor/layouts/feed.json.jbuilder
alula-0.4.26 vendor/layouts/feed.json.jbuilder
alula-0.4.25 vendor/layouts/feed.json.jbuilder