Closed istek closed 7 years ago
博客设计为两栏式风格,所以设计初始没有考虑首页单栏的情况。所以不能简单的配置达到目的。
你需要改动index.hbs这个文件,把{{> "sidebar"}}去掉。但是左侧文章栏宽度会不变,没有响应式。
index.hbs
{{> "sidebar"}}
这时你需要改动loop.hbs文件
loop.hbs
把
<div id="content" class="content col-sm-12 col-md-8 col-lg-8">
改为
<div id="content" class="content col-sm-12 col-md-12 col-lg-12">
另外还需要设置文章的宽度,改动screen.css。这个你可以自己尝试调试。
screen.css
博客设计为两栏式风格,所以设计初始没有考虑首页单栏的情况。所以不能简单的配置达到目的。
你需要改动
index.hbs
这个文件,把{{> "sidebar"}}
去掉。但是左侧文章栏宽度会不变,没有响应式。这时你需要改动
loop.hbs
文件把
改为
另外还需要设置文章的宽度,改动
screen.css
。这个你可以自己尝试调试。