Giter Site home page Giter Site logo

webjava's Introduction

模版说明 使用继承 顶顶顶顶顶 {% block body %} XXXX hkud {% end %} 开始和end标记之间是默认内容,如果没有被继承就显示默认内容否则显示

文件的开始处生命继承的模版只允许单一继承(一层继承关系 待定)

一个文件可以包含多个文本块。在继承的文件只实现多个

{%block de%} 得到

dddd{%if(true)%}

dsssssssssssssssss
{%endif%}sss {% end %} 语法 测试语法开始

测试For {%for(int i = 0; i < $for:array.length; i++)%} 城市是:{{for:i}} {%endfor%}

{{frist}} dddd{%if(true)%}
dddddddddddddddddddddd
{%elseif($name:boolean&&true)%}
fsssssssssssssssfffff
{%else%}
fffffffffffff
{%endif%}sss

{{name}}

{%for(int i=0;i<5;i++)%} for循环的测试点点滴滴点点滴滴的的的的的的 {%endfor%}

{#de = de+"fr"#} 测试执行任意Java语句

{{}} 表示 输出变量 {%%}if for 语句 {##}执行的语句

以上部分是文档说明

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.