bat/tests/syntax-tests/highlighted/Slim/test.slim

21 lines
2.6 KiB
Text
Raw Normal View History

2021-08-15 19:30:36 +00:00
doctype html
html lang=locale
 head
 meta charset='utf-8'
 title #{@title ? "#{@title} | Testing" : 'Testing'}
 == stylesheet('app.css')
 body
 header
 h1.title Testing
 - @links.each do |link|
 a href=link.href
 =link.title
 div
 == yield
 - if APP_ENV == 'production'
 footer
 p Testing