provide settings prior to js rendering
This commit is contained in:
parent
e7b645a68a
commit
c74eeff790
3 changed files with 24 additions and 29 deletions
|
|
@ -7,6 +7,11 @@
|
|||
<link rel="stylesheet" href="./static/stylesheets/app.css">
|
||||
<link rel="icon shortcut" href="./static/graphicarts/anchor.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<script>
|
||||
window.app = window.app || {}
|
||||
window.app.settings = {% .settings %}
|
||||
window.app.authenticated = {% .authenticated %}
|
||||
</script>
|
||||
</head>
|
||||
<body class="theme-light">
|
||||
<div id="app" class="d-flex" :class="{'feed-selected': feedSelected !== null, 'item-selected': itemSelected !== null}" v-cloak>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue