code: def _page_meta_tags(app):
      start_page, path_variables = _path_to_page(
          flask.request.path.strip("/")
      )
  
      # use the supplied image_url or create url based on image in the assets folder
      image = start_page.get("image", "")
      if image:
          image = app.get_asset_url(image)
      assets_image_url = (
          "".join([flask.request.url_root, image.lstrip("/")])
          if image
          else None
      )
      supplied_image_url = start_page.get("image_url")
      image_url = (
          supplied_image_url if supplied_image_url else assets_image_url
      )
  
      title = start_page.get("title", app.title)
      if callable(title):
          title = title(**path_variables) if path_variables else title()
  
      description = start_page.get("description", "")
      if callable(description):
          description = (
              description(**path_variables)
              if path_variables
              else description()
          )
  
      return [
          {"name": "description", "content": description},
          {
              "property": "twitter:card",
              "content": "summary_large_image",
          },
          {"property": "twitter:url", "content": flask.request.url},
          {"property": "twitter:title", "content": title},
          {"property": "twitter:description", "content": description},
          {"property": "twitter:image", "content": image_url or ""},
          {"property": "og:title", "content": title},
          {"property": "og:type", "content": "website"},
          {"property": "og:description", "content": description},
          {"property": "og:image", "content": image_url or ""},
      ]
  
imports: import collections
  import importlib
  import os
  import re
  import sys
  from fnmatch import fnmatch
  from pathlib import Path
  from os.path import isfile, join
  from urllib.parse import parse_qs
  import flask
  from .None import _validate
  from ._utils import AttributeDict
  from ._get_paths import get_relative_path
  from ._callback_context import context_value
  from ._get_app import get_app
label_desc: Use image node_id 13 for calling a global function with example usage: _page_meta_tags(app) and returns: list