diff options
| author | Roberto Bertó <roberto.berto@gmail.com> | 2024-03-10 12:42:31 -0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-10 12:42:31 -0300 | 
| commit | 95878ef8c96e276a8bc09b0326878a654ce2ee58 (patch) | |
| tree | ae6fe96cedca2ab2a48f4387cc3aaecc71cb0285 /docs/_templates | |
| parent | 0993a91255cad0dd893b7a60e05fd2120a343407 (diff) | |
| parent | 8d410c0843f7d8b88a5a20ccb778ae149c6fc098 (diff) | |
| download | vyos-documentation-95878ef8c96e276a8bc09b0326878a654ce2ee58.tar.gz vyos-documentation-95878ef8c96e276a8bc09b0326878a654ce2ee58.zip | |
Merge pull request #2 from vyos/master
import 2024-03
Diffstat (limited to 'docs/_templates')
| -rw-r--r-- | docs/_templates/layout.html | 28 | 
1 files changed, 24 insertions, 4 deletions
| diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 6cb68508..5736a26f 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,12 +1,32 @@  {% extends "!layout.html" %}  {%- set current_version = "1.5.x circinus" %}  {% block extrahead %} +    <style>#vyos-header-iframe{position:fixed;top:0;left:0;right:0;z-index:999999999;width:100%;border:none}</style> +    <style>#vyos-footer-iframe{width:100%;border:none}</style> +    <iframe src='https://vyos.io/iframes/header' id='vyos-header-iframe'></iframe> +    <script>const iframeHeader=document.getElementById('vyos-header-iframe');const postMessageToIframe=()=>{iframeHeader.contentWindow.postMessage({height:window.innerHeight,width:window.width},'*')};window.addEventListener('message',function(message){if(message.data.headerIframeHeight){iframeHeader.style.height=`${message.data.headerIframeHeight}px`;postMessageToIframe()}});window.addEventListener('resize',event=>{postMessageToIframe()})</script>      <link href="{{ pathto("_static/css/custom.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/lists.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/hints.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/headers.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/breadcrumbs.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/linkButtons.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/text.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/leftSidebar.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/scrolls.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/tables.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/installation/running-on-bare-metal.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/code-snippets.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/separate-commands.css", True) }}" rel="stylesheet" type="text/css"> +    <link href="{{ pathto("_static/css/configuration/index.css", True) }}" rel="stylesheet" type="text/css">      <link href="{{ pathto("_static/css/datatables.css", True) }}" rel="stylesheet" type="text/css"> +    <link rel="preconnect" href="https://fonts.googleapis.com"> +    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> +    <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap" rel="stylesheet">      <script type="text/javascript" charset="utf8" src="{{ pathto("_static/js/datatables.js", True) }}"></script>      <script type="text/javascript" charset="utf8" src="{{ pathto("_static/js/tables.js", True) }}"></script> -{% endblock %} -{% block extrabody %} -    <p class="devwarning">Warning: This is the dev version. The latest stable version is -    <a href="https://docs.vyos.io/en/equuleus/">Equuleus 1.3.x</a>.</a></p> +    <script type="text/javascript" charset="utf8" src="{{ pathto("_static/js/codecopier.js", True) }}"></script> +    <script type="text/javascript" charset="utf8" src="{{ pathto("_static/js/sidebar.js", True) }}"></script> +    <script type="text/javascript" charset="utf8" src="{{ pathto("_static/js/footer.js", True) }}"></script> +    </script>  {% endblock %} | 
