2016-06-16 1 views
0

私のikiwikiのすべてのHTMLページのすべてのヘッダーに以下を追加します。ikiwikiテンプレートへのフォントリンクの追加

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Tangerine"> 
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Romanesco"> 
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,400italic,600italic,700italic' rel='stylesheet' type='text/css'/> 
<link href='https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,600,700,800,400italic,600italic,700italic' rel='stylesheet' type='text/css'/> 
<link href='https://fonts.googleapis.com/css?family=PT+Sans:400,600,700,800,400italic,600italic,700italic' rel='stylesheet' type='text/css'/> 

私はカスタムtemplates/page.tmpl.mdwnでこれらの行を追加しようとしましたが、私はWikiを展開するたびに、それらが追加されていません。

私は間違っていますか?

答えて

0

$git_repo/templatesにはのコピーであるpage.tmplというファイルが作成されます。ファイルはローカルシステム内にあります。

次に、$git_repo/templates/page.tmplを変更して、必要なものを追加することができます。

関連する問題