cindex.hbs 1.35 KB
<div id="channel">
    <div id="ssr" class="resources" style="position: absolute; top: 2.25rem;">
        {{#resources}}
            {{#if focus}}
                <div class="focus-floor" style="height: 9.1rem;">
                    {{#data}}
                        <a href="{{this.url}}" title="{{this.title}}">
                            <img src="{{image2 this.src w=750 h=365 q=60}}" width="100%" alt="">
                        </a>
                    {{/data}}
                </div>
            {{/if}}

            {{#if titleImage}}
            <div class="title-image">
                {{#data}}
                    <div class="floor-header">
                        {{title}}

                        <a class="more" href="{{moreUrl}}">
                            {{#eq moreName '...'}}
                                <span class="icon icon-more"></span>
                            {{^}}
                                <!--<span>{{{moreName}}}</span>-->
                            {{/eq}}
                        </a>
                    </div>

                    <a class="image" href="{{image.url}}">
                        <img src="{{image2 image.src w=750 h=365 q=60}}" width="100%" alt="">
                    </a>
                </div>
                {{/data}}

            {{/if}}

        {{/resources}}
    </div>

    <channel>
    </channel>
</div>