FRHong

两个问题 1)关于themes 2)一个奇怪的现象

  •  
  •   FRHong · Dec 6, 2010 · 5315 views
    This topic created in 5707 days ago, the information mentioned may be changed or developed.
    === (1) 关于themes ====

    刚刚把最新版的PB下载然后更新,结果页面全部空白,发现是CSS的问题。在\tpl\desktop\common\head.html里的CSS是

    <link rel="stylesheet" type="text/css" media="screen" href="/css/{{ site.theme }}.css?v={{ system_version }}" />

    根目录面没有/css/这个文件夹啊?我把它改成 /static/css/{{ site.theme }}.css?v={{ system_version }}" />之还是没有解决问题。最后改回原来的版本

    <link rel="stylesheet" type="text/css" media="screen" href="/static/css/desktop/style.css?v={{ system_version }}" />


    === (2) 一个奇怪的现象 ====

    之前用管理员帐号在记事本里写了一点东西,结果几天后突然发现内容居然出现在about.html里。看了一下源代码,发现里面多了这么几行

    <div class="inner">
    <div class="page">
    <h1>{{ note.title|escape }}</h1>
    <div class="sep10"></div>
    {{ note.body|linebreaksbr }}
    <div class="sep10"></div>
    <!-- <small class="snow">Last Revised {{ note.last_modified|date:"n/j, Y" }}</small>-->
    </div>
    </div>

    请问 {{ note.title|escape }} 和 {{ note.body|linebreaksbr }} 是用来调出什么的?
    3 replies    1970-01-01 08:00:00 +08:00
    n2n3
        1
    n2n3  
       Dec 6, 2010
    1. 新的 app.yml
    n2n3
        2
    n2n3  
       Dec 6, 2010
    -------- | note num
    about | 2
    faq | 4
    mission | 5
    FRHong
        3
    FRHong  
    OP
       Dec 6, 2010
    @n2n3 谢谢,是我自己疏忽了。我还以为这个一般不用改到。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1303 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 23:46 · PVG 07:46 · LAX 16:46 · JFK 19:46
    ♥ Do have faith in what you're doing.