易优 CMS(EyouCMS)的前端模板存放位置如下:

电脑端模板目录

  • 主目录:\template\pc
  • 默认模板:\template\default\pc
  • 自定义模板:\template\自定义\pc

移动端模板目录

  • 主目录:\template\mobile
  • 默认模板:\template\default\mobile
  • 自定义模板:\template\自定义\mobile

注意事项

  • 如果你的模板目录中没有 mobile 目录,那么很可能你的模板是响应式的,即同一套模板同时适用于电脑端和移动端,不需要分开维护两套模板文件。

示例目录结构

对于一个典型的易优 CMS 项目,目录结构可能如下所示:

/www/wwwroot/yourproject/
├── template/
│   ├── pc/
│   │   ├── index.html
│   │   ├── about.html
│   │   └── ...
│   ├── default/
│   │   ├── pc/
│   │   │   ├── index.html
│   │   │   ├── about.html
│   │   │   └── ...
│   │   ├── mobile/
│   │   │   ├── index.html
│   │   │   ├── about.html
│   │   │   └── ...
│   ├── 自定义/
│   │   ├── pc/
│   │   │   ├── index.html
│   │   │   ├── about.html
│   │   │   └── ...
│   │   ├── mobile/
│   │   │   ├── index.html
│   │   │   ├── about.html
│   │   │   └── ...
└── ...

在这个结构中,pc 和 mobile 分别表示电脑端和移动端的模板文件夹。default 和 自定义 是两个不同风格的模板目录。如果你使用的是响应式设计,则只需要维护一套模板文件,通常会放在 pc 目录下,因为响应式设计能够自动适应不同设备的屏幕尺寸。