Skip to content

Commit

Permalink
Merge pull request #296 from cisagov/es/255-anchor-link-headings
Browse files Browse the repository at this point in the history
255: Add anchor links to headings
  • Loading branch information
erinysong authored May 31, 2024
2 parents 1442d30 + adc3daf commit 89e4d9d
Show file tree
Hide file tree
Showing 17 changed files with 67 additions and 60 deletions.
10 changes: 9 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const markdownItAttrs = require('markdown-it-attrs');
const markdownItAnchor = require('markdown-it-anchor');
const yaml = require("js-yaml");
const svgSprite = require("eleventy-plugin-svg-sprite");
const slugify = require('@sindresorhus/slugify')
const { imageShortcode, imageWithClassShortcode } = require('./config');

// This package allows us to set a .env file in our local environments
Expand Down Expand Up @@ -129,7 +130,14 @@ module.exports = function (config) {
html: true,
breaks: true,
linkify: false,
}).use(markdownItAttrs).use(markdownItAnchor);
})
.use(markdownItAnchor,{
permalink: markdownItAnchor.permalink.headerLink({
safariReaderFix: true,
}),
slugify: (s) => slugify(s)
})
.use(markdownItAttrs);
config.setLibrary('md', markdownLibrary);

// Override Browsersync defaults (used only with --serve)
Expand Down
4 changes: 2 additions & 2 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"app.js": "/assets/js/app-XWR645AF.js",
"app.map": "/assets/js/app-XWR645AF.js.map",
"uswds.js": "/assets/js/uswds-init.js",
"styles.css": "/assets/styles/styles-HOZF6ZDL.css",
"styles.map": "/assets/styles/styles-HOZF6ZDL.css.map"
"styles.css": "/assets/styles/styles-LX3IQ33D.css",
"styles.map": "/assets/styles/styles-LX3IQ33D.css.map"
}
2 changes: 1 addition & 1 deletion _includes/content-blocks/what_we_offer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- Stay informed about [domain security best practices](../../domains/security).
- Edit information about your contacts or your domain (like changes to your DNS settings) anytime.

### What we don’t offer
### What we don’t offer {#what-we-do-not-offer}

