diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index 4c0e580..3ed3ae5 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -2273,23 +2273,20 @@ function theme_tablesort_indicator($variables) {
 }
 
 /**
- * Returns HTML for a marker for new or updated content.
+ * Prepares variables for mark templates.
  *
- * @param $variables
+ * Default template: mark.html.twig.
+ *
+ * @param array $variables
  *   An associative array containing:
  *   - type: Number representing the marker type to display. See MARK_NEW,
  *     MARK_UPDATED, MARK_READ.
  */
-function theme_mark($variables) {
-  $type = $variables['type'];
+function template_preprocess_mark(&$variables) {
   global $user;
+  $variables['logged_in'] = FALSE;
   if ($user->uid) {
-    if ($type == MARK_NEW) {
-      return ' <span class="marker">' . t('new') . '</span>';
-    }
-    elseif ($type == MARK_UPDATED) {
-      return ' <span class="marker">' . t('updated') . '</span>';
-    }
+    $variables['logged_in'] = TRUE;
   }
 }
 
@@ -3191,6 +3188,7 @@ function drupal_common_theme() {
     ),
     'mark' => array(
       'variables' => array('type' => MARK_NEW),
+      'template' => 'mark'
     ),
     'item_list' => array(
       'variables' => array('items' => array(), 'title' => '', 'type' => 'ul', 'attributes' => array()),
diff --git a/core/modules/system/templates/mark.html.twig b/core/modules/system/templates/mark.html.twig
new file mode 100644
index 0000000..72254b7
--- /dev/null
+++ b/core/modules/system/templates/mark.html.twig
@@ -0,0 +1,26 @@
+{#
+/**
+ * @file
+ * Default theme implementation for a marker for new or updated content.
+ *
+ * Available variables:
+ * - type: Number representing the marker type to display. Use the constants
+ *   below for comparison:
+ *   - MARK_NEW
+ *   - MARK_UPDATED
+ *   - MARK_READ
+ * - logged_in: TRUE if the user is logged in, else FALSE.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_mark()
+ *
+ * @ingroup themeable
+ */
+#}
+{% if logged_in %}
+  {% if type is constant('MARK_NEW') %}
+    <span class="marker">{{ 'new'|t }}</span>
+  {% elseif type is constant('MARK_UPDATED') %}
+    <span class="marker">{{ 'updated'|t }}</span>
+  {% endif %}
+{% endif %}
