This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ _ _ _ _ _ _ | |
| _| _||_||_ |_ ||_||_| | |
||_ _| | _||_| ||_| _| | |
_ _ _ _ _ _ _ _ _ | |
| || || || || || || || || | | |
|_||_||_||_||_||_||_||_||_| | |
_ _ _ _ _ _ _ _ _ | |
_| _| _| _| _| _| _| _| _| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.domcode.kata | |
fun main(args: Array<String>) { | |
for (i in 0..99) { | |
val bottleAmount: Int = getAmount(i) | |
val oneLess: Int = subtractOne(bottleAmount) | |
when { | |
bottleAmount > 1 -> println("$bottleAmount bottles of beer on the wall, $bottleAmount bottles of beer.") | |
bottleAmount == 1 -> println("$bottleAmount bottle of beer on the wall, $bottleAmount bottle of beer.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.domcode.kata | |
fun main(args: Array<String>) { | |
for (i in 0..99) { | |
val bottleAmount: Int = getAmount(i) | |
val oneLess: Int = subtractOne(bottleAmount) | |
if (bottleAmount > 1) { | |
println("$bottleAmount bottles of beer on the wall, $bottleAmount bottles of beer.") | |
if (oneLess == 1) { | |
println("Take one down, pass it around, $oneLess bottle of beer on the wall.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% setcontent latestnews = 'nieuwsberichten/latest/5' %} | |
{% for news in latestnews %} | |
// the content to display the newsitem here | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for dj in records %} | |
// snippet | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid_3"> | |
<div class="event"> | |
<img src="{{ thumbnail(dj.image, 270, 170) }}" alt="{{ dj.name }}"/> | |
<h6 class="color_2"> | |
<a href="{{ dj.link }}">{{ dj.name }}</a> | |
</h6> | |
<p>{{ dj.teaser }}</p> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% include "_header.twig" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="icon" href="{{ paths.theme }}/images/favicon.ico" type="image/x-icon"> | |
<link rel="stylesheet" href="{{ paths.theme }}/css/grid.css"> | |
<link rel="stylesheet" href="{{ paths.theme }}/css/owl.carousel.css"/> | |
<link rel="stylesheet" href="{{ paths.theme }}/css/style.css"> | |
<script src="{{ paths.theme }}/js/jquery.js"></script> | |
<script src="{{ paths.theme }}/js/jquery-migrate-1.2.1.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% setcontent block = 'blocks' where { identifier_string: 'djs_wie_zijn_wij' } returnsingle %} | |
<h4 class="color_2">{{ block.title }}</h4> | |
<div class="box3"> | |
{{ block.body }} | |
</div> |
NewerOlder