/
githubmirror
/
express
Обзор
Документация
Войти
/
githubmirror
/
express
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/route-separation/views/posts/index.ejs
12 строк
209 B
Aravind Nair
build: ejs@3.1.6
01 авг 2021, 04:54
01 авг 2021, 04:54
884e080
Код
Авторство
О чём код?
<%- include('../header') -%> <h1>Posts</h1> <dl id="posts"> <% posts.forEach(function(post) { %> <dt><%= post.title %></dt> <dd><%= post.body %></dd> <% }) %> </dl> <%- include('../footer') -%>