While we’re continuously improving our services, you’ll need some services to get online that we don’t offer.
- We don’t offer DNS hosting.
Expand Down
2 changes: 1 addition & 1 deletion pages/about/product_updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Our new domain management system—the .gov registrar—is now available. We’v
- We no longer have the admin, technical, and billing roles. In the new registrar, these roles are all considered "domain managers." You can add an unlimited number of domain managers.
- We’re now using [Login.gov](https://login.gov/){.usa-link--external} to manage access to the registrar. Login.gov is a simple and secure process for signing in to many government services with one account.

### Some domain information won’t immediately be available in the registrar
### Some domain information won’t immediately be available in the registrar {#some-domain-information-will-not-immediately-be-available-in-the-registrar}

- Domain expiration date: Good news! We have extended expiration dates for .gov domains in good standing for one year.
- Organization address: We have not yet transferred your organization's mailing address to the new registrar. There is a place to save that information in the new registrar, but it is empty for now.
Expand Down
6 changes: 2 additions & 4 deletions pages/domains/domains_before.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ We’ll use the information you provide to verify your organization’s eligibil

If you have your Login.gov account and have gathered all the information you need, completing your domain request might take around 15 minutes.

<span id="one-domain-per-service"></span>
## You can request one domain per online service
## You can request one domain per online service {#one-domain-per-service}

For non-federal agencies, we generally approve one domain per online service per government organization. We'll evaluate additional requests on a case-by-case basis.

You don’t need to defensively register variations of your domain name. While this practice may be common when registering domains open to the general public, the .gov domain space is not first come, first serve. We'll only assign a domain to the organization whose real name or services actually correspond to the domain name.

## Information you’ll need to complete the domain request form
## Information you’ll need to complete the domain request form {#information-you-will-need-to-complete-the-domain-request}

We’ll ask you questions about your organization and the domain you want. Here’s what you’ll need to know to complete the form. There’s more information about each of these sections below.

Expand Down Expand Up @@ -94,7 +93,6 @@ To help us determine your organization’s eligibility for a .gov domain, it’s
- They don’t need to be involved with the technical management of your domain (although they can be).
- **We typically don’t reach out to these employees**, but if contact is necessary, our practice is to coordinate with you first.

<span id="what-happens-after-you-request-your-gov-domain"></span>
## What happens after you request your .gov domain

We’ll review your request. This review period can take 30 business days. Due to the volume of requests, the wait time is longer than usual. We appreciate your patience.
Expand Down
2 changes: 1 addition & 1 deletion pages/domains/domains_choosing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Avoid using the following in your .gov domain name:
- [Judicial branch federal agencies](#judicial-branch-federal-agencies)
- [Legislative branch federal agencies](#legislative-branch-federal-agencies)
- [Interstate organizations](#interstate-organizations)
- [U.S. states and territories](#u.s.-states-and-territories)
- [U.S. states and territories](#u-s-states-and-territories)
- [Tribal governments](#tribal-governments)
- [Counties](#counties)
- [Cities](#cities)
Expand Down
10 changes: 5 additions & 5 deletions pages/domains/domains_eligibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ When you request a .gov domain, we’ll ask for information about your authorizi
- [Executive branch federal agencies](#executive-branch-federal-agencies)
- [Judicial branch federal agencies](#judicial-branch-federal-agencies)
- [Legislative branch federal agencies](#legislative-branch-federal-agencies)
- [U.S. Senate](#u.s.-senate)
- [U.S. House of Representatives](#u.s.-house-of-representatives)
- [U.S. Senate](#u-s-senate)
- [U.S. House of Representatives](#u-s-house-of-representatives)
- [Other legislative branch agencies](#other-legislative-branch-agencies)
- [Interstate organizations](#interstate-organizations)
- [U.S. states and territories](#u.s.-states-and-territories)
- [States and territories: executive branch](#states-and-territories%3A-executive-branch)
- [States and territories: judicial and legislative branches](#states-and-territories%3A-judicial-and-legislative-branches)
- [U.S. states and territories](#u-s-states-and-territories)
- [States and territories: executive branch](#states-and-territories-executive-branch)
- [States and territories: judicial and legislative branches](#states-and-territories-judicial-and-legislative-branches)
- [Tribal governments](#tribal-governments)
- [Counties](#counties)
- [Cities](#cities)
Expand Down
11 changes: 5 additions & 6 deletions pages/domains/domains_moving.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ Organizations at all levels of government (federal, state, local) are eligible f
Read more about each of these steps below.{.checklist}
- [Be proactive and start the process early](#be-proactive-and-start-the-process-early)
- [Start the conversation with your technical and communications staff](#start-the-conversation-with-your-technical-and-communications-staff)
- [Come up with .gov domain options that meet our naming requirements](#come-up-with-.gov-domain-options-that-meet-our-naming-requirements)
- [Get ready to complete the .gov domain request form](#get-ready-to-complete-the-.gov-domain-request-form)
- [Come up with .gov domain options that meet our naming requirements](#come-up-with-gov-domain-options-that-meet-our-naming-requirements)
- [Get ready to complete the .gov domain request form](#get-ready-to-complete-the-gov-domain-request-form)
- [Identify other technical upgrades to make during this transition](#identify-other-technical-upgrades-to-make-during-this-transition)
- [Plan to keep your current domain](#plan-to-keep-your-current-domain)
- [Find DNS hosting services](#find-dns-hosting-services)
- [Audit your existing web content](#audit-your-existing-web-content)
- [Plan to redirect traffic from your old domain to your new one](#plan-to-redirect-traffic-from-your-old-domain-to-your-new-one)
- [Plan to move your email to .gov](#plan-to-move-your-email-to-.gov)
- [Plan to move your email to .gov](#plan-to-move-your-email-to-gov)
- [Get familiar with domain security best practices](#get-familiar-with-domain-security-best-practices)
- [Develop a communications plan](#develop-a-communications-plan)
- [Find out if you’re eligible for financial assistance](#find-out-if-you’re-eligible-for-financial-assistance)
- [Find out if you’re eligible for financial assistance](#find-out-if-you-are-eligible-for-financial-assistance)
- [Let us know how it goes](#let-us-know-how-it-goes)


Expand Down Expand Up @@ -138,8 +138,7 @@ Domain names show up in more places than just online. They’re printed on paper

If you announce your transition on social media, tag us. We’re CISA on Facebook and @cisagov on LinkedIn, Instagram, and X (formerly Twitter). We’d love to help you get the word out!


## Find out if you’re eligible for financial assistance
## Find out if you’re eligible for financial assistance {#find-out-if-you-are-eligible-for-financial-assistance}

You might be eligible for financial assistance from the U.S. Department of Homeland Security to help you move to .gov.

Expand Down
2 changes: 1 addition & 1 deletion pages/domains/domains_requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eleventyNavigation:
The .gov domain space exists to support a broad diversity of government missions. Generally, we don’t review or audit how government organizations use their registered domains. However, misuse of a .gov domain can reflect upon the integrity of the entire .gov space. There are categories of misuse that are statutorily prohibited or abusive in nature.


## What you can’t do with a .gov domain
## What you can’t do with a .gov domain {#what-you-cannot-do-with-a-gov-domain}

### Commercial purposes
A .gov domain must not be used for [commercial purposes](../../help/faq/#commercial-purposes), such as advertising that benefits private individuals or entities.
Expand Down
5 changes: 2 additions & 3 deletions pages/help/help_account-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ eleventyNavigation:
title: Account management
---

- [Access the .gov registrar](#access-the-.gov-registrar)
- [Get help with Login.gov](#get-help-with-login.gov)
- [Access the .gov registrar](#access-the-gov-registrar)
- [Get help with Login.gov](#get-help-with-login-gov)
- [Change your password](#change-your-password)
- [Update your contact information (email, phone)](#update-your-contact-information-email-phone)

Expand Down Expand Up @@ -60,7 +60,6 @@ If you don’t have another domain manager, email <help@get.gov> to let us know

Access to the .gov registrar is managed through Login.gov. You can [change your password at Login.gov](https://www.login.gov/help/manage-your-account/change-your-password/){.usa-link--external}.

<span id="update-your-contact-information-email-phone"></span>
## Update your contact information (email, phone)

Updating your contact information for one domain will update the contact information for all domains in the registrar. However, it won’t affect your Login.gov account information.
Expand Down
9 changes: 4 additions & 5 deletions pages/help/help_domain-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ It's important to keep information about your .gov domain, your organization, an

If you don’t already have a Login.gov account, you’ll need to create one to change any information about your .gov domain. [Create a Login.gov account](https://login.gov/help/get-started/create-your-account/){.usa-link--external}.

- [Add a domain manager to your .gov domain](#add-a-domain-manager-to-your-.gov-domain)
- [Remove a domain manager from your .gov domain](#remove-a-domain-manager-from-your-.gov-domain)
- [Add a domain manager to your .gov domain](#add-a-domain-manager-to-your-gov-domain)
- [Remove a domain manager from your .gov domain](#remove-a-domain-manager-from-your-gov-domain)
- [Update your contact information (email, phone)](#update-your-contact-information-email-phone)
- [Add or update the security email for your .gov domain](#add-or-update-the-security-email-for-your-.gov-domain)
- [Add or update the security email for your .gov domain](#add-or-update-the-security-email-for-your-gov-domain)
- [Update your organization name or mailing address](#update-your-organization-name-or-mailing-address)
- [Update information about your authorizing official](#update-information-about-your-authorizing-official)
- [Manage DNS name servers](#manage-dns-name-servers)
Expand Down Expand Up @@ -47,8 +47,7 @@ All domain managers must keep their contact information updated and be responsi
4. Click “Remove” for the domain manager you want to remove.
5. Click “Yes, remove domain manager.”

<span id="update-your-contact-information-email-phone"></span>
## Update your contact information (email, phone)
## Update your contact information (email, phone) {#update-your-contact-information-email-phone}

Updating your contact information for one domain will update the contact information for all domains in your account. However, it won’t affect your Login.gov account information.

Expand Down
4 changes: 2 additions & 2 deletions pages/help/help_domain-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ eleventyNavigation:
order: 2
---

- [Request your .gov domain](#request-your-.gov-domain)
- [Before you request your .gov domain](#before-you-request-your-.gov-domain)
- [Request your .gov domain](#request-your-gov-domain)
- [Before you request your .gov domain](#before-you-request-your-gov-domain)
- [Change a domain request you already submitted](#change-a-domain-request-you-already-submitted)
- [Check the status of your domain request](#check-the-status-of-your-domain-request)
- [Withdraw your domain request](#withdraw-your-domain-request)
Expand Down
Loading

0 comments on commit 89e4d9d

Please sign in to comment.