顯示頁面舊版反向連結Copy this pageExport to Markdown輸出PDF檔案Fold/unfold allNew PageNew Folder回到頁頂Add Tags 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== material ====== * 支援主、副標 * 側欄用 sidebar.php 自訂 * 支援 material 圖示庫 * 字型大小都理想 * 預設 logo 用 /images/logo.svg,下面是有一塊留空的,不知道自訂 logo 是否也需如此設計?是為了放網站副標嗎?<todo>待問作者</todo> FIXME * /^20171028^/ 從開始用這個 template 並反映兩個 bug 至今,原作者都沒有回應耶~是太忙?要丟給社群了?沒人關心?那我可能要跳船了嗎 XD * /^20171113^/ 作者有修好一個 bug 了(真正屬於 bug 的那個),所以或許還是可以繼續用了 ===== bug ===== - 不過會有一條大大的 page ID 放在頁面主標上不好看 ← 研究了一下 main.php,如果有設定 ''youarehere'' 則這邊就會顯示 pagetitle,不然就是顯示 page ID;總之都太大了 XD 或是作者規劃把 pagetitle 放上面,然後下面的 pagetext 的 h1 要隱藏起來,但還沒找到成功的實做 FIXME * /^20171017^/ 我目前先改 userall.css(注意這是 farmer 的!animal 似乎沒有自己的一套 user CSS,所以為了識別是專用於 material tpl,我加了 ''html.mdl-js''):<code css> html.mdl-js div.content-card__text h1:first-of-type {display: none;} </code>後來又顧及一些系統工具並無 ''.content-card%%__%%title'',還有找不到頁面時也要保留 h1 ∴進一步改成:<code css> div#dokuwiki__top.tpl_material:not(.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;} </code>((中間曾以為下面這樣可以,但其實還是不行:<code css> html.mdl-js :not(div.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;}</code>))(呼呼,學習 '':not'' selector 試好久 :))\\ → 分享:[[https://github.com/LeonStaufer/material-dokuwiki/issues/3|Hiding redundant h1 in div.content-card__text · Issue #3 · LeonStaufer/material-dokuwiki]] - 搜尋功能目前好像不正常 FIXME * 在 animal 裡或在主站使用,AJAX 即時列出名稱相符的頁面是可以運作,但按 ``⏎`` 以後都一樣是 404 → <div> > <fs large>Not Found</fs> > > The requested URL /dokuwiki/doku.php was not found on this server. </div> * 反映 → [[https://github.com/LeonStaufer/material-dokuwiki/issues/2|Search box redirects to hard coded /dokuwiki/doku.php · Issue #2 · LeonStaufer/material-dokuwiki]] * ↑/^20171113^/ 前兩天 GitHub 通知:Leon 修好此 bug 了,今天更新後試用 ✔ {{tag>待研究 待問 已反映 bug}} 上一次變更: 2017/11/13 02:24由 ghsrobert