mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 04:17:31 +02:00
Add slim syntax test
This commit is contained in:
committed by
David Peter
parent
9ef87dab27
commit
699f1e65cc
20
tests/syntax-tests/source/Slim/test.slim
vendored
Normal file
20
tests/syntax-tests/source/Slim/test.slim
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
Reference in New Issue
Block a user