thymeleaf遍历List

<div class="article-wrapper list-style clearfix bounceInUp animated" data-animate="bounceInUp"

    data-delay="100" th:each="articleInfo,articleStat:${articleList}">

            class="post-1 post type-post status-publish format-standard hentry category-uncategorized">

        <div class="article-entry-wrapper">

            <div class="entry-date">

                <div class="date-box updated">

                    <span class="date"

                          th:text="${#strings.substring(articleInfo.post_date,8,10)}">

                    <span class="month-year"

                          th:text="${#strings.substring(articleInfo.post_date,0,7)}">

                <div class="format-box"><i class="fa fa-camera-retro" aria-hidden="true">


            <div class="entry-content">


                <h1 class="entry-title">

                    <a th:href="${articleInfo.guid}" rel="bookmark"

                      th:text="${articleInfo.post_title}">

                <p class="single-line-meta"><i class="fa fa-user" aria-hidden="true">

                    <span class="vcard">

                        <span class="fn" th:text="${articleInfo.nicename}">

                            class="inline-sep">/

                    <i class="fa fa-calendar"

                      aria-hidden="true">

                    <span th:text="${#strings.substring(articleInfo.post_date,0,10)}">

                    <span class="inline-sep">/</span> <i class="fa fa-folder-open"

                                                        aria-hidden="true">

                    <a href="https://wp-themes.com/?cat=1" rel="category">暂无分类

                <p th:utext="${articleInfo.post_content}">


            <footer class="entry-meta">

            </footer>

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 2,744评论 0 3
  • "use strict";function _classCallCheck(e,t){if(!(e instanc...
    久些阅读 2,068评论 0 2
  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 9,554评论 0 13
  • (此部分解释来自百度百科)FTP 是File Transfer Protocol(文件传输协议)的英文简称,而...
    咸鱼_dd61阅读 6,777评论 0 0
  • 在书店待久了,你就会发现很多有趣的现象,比如能偶尔看到店员们蹲在一个角落里看着书;彼此还很陌生的孩子们喜坐在一起看...
    殿果阅读 469评论 2 1