Skip to content

Commit

Permalink
add custom layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
smeinecke committed Jan 29, 2025
1 parent 7774858 commit 18e8b12
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
39 changes: 39 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">

<head>
<meta charset="UTF-8">

{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
{% include head-custom.html %}
</head>

<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
{% if not site.hide_description %}
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% endif %}
{% if site.github.is_project_page and not site.hide_github_btn %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
{% endif %}
</header>

<main id="content" class="main-content" role="main">
{{ content }}
</main>
</body>

</html>
6 changes: 4 additions & 2 deletions lookup.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
layout: default
title: Lookup a domain
hide_description: true
hide_github_btn: true
show_downloads: false
---

# Lookup a domain

## To check if a domain is listed on the disposable email list, please use the lookup form below.
<form id="lookup-form">
<label for="entry">Enter a domain name:</label>
<input type="text" id="domain" name="domain" required>
Expand Down

0 comments on commit 18e8b12

Please sign in to comment.