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

21 lines
2.6 KiB
Plaintext
Raw Normal View History

2021-08-15 21:30:36 +02: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