-
-
Notifications
You must be signed in to change notification settings - Fork 10k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated config.yml, index.md, header.html, main.scss, and default.html to include additional site settings, improved ordering and variable names, and better styling. - Updated the config.yml file to include additional site settings and build settings, as well as comments to explain each setting. Added a basic description to the index.md file. - Improved the header.html file to include a better ordering of the meta tags and added a default_page_title variable to the site settings. - Improved the main.scss file to include more robust font fallbacks and better variable names. - Updated the default.html file to include a more robust ordering of meta tags and improved styling links.
- Loading branch information
1 parent
7785ef6
commit b54b2e6
Showing
5 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,36 @@ | ||
# Site Information | ||
title: "My Jekyll Site" # the name of your site, e.g. ACME Corp. | ||
description: "This is a Jekyll site" # a brief description of your site | ||
|
||
# Build Configuration | ||
url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
title: "" # the name of your site, e.g. ACME Corp. | ||
source: "." # the source directory for your site | ||
destination: "./_site" # the destination directory for your site | ||
lang: "en-US" # the language code for your site, e.g. en-US | ||
|
||
# Excluded Files | ||
# Add any files or directories that should be excluded from the Jekyll build process here | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
- README.md | ||
- LICENSE | ||
|
||
# Jekyll Plugins | ||
# Add your Jekyll plugins here to enable additional functionality for your site | ||
plugins: | ||
|
||
# Build settings | ||
# Configure the build process for your site | ||
encoding: "utf-8" # the character encoding for your site | ||
markdown: kramdown | ||
# collections: | ||
# posts: | ||
# output: true # whether to generate pages for posts | ||
# permalink: /posts/:title/ # the permalink structure for posts | ||
# layout: post # the default layout to use for posts | ||
# pages: | ||
# output: true # whether to generate pages for pages | ||
# permalink: /:title/ # the permalink structure for pages | ||
# layout: page # the default layout to use for pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ site.lang | default: "en-US" }}"> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta charset="utf-8"> | ||
<title>{{ page.title }} - {{ site.title }}</title> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title> | ||
{% if page.title %} | ||
{{ page.title }} - | ||
{% else %} | ||
{{ site.default_page_title }} - | ||
{% endif %} | ||
{{ site.title }} | ||
</title> | ||
<meta name="description" content="{{ page.description | default: site.description }}"> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" type="text/css"> | ||
</head> | ||
<body> | ||
{{ content }} | ||
<main role="main"> | ||
{{ content }} | ||
</main> | ||
</body> | ||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$backgroundColor: #ffffff; | ||
$bodyColor: #000000; | ||
$bodyFont: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; | ||
$body-bg: #ffffff !default; | ||
$body-color: #000000 !default; | ||
$body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default; | ||
|
||
body { | ||
background: $backgroundColor; | ||
color: $bodyColor; | ||
font-family: $bodyFont; | ||
background-color: $body-bg; | ||
color: $body-color; | ||
font-family: $body-font, sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
--- | ||
|
||
# Leave to Compile | ||
|
||
--- | ||
|
||
@import "base"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
--- | ||
|
||
layout: default | ||
|
||
title: "Happy Jekylling!" | ||
description: "This is a blank template to help you get started." | ||
|
||
--- | ||
|
||
## You're ready to go! | ||
# Welcome to your new Jekyll website! | ||
|
||
This is a blank template to help you get started. Customize it as much as you like, add new pages, blog posts, and more. | ||
|
||
Start developing your Jekyll website. | ||
Happy Jekylling! |