mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-29 00:17:04 +01:00
Update embed.html.j2
This commit is contained in:
parent
5e601fcf15
commit
60c83b8125
@ -27,6 +27,11 @@
|
|||||||
{% if css.css is not none %}{{ css.css }}{% endif %}
|
{% if css.css is not none %}{{ css.css }}{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!--Provide default mobile metadata-->
|
||||||
|
<meta id=AppTitleApple name="apple-mobile-web-app-title" content="TitanEmbeds">
|
||||||
|
<meta id=AppTitleAndroid name="application-name" content="TitanEmbeds">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="navbar-fixed">
|
<div class="navbar-fixed">
|
||||||
@ -369,6 +374,15 @@
|
|||||||
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/embed.js') }}"></script>
|
<script type="text/javascript" src="{{ url_for('static', filename='js/embed.js') }}"></script>
|
||||||
|
|
||||||
|
<!--Update mobile metadata to guild name-->
|
||||||
|
<script>
|
||||||
|
function AppTitleUpdate() {
|
||||||
|
var UpdatedAppTitle = document.getElementById("guild_name").innerHTML;
|
||||||
|
document.getElementById("AppTitleApple").content = UpdatedAppTitle;
|
||||||
|
document.getElementById("AppTitleAndroid").content = UpdatedAppTitle;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- Electron fix -->
|
<!-- Electron fix -->
|
||||||
<script>
|
<script>
|
||||||
if (window.module) {
|
if (window.module) {
|
||||||
|
Loading…
Reference in New Issue
Block a user