2017-03-12 2 views

Antwort

2

Erstellen Sie Ihr eigenes "_templates" Verzeichnis und "layout.html" Datei (vorausgesetzt, Sie von einer "Quelle" Verzeichnis erstellen):

$ mkdir source/_templates 
$ touch source/_templates/layout.html 

Konfigurieren Sie Ihren "conf.py":

templates_path = ['_templates'] 
html_static_path = ['_static'] 

Überschreibungsdatei "source/_templates/layout.html":

{# Import the theme's layout. #} 
{% extends "!layout.html" %} 

{# Custom CSS overrides #} 
{% set bootswatch_css_custom = ['_static/my-styles.css'] %} 

In 012.:

body{ 
    font-family:"Arial", Helvetica, sans-serif; 
} 

This link weiter nützlich sein sollte

Verwandte Themen