当前位置:网站首页>dedecms模板文件讲解以及首页标签替换
dedecms模板文件讲解以及首页标签替换
2022-06-24 09:38:00 【米米素材网】
关于dedecms模板文件,可以参考织梦系统文件夹功能简介或者是之前发布的dedecms的安装介绍.
通过仿站小工具下载网站首页,我们已经成功把要仿的网站首页下载下来,下面如何结合dedecm修改其中内容调用标签成为我们自己的,这一步也就是'套模板'.
把通过仿站小工具下载的文件复制粘贴到我们创建的网站根目录中, 织梦模板默认文件后缀为.htm因此需要把index.html文件修改为index.htm前台刷新访问,页面排版错乱,见截图:
如何修改,图片路径错误修改其中对应的代码标签,把static/修改为{dede:global.cfg_templets_skin/}/static/动态浏览页面正常
另外织梦首页的标题/关键词/描述如何调用,参考如下代码,进行修改.同时在后台基本参数中填充对应文字.
首页标题调用{dede:global.cfg_webname/}
首页关键字调用{dede:global.cfg_keywords/}
首页描述调用{dede:global.cfg_description/}
边栏推荐
- MYSQL数据高级
- NVIDIA's CVPR 2022 oral is on fire! 2D images become realistic 3D objects in seconds! Here comes the virtual jazz band!
- canvas 绘制图片
- Phpstrom code formatting settings
- 物联网?快来看 Arduino 上云啦
- 二叉樹第一部分
- Arbre binaire partie 1
- Honeypot 2 hfish, ehoney
- Top issue tpami 2022! Behavior recognition based on different data modes: a recent review
- Detailed explanation of ThinkPHP 5.0 Model Association
猜你喜欢
随机推荐
大中型企业如何构建自己的监控体系
Detailed explanation of ThinkPHP 5.0 Model Association
二叉树第一部分
蜜罐2款hfish,ehoney
PHP encapsulates a file upload class (supports single file and multiple file uploads)
Latex formula and table recognition
414-二叉树的递归遍历
416-二叉树(前中后序遍历—迭代法)
Get the QR code of wechat applet with parameters - and share the source code of modifying the QR code logo
canvas掉落的小球重力js特效动画
Thinkphp5 multi language switching project practice
Array seamless scrolling demo
[input method] so far, there are so many Chinese character input methods!
Canvas draw picture
How do novices choose the grade of investment and financial products?
[Eureka source code analysis]
416 binary tree (first, middle and last order traversal iteration method)
Oracle viewing data file header SCN information
GeoGebra 实例 时钟
YOLOv6:又快又准的目标检测框架开源啦









