【文件属性】:
文件名称:static-site-generator:从后数据生成静态站点
文件大小:10KB
文件格式:ZIP
更新时间:2021-02-14 19:02:23
PHP
静态站点生成器
0.这是什么?
PHP的static-site-generator。
1.入门
1-a。下载
您可以通过任何方式在github上下载此应用程序。
$ git clone https://github.com/tomoyk/static-site-generator.git
1-b。编辑core2.php
您可以在core2.php上设置任何配置。
$ vim core2.php
2.写页面
2-a。设置文件
您将在DATA_PATH上设置在core2.php中配置的文件。
例如)DATA_PATH:src /
src / index.txt
src / yourPage.txt
src / yourDirectory / index.txt
src / yourDirectory / yourPage.txt
现在,此应用仅支持第一个目录。 稍后将支持第
【文件预览】:
static-site-generator-master
----functions2.php(16KB)
----LICENSE(1KB)
----core2.php(5KB)
----README.md(2KB)
----template.php(687B)
----htaccess.txt(292B)