Mikael's blog

A developers sixth time trying to maintain a blog

Source Code - Root / views / sourcedir.mu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{>header}}
    <section class="comments">
        <header>
            Source Code - {{{sourcePath}}} / {{name}}
        </header>
        <div class="sourcedir">
            {{#directories}}
                <div class="folder">
                    <a data-icon="{{{icon}}}" href="/source/dir/{{path}}"> {{name}}/</a>
                </div>
            {{/directories}}
            {{#files}}
                <div class="file">
                    <a data-icon="{{{icon}}}" href="/source/file/{{path}}"> {{name}}</a> <span class="filesize">{{size}}</span>
                </div>
            {{/files}}
        </div>
    </section>
{{>footer}}