基于emacs muse搭建网站

软件安装

  • 安装emacs
  • 安装muse

配置环境

  • emacs 的配置
  • muse 的配置

模版

  • header.html
  • footer.html
  • css

主机空间和域名

  • 免费的
  • 付费的 godaddy

一些配置技巧

通过 .htaccess 实现首页自动重定向

redirect permanent /index.html http://www.pengliu.org/web/index.html

通过 meta 实现首页自动重定向

Michael Olson taught me that the "content" parameter is the time to wait,semicolon, and the address to redirect to after that time. This is placed into the file "index.html".

<html>
<head>
  <title>Redirecting to main page</title>
<meta http-equiv="Refresh" content="2;web/WelcomePage.html">
</head>
<body>
<h1>Redirecting to main page</h1>
<p>If you aren't automatically transferred soon, your browser (or my code) is messed up.</p>
</body>
</html>

SeeAlso

foot bar