source: projects/vine-manual-build/trunk/local.xsl.in @ 4068

Revision 4068, 1.9 KB checked in by yasumichi, 13 years ago (diff)

web.xsl を web.xsl.in から生成するように修正

Line 
1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2
3        <xsl:import href="/usr/share/xml/gnome/xslt/docbook/html/db2html.xsl"/>
4       
5        <xsl:param name="db.chunk.chunk_top">0</xsl:param>
6        <xsl:param name="db.chunk.max_depth">2</xsl:param>
7
8        <!-- Q&A のスタイル変更 -->
9        <xsl:template match="question" mode="label.markup">
10                <xsl:text>Q</xsl:text>
11                <xsl:number level="multiple" count="qandaentry" format="1"/>
12        </xsl:template>
13        <xsl:template match="answer" mode="label.markup">
14                <xsl:text>A</xsl:text>
15                <xsl:number level="multiple" count="qandaentry" format="1"/>
16        </xsl:template>
17
18        <!--xsl:param name=""></xsl:param>
19        <xsl:param name=""></xsl:param-->
20        <xsl:template name="db2html.division.head.extra">
21                <div id="toplogo">
22                        <img src="@IMAGEDIR@/logo-vinelinux-nostring.png" alt="Vine Linux" />
23                        <div id="toplogo-title">
24                                <h1><strong>V</strong>ine<strong>L</strong>inux オンラインマニュアル</h1>
25
26                                <p>- コンパクトで軽量な日本語ディストリビューション -</p>
27                        </div>
28                </div>
29                <div id="menu">
30                        <ul id="main">
31                                <li><a class="left" href="@VMDIR@/index.html">マニュアル一覧</a></li>
32                                <li><a href="http://vinelinux.org/">公式サイト</a></li>
33                                <li><a href="http://vinelinux.org/ml.html">メーリングリスト</a></li>
34                                <li><a href="http://vinelinux.org/errata.html">更新情報</a></li>
35                                <li><a href="http://vinelinux.org/bts.html">バク情報</a></li>
36                                <li><a href="http://planet.vinelinux.org/">開発者ブログ</a></li>
37                                <li><a href="http://trac.vinelinux.org/">Wiki</a></li>
38                        </ul>
39                </div>
40        </xsl:template>
41
42        <!-- 上部のナビゲーションバーを無効に -->
43        <xsl:template name="db2html.division.top" />
44
45        <!-- スタイルシートを独自のものに変更 -->
46        <xsl:template name="db2html.css">
47                <link rel="stylesheet" type="text/css" href="@CSSFILE@"/>
48        </xsl:template>
49</xsl:stylesheet>
50
Note: See TracBrowser for help on using the repository browser.