<div id="content" class="content-site customize-site">
    {{ range .Site.Data.webstack }}
        {{ if .list }}
            {{ range .list }}
	    <!--正文网址导航--》
            <!-- {{ .term }} -->
            <div class="d-flex flex-fill">
                <h4 class="text-gray text-lg mb-4">
                    <i class="site-tag iconfont icon-tag icon-lg mr-1" id="{{ md5 .term }}"></i>
                    {{ .term }}
                </h4>
                <div class="flex-fill"></div>
                <!--a class='btn-move text-xs' href='#'>more+</a-->
            </div>
            <!--获取内容列表-->
            <div class="row">
                {{ range .links }}
                <div class="url-card col-6  col-sm-6 col-md-4 col-xl-5a col-xxl-6a">
                    <div class="url-body default">
			<!--去除 Tooltip
                        <a href="{{ .url }}" target="_blank" data-id="" data-url="{{ .url }}" class="card no-c mb-4" title="{{ .title }}">
			去除 Tooltip -->
			{{ if .qrcode }}
                            {{ if findRE "http.*?(.|\n)*?" .qrcode }}
                    	        <a href="javascript:" target="" class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-html="true" 
                                title="<img src='{{ .qrcode }}' width='128'>">
                            {{ else }}
                                <a href="javascript:" target="" class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-html="true"
                                title="<img src='{{ $.Site.Params.logosPath }}/{{ .qrcode }}' width='128'>">
                            {{ end }}
                        {{ else }}
                            <a href="{{ .url }}" target="_blank" data-id="" data-url="{{ .url }}"
                            class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-original-title="{{ .description }}">
			{{ end }}
                            <div class="card-body">
                                <div class="url-content d-flex align-items-center">
                                    <div class="url-img mr-2 d-flex align-items-center justify-content-center">
                                        {{ if findRE "http.*?(.|\n)*?" .logo }}
					    {{ if $.Site.Params.defaultLogo }}
                                            <img class="lazy" src="{{ .logo }}" data-src="{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.defaultLogo }}'" alt="{{ .title }}">
					    {{ else }}
					    <img class="lazy" src="{{ .logo }}" data-src="{{ .logo }}"
                                                onerror="javascript:this.src='{{ .logo }}'" alt="{{ .title }}">
					    {{ end }}
                                        {{ else }}
					    {{ if $.Site.Params.defaultLogo }}
					    <img class="lazy" src="{{ $.Site.Params.logosPath }}/{{ .logo }}" data-src="{{ $.Site.Params.logosPath }}/{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.defaultLogo }}'" alt="{{ .title }}">
					    {{ else }}
                                            <img class="lazy" src="{{ $.Site.Params.logosPath }}/{{ .logo }}" data-src="{{ $.Site.Params.logosPath }}/{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.logosPath }}/{{ .logo }}'" alt="{{ .title }}">
					    {{ end }}
                                        {{ end }}
                                    </div>
                                    <div class="url-info flex-fill">
                                        <div class="text-sm overflowClip_1">
                                            <strong>{{ .title }}</strong>
                                        </div>
                                        <p class="overflowClip_1 m-0 text-muted text-xs">{{ .description }}</p>
                                    </div>
                                </div>
                            </div>
                        </a>
                        <a href="{{ .url }}" class="togo text-center text-muted is-views" data-id="689"
                            data-toggle="tooltip" data-placement="right" title="直达" rel="nofollow">
                            <i class="iconfont icon-goto"></i>
                        </a>
                    </div>
                </div>
                {{ end }}
            </div><!--end row-->
            <br />
            <!--END {{ .term }} -->
            {{ end }}
        {{ else }}
	    <!--常用推荐-->
            <!-- {{ .taxonomy }} -->
            <div class="d-flex flex-fill">
                <h4 class="text-gray text-lg mb-4">
                    <i class="site-tag iconfont icon-tag icon-lg mr-1" id="{{ md5 .taxonomy }}"></i>
                    {{ .taxonomy }}
                </h4>
                <!--div class="flex-fill"></div>
                <a class='btn-move text-xs' href='#'>more+</a-->
            </div>
            <!--获取内容列表-->
            <div class="row">
                {{ range .links }}
                <div class="url-card col-6  col-sm-6 col-md-4 col-xl-5a col-xxl-6a">
                    <div class="url-body default">
			<!--去除 Tooltip
			<a href="{{ .url }}" target="_blank" data-id="" data-url="{{ .url }}" class="card no-c mb-4" title="{{ .title }}">
			-->
			{{ if .qrcode }}
                            {{ if findRE "http.*?(.|\n)*?" .qrcode }}
			        <a href="javascript:" target="" class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-html="true" 
                                title="<img src='{{ .qrcode }}' width='128'>">
                            {{ else }}
                                <a href="javascript:" target="" class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-html="true"
                                title="<img src='{{ $.Site.Params.logosPath }}/{{ .qrcode }}' width='128'>">
                            {{ end }}
                        {{ else }}
                            <a href="{{ .url }}" target="_blank" data-id="" data-url="{{ .url }}" 
                            class="card no-c mb-4" data-toggle="tooltip" data-placement="bottom" data-original-title="{{ .description }}">
			{{ end }}
                            <div class="card-body">
                                <div class="url-content d-flex align-items-center">
                                    <div class="url-img mr-2 d-flex align-items-center justify-content-center">
                                        {{ if findRE "http.*?(.|\n)*?" .logo }}
					    {{ if $.Site.Params.defaultLogo }}
					    <img class="lazy" src="{{ .logo }}" data-src="{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.defaultLogo }}'" alt="{{ .title }}">
					    {{ else }}
                                            <img class="lazy" src="{{ .logo }}" data-src="{{ .logo }}"
                                                onerror="javascript:this.src='{{ .logo }}'" alt="{{ .title }}">
					    {{ end }}
                                        {{ else }}
					    {{ if $.Site.Params.defaultLogo }}
                                            <img class="lazy" src="{{ $.Site.Params.logosPath }}/{{ .logo }}" data-src="{{ $.Site.Params.logosPath }}/{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.defaultLogo }}'" alt="{{ .title }}">
					    {{ else }}
                                            <img class="lazy" src="{{ $.Site.Params.logosPath }}/{{ .logo }}" data-src="{{ $.Site.Params.logosPath }}/{{ .logo }}"
                                                onerror="javascript:this.src='{{ $.Site.Params.logosPath }}/{{ .logo }}'" alt="{{ .title }}">
					    {{ end }}
                                        {{ end }}
                                    </div>
                                    <div class="url-info flex-fill">
                                        <div class="text-sm overflowClip_1">
                                            <strong>{{ .title }}</strong>
                                        </div>
                                        <p class="overflowClip_1 m-0 text-muted text-xs">{{ .description }}</p>
                                    </div>
                                </div>
                            </div>
                        </a>
                        <a href="{{ .url }}" class="togo text-center text-muted is-views" data-id="689"
                            data-toggle="tooltip" data-placement="right" title="直达" rel="nofollow">
                            <i class="iconfont icon-goto"></i>
                        </a>
                    </div>
                </div>
                {{ end }}
            </div>
            <br />
            <!--END {{ .taxonomy }} -->
        {{ end }}
    {{ end }}                        
</div>
