Skip to content

Commit fee51b1

Browse files
author
Emmanouil Konstantinidis
committed
Include CNAME
1 parent c26cf5b commit fee51b1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ demo/db.sqlite3
99
dist/
1010
drfdocs.egg-info/
1111

12+
site/
13+
1214
rest_framework_docs/static/node_modules/
1315
rest_framework_docs/static/rest_framework_docs/js/dist.min.js.map

docs/CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
drfdocs.com

docs/template/base.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
{% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
88
{% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
99
{% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
10-
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
11-
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
10+
11+
{% if favicon %}
12+
<link rel="shortcut icon" href="{{ favicon }}">
13+
{% else %}
14+
<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">
15+
{% endif %}
1216

1317
<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
1418

0 commit comments

Comments
 (0)