diff --git a/website/web/__init__.py b/website/web/__init__.py index 8cbf52ec..89b8798a 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -361,7 +361,7 @@ def tree(tree_uuid: str, urlnode_uuid: Optional[str]=None): return render_template('tree.html', tree_json=ct.to_json(), start_time=ct.start_time.isoformat(), user_agent=ct.user_agent, root_url=ct.root_url, - tree_uuid=tree_uuid, + tree_uuid=tree_uuid, public_domain=lookyloo.public_domain, screenshot_thumbnail=b64_thumbnail, page_title=cache.title, meta=meta, enable_mail_notification=enable_mail_notification, enable_context_by_users=enable_context_by_users, diff --git a/website/web/templates/index.html b/website/web/templates/index.html index 1fefa8e8..16071858 100644 --- a/website/web/templates/index.html +++ b/website/web/templates/index.html @@ -5,6 +5,23 @@ {% block title %}Lookyloo{% endblock %} +{% block card %} + + + + + +{% endblock %} + {% block scripts %} {{ super() }} diff --git a/website/web/templates/main.html b/website/web/templates/main.html index 1cc43eca..c437cd7e 100644 --- a/website/web/templates/main.html +++ b/website/web/templates/main.html @@ -12,9 +12,10 @@ {{ bootstrap.load_css() }} {% endblock %} - - {% block title %}{% endblock%} - + {% block title %}{% endblock%} + + {% block card %}{% endblock %} + {% endblock %} diff --git a/website/web/templates/tree.html b/website/web/templates/tree.html index 6affc821..e8bfe789 100644 --- a/website/web/templates/tree.html +++ b/website/web/templates/tree.html @@ -3,7 +3,24 @@ {% from 'bootstrap/utils.html' import render_messages %} {% from "macros.html" import shorten_string %} -{% block title %}Tree{% endblock %} +{% block title %}Capture of {{root_url}}{% endblock %} + +{% block card %} + + + + + +{% endblock %} {% block scripts %} {{ super() }}