【发布时间】:2014-04-15 02:59:52
【问题描述】:
我在 GitHub Pages 上托管了一个静态站点,该站点的规模开始增长。通常我会使用服务器端包含 (<?php include('path to file'); ?>) 来引入页眉、页脚和任何导航文件。但是 php 不能在 GitHub Pages 上运行。
采用一种 iFrame 技术的 HTML5 嵌入是我唯一的选择吗?
我看到了诸如this、this、this、this 之类的线程,但它们似乎不适用于 GitHub 页面。
不是很理想。
谢谢。
【问题讨论】:
-
PHP 包含不是 SSI。
标签: html iframe github-pages server-side-includes