Java 模板引擎 Pebble

码农软件 · 软件分类 · 模板引擎 · 2019-08-22 20:44:40

软件介绍

Pebble 是一个 Java 模板引擎,灵感来自于 Twig。提供继承特性以及易读的语法,内建自动字符串的自动转义。支持国际化。

Maven

<dependency>
    <groupId>com.mitchellbosecke</groupId>
    <artifactId>pebble</artifactId>
    <version>2.3.0</version>
</dependency>

示例模板:

<html>
<head>
    <title>{% block title %}My Website{% endblock %}</title>
</head>
<body>
    <div id="content">
        {% block content %}{% endblock %}
    </div>
    <div id="footer">
        {% block footer %}
            Copyright 2014
        {% endblock %}
    </div>
</body>
</html>

本文地址:https://codercto.com/soft/d/12951.html

The Intersectional Internet

The Intersectional Internet

Safiya Umoja Noble、Brendesha M. Tynes / Peter Lang Publishing / 2016

From race, sex, class, and culture, the multidisciplinary field of Internet studies needs theoretical and methodological approaches that allow us to question the organization of social relations that ......一起来看看 《The Intersectional Internet》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码