diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 4b051871..3a914bf2 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -179,6 +179,9 @@ SITE_INFO = { "site_description": env("NEODB_SITE_DESCRIPTION"), "site_head": env("NEODB_SITE_HEAD"), "site_links": [{"title": k, "url": v} for k, v in env("NEODB_SITE_LINKS").items()], + # "cdn_url": "/cdn", + # "cdn_url": "https://cdn.jsdelivr.net", + "cdn_url": "https://fastly.jsdelivr.net", } SETUP_ADMIN_USERNAMES = env("NEODB_ADMIN_USERNAMES") diff --git a/catalog/templates/discover.html b/catalog/templates/discover.html index 53deb566..0e1408b7 100644 --- a/catalog/templates/discover.html +++ b/catalog/templates/discover.html @@ -20,8 +20,8 @@ {{ site_name }} - {% trans '发现' %} {% include "common_libs.html" %} - - + @@ -101,7 +101,7 @@ - {{ layout|json_script:"layout-data" }} diff --git a/catalog/templates/embed_base.html b/catalog/templates/embed_base.html index 11461ff9..f9647895 100644 --- a/catalog/templates/embed_base.html +++ b/catalog/templates/embed_base.html @@ -13,7 +13,7 @@ - + {% block head %}{% endblock %} {{ site_name }} - {% trans item.category.label %} | {{ item.title }} diff --git a/catalog/templates/embed_podcast.html b/catalog/templates/embed_podcast.html index fa720632..7b6766ca 100644 --- a/catalog/templates/embed_podcast.html +++ b/catalog/templates/embed_podcast.html @@ -10,8 +10,8 @@ {% load strip_scheme %} {% load thumb %} {% block head %} - - +