-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24d648c
commit 7e85812
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
tapisproject_cms/src/taccsite_cms/templates/assets_custom.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{# This template overwrites the original from TACC/Core-CMS #} | ||
{# NOTE: This should extend taccsite_cms via taccsite_custom, not overwrite #} | ||
{# FAQ: To extend, via app template inheritance, see TACC/Core-CMS#492 #} | ||
|
||
|
||
|
||
{# COPIED FROM CORE #} | ||
{# https://github.com/TACC/Core-CMS/blob/c8844e1/taccsite_cms/templates/assets_custom.html #} | ||
|
||
{% load static %} | ||
|
||
<!-- Custom Site Assets: Favicon. --> | ||
{% with settings.FAVICON as favicon %} | ||
<link rel="icon" href="{% static favicon.img_file_src %}" type="image/x-icon" /> | ||
{% endwith %} | ||
|
||
|
||
|
||
{# NEW CODE #} | ||
|
||
<!-- To style old CMS content on new CMS --> | ||
<link rel="stylesheet" href="{% static 'tapisproject_cms/css/migrate.v1_v2.css' %}"> |
1 change: 1 addition & 0 deletions
1
...ms/src/taccsite_custom/tapisproject_cms/static/tapisproject_cms/img/css/migrate.v1_v2.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import url("/static/site_cms/css/build/v1_v2.css"); /* Core-CMS:/taccsite_cms/…/ */ |