1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
{%- include top.html -%}
<body class="wrap">
{%- include header.html -%}
{{- content -}}
{%- include footer.html -%}
{%- include anchor_links.html -%}
{%- include analytics.html -%}
{%- include search/script.html -%}
<script>
{%- comment -%}
// This function is called when the user selects an option from a <select> element.
// If the selected option has a valid URL, it changes the window location to that URL.
{%- endcomment %}
const navigateToUrl = (select) => {
const url = select.value;
url && (window.location.href = url);
};
</script>
</body>
</html>
|