OSDN Git Service

#37370 Pandoc用のWEB公開向けHTMLテンプレートを追加。 / Add HTML template for web page by Pandoc.
authorDeskull <desull@users.sourceforge.jp>
Sat, 26 Aug 2017 06:56:27 +0000 (15:56 +0900)
committerDeskull <desull@users.sourceforge.jp>
Sat, 26 Aug 2017 06:56:27 +0000 (15:56 +0900)
markdown/template.html [new file with mode: 0644]

diff --git a/markdown/template.html b/markdown/template.html
new file mode 100644 (file)
index 0000000..4287b0a
--- /dev/null
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
+<head>
+       <meta charset="utf-8">
+       <link rev=made href="mailto:hengband-dev@lists.sourceforge.jp" />
+       <link rel="stylesheet" href="hengband.css" />
+       <meta name="generator" content="pandoc">
+       <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
+$for(author-meta)$
+       <meta name="author" content="$author-meta$">
+$endfor$
+$if(date-meta)$
+       <meta name="dcterms.date" content="$date-meta$">
+$endif$
+$if(keywords)$
+       <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
+$endif$
+       <title>$if(title-prefix)$$title-prefix$ 窶・$endif$$pagetitle$</title>
+       <style type="text/css">code{white-space: pre;}</style>
+$if(quotes)$
+$endif$
+$if(highlighting-css)$
+       <style type="text/css">
+$highlighting-css$
+       </style>
+$endif$
+$for(css)$
+       <link rel="stylesheet" href="$css$">
+$endfor$
+$if(math)$
+       $math$
+$endif$
+       <!--[if lt IE 9]>
+               <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+       <![endif]-->
+$for(header-includes)$
+       $header-includes$
+$endfor$
+</head>
+
+<body>
+       $for(include-before)$
+       $include-before$
+       $endfor$
+
+       <div id="wrapper">
+
+               <header>
+
+               $if(title)$
+               <h1 class="title">$title$</h1>
+               $if(subtitle)$
+               <p class="subtitle">$subtitle$</p>
+               $endif$
+               $for(author)$
+               <p class="author">$author$</p>
+               $endfor$
+               $if(date)$
+               <p class="date">$date$</p>
+               $endif$
+               </header>
+
+               $endif$
+
+               <div id="header">
+
+                       <table class="title">
+                               <tr>
+                                       <td>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                       </td>
+
+                                       <td rowspan="2">
+                                               <img src="hengband_title.png" alt="変愚蛮怒 Hengband">
+                                       </td>
+
+                                       <td>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                       </td>
+
+                               </tr>
+                               <tr>
+                                       <td>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                       </td>
+
+                                       <td>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                               <img src="tama.gif" alt="tama" width=33 height=47>
+                                       </td>
+
+                               </tr>
+
+                       </table class="title">
+
+               </div>
+
+               <div class="main_menu_bar">
+                       <table class="main_menu_bar">
+                               <tr>
+                                       <td class="main_menu"><a href="index.html">トップ</a></td>
+                                       <td class="main_menu"><a href="download.html">ダウンロード</a></td>
+                                       <td class="main_menu"><a href="score.html">スコア</a></td>
+                                       <td class="main_menu"><a href="lists.html">コミュニティ</a></td>
+                               </tr>
+                               <tr>
+                                       <td class="main_menu"><a href="history.html">バージョン履歴</a></td>
+                                       <td class="main_menu"><a href="link.html">関連リンク</a></td>
+                                       <td class="main_menu"><a href="jlicense.txt">著作権表記</a></td>
+                                       <td class="main_menu"><a href="en/index.html">English page</a></td>
+                               </tr>
+                       </table>
+               </div>
+
+               <div class="content">
+                       $if(toc)$
+                       <nav id="$idprefix$TOC">
+                       $toc$
+                       </nav>
+                       $endif$
+                       $body$
+                       $for(include-after)$
+                       $include-after$
+                       $endfor$
+               </div>
+
+               <div class="footer">
+                       <a href="http://sourceforge.jp/" class="footer_banner"><img src="http://sourceforge.jp/sflogo.php?group_id=541" width="96" height="31" border="0" alt="SourceForge.jp"></a>
+                       ページへのリンクは御自由にどうぞ。/Link Free. 2017 Hengband Dev Team.<br>
+                       <a href="mailto:hengband-dev@lists.sourceforge.jp">hengband-dev@lists.sourceforge.jp</a><br>
+               </div>
+
+       </div>
+
+</body>
+
+</html>