ORIENT/themes/modern2/partials/new/morque.htm

34 lines
837 B
HTML

[viewBag]
[blogPosts marque]
pageNumber = "{{ :page }}"
featured = "yes"
postsPerPage = 5
noPostsMessage = "No posts found"
sortOrder = "published_at desc"
categoryPage = 404
postPage = 404
==
<div class="marquee">
<div class="container">
<div class="marquee-inner">
<div class="marquee-title">
<span>Главное</span>
</div>
<marquee behavior="scroll" direction="left" scrollamount="7" onmouseover="this.stop()" onmouseleave="this.start()" class="ticker">
<div class="ticker-wrapper">
{% for post in marque.posts %}
<div class="ticker-item">
<a href="#">
{{post.title}}
</a>
</div>
{% endfor %}
</div>
</marquee>
</div>
</div>
</div>