문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
기술문서:오픈소스:dokuwiki [2026/02/09 16:42] carlito76 |
기술문서:오픈소스:dokuwiki [2026/02/27 10:53] (현재) carlito76 |
||
|---|---|---|---|
| 줄 52: | 줄 52: | ||
| ==== 기본 템플릿 ==== | ==== 기본 템플릿 ==== | ||
| === 이미지 교체 === | === 이미지 교체 === | ||
| - | * lib/ | ||
| * lib/ | * lib/ | ||
| * lib/ | * lib/ | ||
| + | * lib/ | ||
| === 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]; | <sxh php; gutter: true; first-line: 1789; highlight: [1793-1815]; | ||
| 줄 308: | 줄 308: | ||
| } | } | ||
| */ | */ | ||
| - | $return .= '< | + | $return .= '< |
| - | $return .= '< | + | $return .= '< |
| - | $return .= '< | + | $return .= '< |
| - | $return .= '< | + | $return .= '< |
| return $return; | return $return; | ||
| 줄 514: | 줄 514: | ||
| <sxh html; gutter: true; highlight: [1-44]; title: conf/ | <sxh html; gutter: true; highlight: [1-44]; title: conf/ | ||
| - | < | + | < |
| <meta property=" | <meta property=" | ||
| <meta property=" | <meta property=" | ||
| <meta property=" | <meta property=" | ||
| <meta property=" | <meta property=" | ||
| - | <!-- //오픈 그래프 | + | <!-- //Open Graph --> |
| <!-- JSON-LD --> | <!-- JSON-LD --> | ||
| 줄 633: | 줄 633: | ||
| <sxh html; gutter: true; highlight: [1-14]; title: conf/ | <sxh html; gutter: true; highlight: [1-14]; title: conf/ | ||
| <!-- 카카오애드핏 --> | <!-- 카카오애드핏 --> | ||
| - | <div class=" | + | <div class=" |
| <ins class=" | <ins class=" | ||
| data-ad-unit = " | data-ad-unit = " | ||
| 줄 639: | 줄 639: | ||
| data-ad-height = " | data-ad-height = " | ||
| </ | </ | ||
| - | <div class=" | + | <div class=" |
| <ins class=" | <ins class=" | ||
| data-ad-unit = " | data-ad-unit = " | ||
| data-ad-width = " | data-ad-width = " | ||
| data-ad-height = " | data-ad-height = " | ||
| + | </ | ||
| + | <!-- // | ||
| + | </ | ||
| + | |||
| + | <sxh html; gutter: true; highlight: [1-8]; title: conf/ | ||
| + | <!-- 카카오애드핏 --> | ||
| + | <div class=" | ||
| + | <ins class=" | ||
| + | data-ad-unit = " | ||
| + | data-ad-width = " | ||
| + | data-ad-height = " | ||
| </ | </ | ||
| <!-- // | <!-- // | ||
| 줄 719: | 줄 730: | ||
| === Tag Plugin === | === Tag Plugin === | ||
| - | <sxh css; gutter: true; first-line: 7; highlight: [8]; title: lib/ | + | <sxh css; gutter: true; first-line: 7; highlight: [8, 10, 14-16, 19-26]; title: lib/ |
| .dokuwiki div.tags { | .dokuwiki div.tags { | ||
| / | / | ||
| clear: both; | clear: both; | ||
| - | margin-bottom: | + | |
| } | } | ||
| + | |||
| + | .dokuwiki div.tagstop { | ||
| + | / | ||
| + | margin-top: -1.3em; | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | .dokuwiki div.tags span a, | ||
| + | .dokuwiki div.tagstop span a { | ||
| + | color: #2962ff; | ||
| + | background-color: | ||
| + | padding: 4px 4px; | ||
| + | border-radius: | ||
| + | margin-left: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 162; highlight: [171]; title: lib/ | ||
| + | public function tagLinks($tags) { | ||
| + | if (empty($tags) || ($tags[0] == '' | ||
| + | return ''; | ||
| + | } | ||
| + | |||
| + | $links = array(); | ||
| + | foreach ($tags as $tag) { | ||
| + | $links[] = $this-> | ||
| + | } | ||
| + | return implode('' | ||
| + | } | ||
| </ | </ | ||
| 줄 831: | 줄 871: | ||
| </ | </ | ||
| ((Indexmenu Plugin: If you use the ' | ((Indexmenu Plugin: If you use the ' | ||
| + | |||
| + | {{tag>" | ||