金字塔引导4.0
pyramid-bootstrap4的Python项目详细描述
金字塔引导4
==
图片::https://travis-ci.org/joeblackwaslike/pyramid_bootstrap.svg?branch=master
:目标:https://travis ci.org/joeblackwaslike/pyramidu bootstrap
:alt:build status
…图片::https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
:目标:https://github.com/joeblackwaslike/pyramid撸bootstrap
:alt:github repo
…图片::https://img.shields.io/pypi/v/pyramid_bootstrap.svg
:目标:https://pypi.python.org/pypi/pyramid_bootstrap
:alt:pypi version
图像::https://img.shields.io/pypi/l/pyramid_bootstrap.svg
:目标:https://pypi.python.org/pypi/pyramid_bootstrap
:alt:pypi许可证
图片::https://img.shields.io/pypi/wheel/pyramd廑bootstrap.svg
:目标:https://pypi.python.org/pypi/pyramd廑bootstrap
:alt:pypi wheel
图片::https://img.shields.io/pypi/pyversions/base58check.svg
:目标:https://pypi.python.org/pypi/pyramid撸bootstrap
:alt:pypi版本
mainter
--
joe black@joeblack.nyc `github<;https://github.com/joeblackwaslike>;`
简介
----
金字塔扩展,捆绑了所有Bootstrap 4资源,包括
Font Awesome。允许本地托管开发和CDN托管生产。
还包括Jinja2和Chameleon模板语言的主布局模板。
代码块::shell
代码块::python
config.include('金字塔引导')
代码块::金贾2
>>{%ext{“金字招牌”金字招牌:模板/bs4/layout.jinja2“%}
{%block title%}快速教程:{{{name}}{%endblocktitle%}
{{%block content%%}
>>
<;h1>;{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{是的代码块::chameleon
<;metal:macro use macro=“master”>;
<;metal:slot fill slot=“title”>;
<;title>;快速教程:${name}<;/title>;
<;/metal:slot>;
<;metal:slot fill slot=“content”>;
<;h1>;hi${name}<;<;p>;变色龙是一种基于XML的模板语言<;/p>;
<;/metal:slot>;
<;/metal:macro>;