Skip to content

Commit e13a396

Browse files
committed
Table of contents logic
1 parent 9064893 commit e13a396

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/_includes/layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% include 'navigation.html' %}
1111

1212
<main id="content" class="d-flex fl-grow1 ps-relative t64 py24 pl48 md:pl24 sm:pl16 sm:pr16">
13-
{% if menu %}
13+
{% if hide-menu != true %}
1414
<div class="flex--item order-last ml32 sm:d-none print:d-none" style="width: 14rem;">
1515
<div class="ps-fixed t64 b0 py12 overflow-y-auto" style="width: 14rem;">
1616
<h5 class="mt16 mb8 fw-bold tt-uppercase fs-fine fc-theme-primary mnl1">Sections</h5>

docs/email/guidelines/getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Email design at Stack Overflow
44
description: An email design system that helps us work together to create consistently-designed, properly-rendered email for all Stack Overflow users. Intended for anyone who works with email at Stack&nbsp;Overflow.
5-
menu: false
5+
hide-menu: true
66
---
77
<section class="stacks-section">
88
<div class="d-flex ai-center jc-space-between mb16 sm:fd-column sm:ai-start">

docs/email/templates/long-transactional.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Long transactional template
44
description: A starter template for more complex transactional emails that could contain multiple messages. This template is meant to be adapted and built upon.
5-
menu: false
5+
hide-menu: true
66
---
77
<section class="stacks-section" data-controller="docs-resizer">
88
<div class="d-flex jc-space-between ai-stretch gs16 gsx sm:fd-column">

docs/email/templates/major-announcements.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Major announcements
44
description: Not all emails should look the same. Sometimes it’s appropriate to ditch the starter templates and design something unique. Here are a few emails we’ve sent for major announcements.
5-
menu: false
5+
hide-menu: true
66
---
77
{% tip %}
88
<strong>Note:</strong> The source for these emails is provided for historical purposes only. It’s ok to grab <strong>parts</strong> of a design, but these templates should not be used as a starting point because the code is likely outdated.

docs/email/templates/promotional.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Promotional template
44
description: A starter template for announcements, updates, and promotions. This template is meant to be adapted and built upon. If you’re working on a <strong>major announcement</strong>, consider <a href="{{ "/email/templates/major-announcements" | url }}">designing something&nbsp;unique</a>.
5-
menu: false
5+
hide-menu: true
66
---
77
<section class="stacks-section" data-controller="docs-resizer">
88
<div class="d-flex jc-space-between ai-stretch gs16 gsx sm:fd-column">

docs/email/templates/short-transactional.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: page
33
title: Short transactional template
4-
description: A starter template for simple transactional emails with a single message. This template is meant to be adapted and built upon.
5-
menu: false
4+
description: A starter template for simple transactional emails with a single message. This template is meant to be adapted and built upon.
5+
hide-menu: true
66
---
77

88
<section class="stacks-section" data-controller="docs-resizer">

0 commit comments

Comments
 (0)