diff --git a/README.md b/README.md index 5628e2f..abed3fc 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Machete是单入口模式PHP源码,**不支持子目录方式访问**,以下 Machete使用非常简单,一旦部署好之后,以后只需将本地最新内容上传覆盖即可。 -1. 下载Machete源码,并参考[Nginx配置示例](./Nginx.conf.md)部署到你的服务器上; +1. 下载Machete源码,并参考[Nginx配置示例](./conf/nginx_machete.conf)部署到你的服务器上; 说明: diff --git a/conf/app.php b/conf/app.php index 7206d91..8ab7bfa 100644 --- a/conf/app.php +++ b/conf/app.php @@ -22,13 +22,13 @@ $configs = array( //'theme' => 'manual', //name of theme which is enabled //导航站皮肤 - //'content_directory' => 'navs/', //directory of contents in /www/ - //'theme' => 'webdirectory', + 'content_directory' => 'navs/', //directory of contents in /www/ + 'theme' => 'webdirectory', //图片站皮肤 - 'content_directory' => 'girls/', //directory of contents in /www/ + //'content_directory' => 'girls/', //directory of contents in /www/ //'theme' => 'googleimage', //name of theme which is enabled - 'theme' => 'beauty', //皮肤美图 + //'theme' => 'beauty', //皮肤美图 //视频站皮肤 //'content_directory' => 'videos/', //directory of contents in /www/ diff --git a/www/content/Theme_WebDirectory.md b/www/content/Theme_WebDirectory.md index fff2a78..d72bf3f 100644 --- a/www/content/Theme_WebDirectory.md +++ b/www/content/Theme_WebDirectory.md @@ -17,4 +17,22 @@ ``` 'content_directory' => 'navs/', //内容存放目录 'theme' => 'webdirectory', //皮肤名称 -``` \ No newline at end of file +``` + + +## 添加导航网址 + +进入目录:www/navs/,按照你需要的分类,创建子目录。 + +例如:**filesite** + + +再进入子目录filesite,添加导航网址。 + +导航网址文件.url格式如下: +``` +[InternetShortcut] +URL=https://filesite.io/ +``` + +导航网址文件名就是导航链接的名称。 diff --git a/www/navs/filesite/filesite.url b/www/navs/filesite/filesite.url new file mode 100644 index 0000000..147cd50 --- /dev/null +++ b/www/navs/filesite/filesite.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://filesite.io/ diff --git a/www/navs/filesite/herounion.url b/www/navs/filesite/herounion.url new file mode 100644 index 0000000..7dd601b --- /dev/null +++ b/www/navs/filesite/herounion.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://herounion.filesite.io/ diff --git a/www/navs/filesite/tajian.url b/www/navs/filesite/tajian.url new file mode 100644 index 0000000..98d4746 --- /dev/null +++ b/www/navs/filesite/tajian.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://tajian.tv/