mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-08 23:03:03 -08:00
26 lines
951 B
HTML
26 lines
951 B
HTML
<div class="page-header">
|
|
<div class="container-fluid" >
|
|
<div class="col-md-6 col-md-offset-3">
|
|
<div class="logo">
|
|
<img style="position:absolute;left:370px;top: 40px;z-index:3;" src="/assets/rating-badges.png" alt="Rating badges" class="rating-badges"/>
|
|
<div style="position:absolute;left:80px;top:60px;z-index:3;width:280px;" class="well">
|
|
<p style="font-style:italic;">
|
|
<q id="quote">{{ site.data.quotes[0].quote }}</q>
|
|
<cite>— <span style="font-style:normal;" id="quoter">{{ site.data.quotes[0].quoter }}</span></cite>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
var quotes = [
|
|
{% for quote in site.data.quotes %}{
|
|
"quote" : "{{ quote.quote }}",
|
|
"quoter" : "{{ quote.quoter }}"
|
|
}{% if forloop.rindex > 0 %},{% endif%}{% endfor %}
|
|
]
|
|
var quoteNr = Math.floor(Math.random() * quotes.length);
|
|
$("#quote").text(quotes[quoteNr].quote);
|
|
$("#quoter").text(quotes[quoteNr].quoter);
|
|
</script> |