-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
101 additions
and
66 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{{define "title"}}{{.track.Title}}{{end}} | ||
{{define "h1"}}Du son {{ mot_cool }}{{end}} | ||
{{define "h1small"}}{{.track.Title}}{{end}} | ||
|
||
{{define "content"}} | ||
|
||
<!--<pre>{{.track|toPrettyJson}}</pre>--> | ||
|
||
<iframe | ||
width="100%" | ||
height="600" | ||
scrolling="no" | ||
frameborder="no" | ||
src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ .track.ID }}&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true"> | ||
</iframe> | ||
|
||
{{ if .track.Description }} | ||
<pre class="track_description">{{ .track.Description | linkify }}</pre> | ||
{{end}} | ||
{{end}} | ||
|
||
{{/* | ||
{% block main_column %} | ||
{% endblock %} | ||
|
||
{% block secondary_column %} | ||
<a href="{{ track.ext_url }}" target="_blank"> | ||
<img src="{{ track.img | cache_external_assets }}" alt="{{ track.title }}" | ||
class="img-responsive img-rounded rotate-random" /> | ||
</a> | ||
|
||
<div class="track_date"> | ||
{{ track.created_at }} | ||
</div> | ||
|
||
{# FIXME: handle tags etc in html headers for SEO #} | ||
|
||
<div class="track_tags"> | ||
{% for tag in track.tags %} | ||
<span class="label label-primary">#{{ tag }}</span> | ||
{% endfor %} | ||
</div> | ||
|
||
{% endblock %} | ||
*/}} |
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