Fixes to h2 headers caused by Action Network form handling

This commit is contained in:
Nathan Schneider
2025-06-27 21:37:43 -06:00
parent d2cd3e6c24
commit 7480231a58
4 changed files with 31 additions and 8 deletions

View File

@ -1,5 +1,5 @@
--- ---
title: "" title: "Exit to Community"
description: "Stories and strategies for community ownership" description: "Stories and strategies for community ownership"
hero_image: "/img/Frame_1_(6).png" hero_image: "/img/Frame_1_(6).png"
hero_alt: "Exit to Community concept illustration" hero_alt: "Exit to Community concept illustration"
@ -17,9 +17,9 @@ hero_alt: "Exit to Community concept illustration"
<div class="intro-section"> <div class="intro-section">
<h2>What is Exit to Community?</h2> <h2>What is Exit to Community?</h2>
<p>Most startups aim for one of two "exit" options: an acquisition by another company or a public stock offering. Both often pit founders and investors against the communities they claim to serve.</p> Most startups aim for one of two "exit" options: an acquisition by another company or a public stock offering. Both often pit founders and investors against the communities they claim to serve.
<p>Exit to Community is a search for another way—a path where organizations can mature toward accountability and shared prosperity.</p> Exit to Community is a search for another way—a path where organizations can mature toward accountability and shared prosperity.
<ul> <ul>
<li>Business purpose can align with ownership</li> <li>Business purpose can align with ownership</li>

View File

@ -7,14 +7,10 @@ The E2C Collective is a group of practitioners, researchers, and allies who coll
Want to contribute to this resource library? Have a story to share or questions about community ownership transitions? Are you looking for support for your own E2C process? We'd love to hear from you. Want to contribute to this resource library? Have a story to share or questions about community ownership transitions? Are you looking for support for your own E2C process? We'd love to hear from you.
## Add your story
If you know of a company that has attempted or achieved an exit to community transition, we'd love to include it in our case study library. If you know of a company that has attempted or achieved an exit to community transition, we'd love to include it in our case study library.
<a class="btn" href="/add-your-story/">Contribute a story</a> <a class="btn" href="/add-your-story/">Contribute a story</a>
## Get involved or get support
Want to plan your community exit strategy? Got experience or legal snippets you'd like to share? We'd love to hear from you! Want to plan your community exit strategy? Got experience or legal snippets you'd like to share? We'd love to hear from you!
<div class="contact-form-container"> <div class="contact-form-container">

View File

@ -10,6 +10,10 @@ title = 'Exit to Community'
[markup.goldmark] [markup.goldmark]
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe = true unsafe = true
[markup.goldmark.extensions]
[markup.goldmark.extensions.typographer]
leftdoublequote = '&ldquo;'
rightdoublequote = '&rdquo;'
[menu] [menu]
[[menu.main]] [[menu.main]]

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> <title>{{ if and .Title (ne .Title .Site.Title) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{ .Description | default .Site.Params.description }}"> <meta name="description" content="{{ .Description | default .Site.Params.description }}">
<link rel="icon" type="image/x-icon" href="/favicon.ico"> <link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
@ -755,6 +755,29 @@
padding: 1.5rem; padding: 1.5rem;
} }
} }
/* Protect h2 elements from external script interference */
h2 {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
.intro-section h2,
.main-sections h2,
.featured-cases-section h2 {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
/* Hide Action Network form titles */
#can-form-area-e2c-website-newsletter-form h2,
#can-form-area-e2c-website-join-form h2,
#can-form-area-e2c-website-story-form h2,
[id*="can-form-area"] h2 {
display: none !important;
}
</style> </style>
</head> </head>
<body> <body>