Add favicon.
This commit is contained in:
parent
1ca0723cc2
commit
46c1e1f3df
|
@ -53,6 +53,8 @@ def setup_directory_structure(settings, base_dir, template_dir):
|
||||||
style_new_file = os.path.join(site_new_dir, 'style.css')
|
style_new_file = os.path.join(site_new_dir, 'style.css')
|
||||||
write(style_new_file, style_out)
|
write(style_new_file, style_out)
|
||||||
|
|
||||||
|
shutil.copy(os.path.join(template_dir, 'favicon.png'), site_new_dir)
|
||||||
|
|
||||||
return site_new_dir
|
return site_new_dir
|
||||||
|
|
||||||
def publish_new_site(site_dir, site_new_dir):
|
def publish_new_site(site_dir, site_new_dir):
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>media.metanohi.name</title>
|
<title>media.metanohi.name</title>
|
||||||
<link href="{style_url}" type="text/css" rel="stylesheet">
|
<link href="{style_url}" type="text/css" rel="stylesheet">
|
||||||
|
<link type="image/png" rel="shortcut icon" href="/favicon.png">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="body-behind"><div></div></div>
|
<div id="body-behind"><div></div></div>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue