사용자 도구

사이트 도구


기술문서:오픈소스:dokuwiki

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
기술문서:오픈소스:dokuwiki [2026/02/09 18:30]
carlito76
기술문서:오픈소스:dokuwiki [2026/02/27 10:53] (현재)
carlito76
줄 52: 줄 52:
 ==== 기본 템플릿 ==== ==== 기본 템플릿 ====
 === 이미지 교체 === === 이미지 교체 ===
-  * lib/tpl/dokuwiki/images/favicon.ico 
   * lib/tpl/dokuwiki/images/apple-touch-icon.png   * lib/tpl/dokuwiki/images/apple-touch-icon.png
   * lib/tpl/dokuwiki/images/logo.png   * lib/tpl/dokuwiki/images/logo.png
 +  * lib/tpl/dokuwiki/images/favicon.ico
  
 === logo 대체 텍스트 === === logo 대체 텍스트 ===
줄 280: 줄 280:
 ==== favicon 설정 ==== ==== favicon 설정 ====
   * apple-touch-icon.png   * apple-touch-icon.png
 +  * favicon-96x96.png
   * favicon.ico   * favicon.ico
   * favicon.svg   * favicon.svg
-  * favicon-96x96.png 
  
 <sxh php; gutter: true; first-line: 1789; highlight: [1793-1815]; title: inc/template.php;> <sxh php; gutter: true; first-line: 1789; highlight: [1793-1815]; title: inc/template.php;>
줄 633: 줄 633:
 <sxh html; gutter: true; highlight: [1-14]; title: conf/pagefooter.html;> <sxh html; gutter: true; highlight: [1-14]; title: conf/pagefooter.html;>
 <!-- 카카오애드핏 --> <!-- 카카오애드핏 -->
-<div class="ad-adfit-pc">+<div class="ad-adfit-pc" style="margin-top:6px;">
  <ins class="kakao_ad_area" style="display:none;"  <ins class="kakao_ad_area" style="display:none;"
  data-ad-unit = "DAN-n9YTFT0FiNdcCyWi"  data-ad-unit = "DAN-n9YTFT0FiNdcCyWi"
줄 639: 줄 639:
  data-ad-height = "90"></ins>  data-ad-height = "90"></ins>
 </div> </div>
-<div class="ad-adfit-mobile">+<div class="ad-adfit-mobile" style="margin-top:8px;">
  <ins class="kakao_ad_area" style="display:none;"  <ins class="kakao_ad_area" style="display:none;"
  data-ad-unit = "DAN-zlwD249GnskVdX8E"  data-ad-unit = "DAN-zlwD249GnskVdX8E"
  data-ad-width = "320"  data-ad-width = "320"
  data-ad-height = "100"></ins>  data-ad-height = "100"></ins>
 +</div>
 +<!-- //카카오애드핏 -->
 +</sxh>
 +
 +<sxh html; gutter: true; highlight: [1-8]; title: conf/sidebarfooter.html;>
 +<!-- 카카오애드핏 -->
 +<div class="ad-adfit-pc" style="margin-top:5px;margin-left:5px;">
 + <ins class="kakao_ad_area" style="display:none;"
 + data-ad-unit = "DAN-GhlkefQp1GdcfmSS"
 + data-ad-width = "160"
 + data-ad-height = "600"></ins>
 </div> </div>
 <!-- //카카오애드핏 --> <!-- //카카오애드핏 -->
줄 719: 줄 730:
  
 === Tag Plugin === === Tag Plugin ===
-<sxh css; gutter: true; first-line: 7; highlight: [8]; title: lib/plugins/tag/style.css;>+<sxh css; gutter: true; first-line: 7; highlight: [8, 10, 14-16, 19-26]; title: lib/plugins/tag/style.css;>
 .dokuwiki div.tags { .dokuwiki div.tags {
   /*border-top: 2px dotted __border__;*/   /*border-top: 2px dotted __border__;*/
   clear: both;   clear: both;
-  margin-bottom: 1.4em;+  /*margin-bottom: 1.4em;*/
 } }
 +
 +.dokuwiki div.tagstop {
 +  /*border-bottom: 2px dotted __border__;
 +  margin-top: -1.3em;
 +  margin-bottom: .4em;*/
 +}
 +
 +.dokuwiki div.tags span a,
 +.dokuwiki div.tagstop span a {
 + color: #2962ff;
 + background-color: #e3f2fd;
 + padding: 4px 4px;
 + border-radius: 4px;
 + margin-left: 1px;
 +}
 +</sxh>
 +
 +<sxh php; gutter: true; first-line: 162; highlight: [171]; title: lib/plugins/tag/helper.php;>
 +    public function tagLinks($tags) {
 +        if (empty($tags) || ($tags[0] == '')) {
 +            return '';
 +        }
 +
 +        $links = array();
 +        foreach ($tags as $tag) {
 +            $links[] = $this->tagLink($tag);
 +        }
 +        return implode(''.DOKU_LF.DOKU_TAB, $links);
 +    }
 </sxh> </sxh>