From 09609f3a08a217e35c35cede57cfb330aa6beec5 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:25:03 -0700 Subject: [PATCH 01/20] Create example GitHub pages based on tutorial --- websiteFiles/404.html => 404.html | 0 websiteFiles/CNAME => CNAME | 0 websiteFiles/LICENSE.md => LICENSE.md | 0 websiteFiles/_config.yml => _config.yml | 0 .../_includes => _includes}/head.html | 0 .../_includes => _includes}/sidebar.html | 0 .../_layouts => _layouts}/default.html | 0 {websiteFiles/_layouts => _layouts}/page.html | 0 {websiteFiles/_layouts => _layouts}/post.html | 0 .../2012-02-06-whats-jekyll.md | 0 .../2012-02-07-example-content.md | 0 .../2013-12-28-introducing-hyde.md | 0 websiteFiles/about.md => about.md | 0 websiteFiles/atom.xml => atom.xml | 0 websiteFiles/cv.md => cv.md | 0 websiteFiles/index.html => index.html | 0 .../apple-touch-icon-144-precomposed.png | Bin {websiteFiles/public => public}/css/hyde.css | 0 {websiteFiles/public => public}/css/poole.css | 0 .../public => public}/css/syntax.css | 0 {websiteFiles/public => public}/favicon.ico | Bin readme.md | 125 +++++++++++++++-- slides/githubPagesTutorial.Rmd | 128 ------------------ slides/githubPagesTutorial.html | 111 --------------- websiteFiles/.gitignore | 41 ------ websiteFiles/README.md | 118 ---------------- 26 files changed, 113 insertions(+), 410 deletions(-) rename websiteFiles/404.html => 404.html (100%) rename websiteFiles/CNAME => CNAME (100%) rename websiteFiles/LICENSE.md => LICENSE.md (100%) rename websiteFiles/_config.yml => _config.yml (100%) rename {websiteFiles/_includes => _includes}/head.html (100%) rename {websiteFiles/_includes => _includes}/sidebar.html (100%) rename {websiteFiles/_layouts => _layouts}/default.html (100%) rename {websiteFiles/_layouts => _layouts}/page.html (100%) rename {websiteFiles/_layouts => _layouts}/post.html (100%) rename {websiteFiles/_posts => _posts}/2012-02-06-whats-jekyll.md (100%) rename {websiteFiles/_posts => _posts}/2012-02-07-example-content.md (100%) rename {websiteFiles/_posts => _posts}/2013-12-28-introducing-hyde.md (100%) rename websiteFiles/about.md => about.md (100%) rename websiteFiles/atom.xml => atom.xml (100%) rename websiteFiles/cv.md => cv.md (100%) rename websiteFiles/index.html => index.html (100%) rename {websiteFiles/public => public}/apple-touch-icon-144-precomposed.png (100%) rename {websiteFiles/public => public}/css/hyde.css (100%) rename {websiteFiles/public => public}/css/poole.css (100%) rename {websiteFiles/public => public}/css/syntax.css (100%) rename {websiteFiles/public => public}/favicon.ico (100%) delete mode 100644 slides/githubPagesTutorial.Rmd delete mode 100644 slides/githubPagesTutorial.html delete mode 100644 websiteFiles/.gitignore delete mode 100644 websiteFiles/README.md diff --git a/websiteFiles/404.html b/404.html similarity index 100% rename from websiteFiles/404.html rename to 404.html diff --git a/websiteFiles/CNAME b/CNAME similarity index 100% rename from websiteFiles/CNAME rename to CNAME diff --git a/websiteFiles/LICENSE.md b/LICENSE.md similarity index 100% rename from websiteFiles/LICENSE.md rename to LICENSE.md diff --git a/websiteFiles/_config.yml b/_config.yml similarity index 100% rename from websiteFiles/_config.yml rename to _config.yml diff --git a/websiteFiles/_includes/head.html b/_includes/head.html similarity index 100% rename from websiteFiles/_includes/head.html rename to _includes/head.html diff --git a/websiteFiles/_includes/sidebar.html b/_includes/sidebar.html similarity index 100% rename from websiteFiles/_includes/sidebar.html rename to _includes/sidebar.html diff --git a/websiteFiles/_layouts/default.html b/_layouts/default.html similarity index 100% rename from websiteFiles/_layouts/default.html rename to _layouts/default.html diff --git a/websiteFiles/_layouts/page.html b/_layouts/page.html similarity index 100% rename from websiteFiles/_layouts/page.html rename to _layouts/page.html diff --git a/websiteFiles/_layouts/post.html b/_layouts/post.html similarity index 100% rename from websiteFiles/_layouts/post.html rename to _layouts/post.html diff --git a/websiteFiles/_posts/2012-02-06-whats-jekyll.md b/_posts/2012-02-06-whats-jekyll.md similarity index 100% rename from websiteFiles/_posts/2012-02-06-whats-jekyll.md rename to _posts/2012-02-06-whats-jekyll.md diff --git a/websiteFiles/_posts/2012-02-07-example-content.md b/_posts/2012-02-07-example-content.md similarity index 100% rename from websiteFiles/_posts/2012-02-07-example-content.md rename to _posts/2012-02-07-example-content.md diff --git a/websiteFiles/_posts/2013-12-28-introducing-hyde.md b/_posts/2013-12-28-introducing-hyde.md similarity index 100% rename from websiteFiles/_posts/2013-12-28-introducing-hyde.md rename to _posts/2013-12-28-introducing-hyde.md diff --git a/websiteFiles/about.md b/about.md similarity index 100% rename from websiteFiles/about.md rename to about.md diff --git a/websiteFiles/atom.xml b/atom.xml similarity index 100% rename from websiteFiles/atom.xml rename to atom.xml diff --git a/websiteFiles/cv.md b/cv.md similarity index 100% rename from websiteFiles/cv.md rename to cv.md diff --git a/websiteFiles/index.html b/index.html similarity index 100% rename from websiteFiles/index.html rename to index.html diff --git a/websiteFiles/public/apple-touch-icon-144-precomposed.png b/public/apple-touch-icon-144-precomposed.png similarity index 100% rename from websiteFiles/public/apple-touch-icon-144-precomposed.png rename to public/apple-touch-icon-144-precomposed.png diff --git a/websiteFiles/public/css/hyde.css b/public/css/hyde.css similarity index 100% rename from websiteFiles/public/css/hyde.css rename to public/css/hyde.css diff --git a/websiteFiles/public/css/poole.css b/public/css/poole.css similarity index 100% rename from websiteFiles/public/css/poole.css rename to public/css/poole.css diff --git a/websiteFiles/public/css/syntax.css b/public/css/syntax.css similarity index 100% rename from websiteFiles/public/css/syntax.css rename to public/css/syntax.css diff --git a/websiteFiles/public/favicon.ico b/public/favicon.ico similarity index 100% rename from websiteFiles/public/favicon.ico rename to public/favicon.ico diff --git a/readme.md b/readme.md index 1433291..26fe63f 100644 --- a/readme.md +++ b/readme.md @@ -1,17 +1,118 @@ -## GitHub Pages Tutorial +# Hyde -Welcome to the GitHub Pages Tutorial! +Hyde is a brazen two-column [Jekyll](http://jekyllrb.com) theme that pairs a prominent sidebar with uncomplicated content. It's based on [Poole](http://getpoole.com), the Jekyll butler. -With a text editor and the GitHub Desktop, you can start your own personal website on GitHub. Bring your laptop and we'll explore the fun world of GitHub Pages! +![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png) -Things you need to do before you can start: - 1) A [Github Account](https://github.com/join?source=header-home) - 2) Download the GitHub Desktop App - 3) A Good Text Editor ([Sublime](https://www.sublimetext.com) or [Atom](https://atom.io) are good ones) - 4) Something to say - 5) Photos (optional) +## Contents -## Attribution - -This tutorial uses Mark Otto's [Hyde Template for Jekyll](http://hyde.getpoole.com) with some simple modifications to make it Jeykll 3.0 Compatible \ No newline at end of file +- [Usage](#usage) +- [Options](#options) + - [Sidebar menu](#sidebar-menu) + - [Sticky sidebar content](#sticky-sidebar-content) + - [Themes](#themes) + - [Reverse layout](#reverse-layout) +- [Development](#development) +- [Author](#author) +- [License](#license) + + +## Usage + +Hyde is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll. + + +## Options + +Hyde includes some customizable options, typically applied via classes on the `` element. + + +### Sidebar menu + +Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/). + +``` +--- +layout: page +title: About +--- +``` + +**Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout. + + +### Sticky sidebar content + +By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disable this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom. + +```html + + + + + +``` + + +### Themes + +Hyde ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links). + +![Hyde in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png) + +There are eight themes available at this time. + +![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png) + +To use a theme, add anyone of the available theme classes to the `` element in the `default.html` layout, like so: + +```html + + ... + +``` + +To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors. + +### Reverse layout + +![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png) + +Hyde's page orientation can be reversed with a single class. + +```html + + ... + +``` + + +## Development + +Hyde has two branches, but only one is used for active development. + +- `master` for development. **All pull requests should be submitted against `master`.** +- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.** + + +## Author + +**Mark Otto** +- +- + + +## License + +Open sourced under the [MIT license](LICENSE.md). + +<3 diff --git a/slides/githubPagesTutorial.Rmd b/slides/githubPagesTutorial.Rmd deleted file mode 100644 index b0065d6..0000000 --- a/slides/githubPagesTutorial.Rmd +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: "Github Pages Tutorial" -author: "Ted Laderas (laderast@ohsu.edu), Eric Leung, and Robin Champieux" -date: "4/5/2017" -output: - slidy_presentation: default ---- - -```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = FALSE) -``` - -## What is GitHub Pages? - -GitHub Pages is a built-in system that allows you to build websites directly from a GitHub Repository. - -There are two kinds of GitHub pages: - -+ Personal websites (associated with an account) -+ Repository Specific Websites (webpages for software) - -## What You Need for Today - -You don't need to know how to code to setup a GitHub page. We'll learn some Markdown basics - -+ GitHub Account -+ GitHub Desktop -+ Text Editor (Sublime, Atom, TextEdit) -+ File Manager (to rename files) -+ Something to say -+ Pictures (optional) - -## Why GitHub Pages? - -GitHub is a highly dependable webhost, and you get one personal webpage account for free. - -Because GitHub pages is compatible with markdown, we'll be using markdown formatting to build our webpage. - -## What We're Going to do Today - - 1) Download this repo - 2) Make a local repo with the `websiteFolder` - 3) Change and Personalize Your Site with YAML - 4) Publish your Repo to GitHub - 5) Look at your pretty website! - 6) Start Editing Content - 7) Add a Blog Post - 8) Customize your sidebar - 9) Look at your pretty website! - -## Download the Repo - -Go to tutorial page - -Take out `webSite` folder and rename it to USERNAME.github.io, where USERNAME is your GitHub username. - -I like to have a code specific folder to store my code, such as "c:/code/" (windows) or "~/Code/" (Mac/Linux) so that it has a permanent place to stay. This will be important when you push changes to your website. So create a code-specific folder and put the USERNAME.github.io folder in it. - -In GitHub Desktop add the repo using the "+" symbol and use "" - -## Let's Make a Personal Webpage - -If you have a GitHub account with USERNAME, you can serve a webpage directly from USERNAME.github.io. For example: http://laderast.github.io - -You first need to create a repository with USERNAME.github.com. From GitHub Desktop, click the "+" symbol, and create a new repository. - -When you've created the repository, "publish" it to GitHub. - -Once you've published the repository, try your personal webpage: http://USERNAME.github.io - -## File Structure - -We are first going to rename the `websiteFiles` directory to match the name of your webpage repo. - - - -## Editing the Name of Your Blog - -The first step to customizing your webpage is to edit the blogs name to -include your information. You'll open the `_config.yml` file to update -the info. - -Here's an example `_config.yml` file. - - - - -## Markdown and Index.md - -Anything with index.md will be automatically translated and served as a webpage. - -Using Jekyll, you can add header and footers and other templating features, standardizing the look of your pages as you like. - -One thing to remember is when your output is html, you can embed HTML tags, which is especially useful for embedding images, since you can adjust image size directly within the tag. - -## Let's Add Some Links - - - -## Let's Add an Image - -## Add a Blog Entry - -Your current repository is setup for blog entries. - -## Modifying the Menu - - - -## GitHub Pages - -Another nice use of Markdown is for authoring websites. You can do this really easily with GitHub pages. - -GitHub Pages uses an HTML translation engine called *Jekyll*, which is written in Ruby to translate Markdown into HTML. You don't really need to know about it, unless you want to use the templating in Jekyll to build something like a blog. - -One benefit to using Jekyll is that it's a relatively lightweight way to manage a blog without a more complicated, database-using, content management system. Because of this, it's relatively portable and you can easily take your documents with you if you decide to migrate to another system. - -## Markdown and GitHub pages - -Any markdown file that has an .markdown or .md extension will automatically be processed by GitHub and served as a html page. For example: https://github.com/laderast/magic-of-markdown/blob/master/magic-of-markdown.md - -If you want to make a webpage for your code, you need to create a branch called `gh-pages` and put the markdown files in there. I believe you can also just place html files as well. - -## Jekyll File Structure - -If you're interested in setting up a blog or more complicated site, you'll have to learn a little bit about Jekyll and the [liquid templating](http://jekyllrb.com/docs/templates/) language. - -You can download Jekyll by itself to see how it transforms markdown files, but to get started with a blog or pages, it's actually way easier to [clone Poole](https://github.com/poole/poole), which gives you the basic file structure that you can use to serve the GitHub pages. diff --git a/slides/githubPagesTutorial.html b/slides/githubPagesTutorial.html deleted file mode 100644 index acd7fe0..0000000 --- a/slides/githubPagesTutorial.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - Github Pages Tutorial - - - - - -
-

Github Pages Tutorial

-

-Ted Laderas (laderast@ohsu.edu), Eric Leung, and Robin Champieux -

-

4/5/2017

-
-
-

What is GitHub Pages?

-

GitHub Pages is a built-in system that allows you to build websites directly from a GitHub Repository.

-

There are two kinds of GitHub pages:

-
    -
  • Personal websites (associated with an account)
  • -
  • Repository Specific Websites (webpages for software)
  • -
-
-
-

What You Need for Today

-

You don’t need to know how to code to setup a GitHub page. We’ll learn some Markdown basics

-
    -
  • GitHub Account
  • -
  • GitHub Desktop
  • -
  • Text Editor (Sublime, Atom, TextEdit)
  • -
  • File Manager (to rename files)
  • -
  • Something to say
  • -
  • Pictures (optional)
  • -
-
-
-

Why GitHub Pages?

-

GitHub is a highly dependable webhost, and you get one personal webpage account for free.

-

Because GitHub pages is compatible with markdown, we’ll be using markdown formatting to build our webpage.

-
-
-

Let’s Make a Personal Webpage

-

If you have a GitHub account with USERNAME, you can serve a webpage directly from USERNAME.github.io. For example: http://laderast.github.io

-

You first need to create a repository with that name. From GitHub Desktop, click the “+” symbol, and create a new repository.

-

When you’ve created the repository, “publish” it to GitHub.

-

Once you’ve published the repository, try your personal webpage: http://USERNAME.github.io

-
-
-

File Structure

-

We are first going to rename the websiteFiles directory to match the name of your webpage repo.

-
-
-

Editing the Name of Your Blog

-

The first step to customizing your webpage is to edit the blogs name to include your information. You’ll open the _config.yml file to update the info.

-

Here’s an example _config.yml file.

-
-
-

Markdown and Index.md

-

Anything with index.md will be automatically translated and served as a webpage.

-

Using Jekyll, you can add header and footers and other templating features, standardizing the look of your pages as you like.

-

One thing to remember is when your output is html, you can embed HTML tags, which is especially useful for embedding images, since you can adjust image size directly within the tag.

-
- -
-

Let’s Add an Image

-
-
-

Add a Blog Entry

-

Your current repository is setup for blog entries.

-
-
-

Modifying the Menu

-
-
-

GitHub Pages

-

Another nice use of Markdown is for authoring websites. You can do this really easily with GitHub pages.

-

GitHub Pages uses an HTML translation engine called Jekyll, which is written in Ruby to translate Markdown into HTML. You don’t really need to know about it, unless you want to use the templating in Jekyll to build something like a blog.

-

One benefit to using Jekyll is that it’s a relatively lightweight way to manage a blog without a more complicated, database-using, content management system. Because of this, it’s relatively portable and you can easily take your documents with you if you decide to migrate to another system.

-
-
-

Markdown and GitHub pages

-

Any markdown file that has an .markdown or .md extension will automatically be processed by GitHub and served as a html page. For example: https://github.com/laderast/magic-of-markdown/blob/master/magic-of-markdown.md

-

If you want to make a webpage for your code, you need to create a branch called gh-pages and put the markdown files in there. I believe you can also just place html files as well.

-
-
-

Jekyll File Structure

-

If you’re interested in setting up a blog or more complicated site, you’ll have to learn a little bit about Jekyll and the liquid templating language.

-

You can download Jekyll by itself to see how it transforms markdown files, but to get started with a blog or pages, it’s actually way easier to clone Poole, which gives you the basic file structure that you can use to serve the GitHub pages.

-
- - - - - - diff --git a/websiteFiles/.gitignore b/websiteFiles/.gitignore deleted file mode 100644 index 10c58cf..0000000 --- a/websiteFiles/.gitignore +++ /dev/null @@ -1,41 +0,0 @@ -# Ignore docs files -_gh_pages -_site -.ruby-version - -# Numerous always-ignore extensions -*.diff -*.err -*.orig -*.log -*.rej -*.swo -*.swp -*.zip -*.vi -*~ - -# OS or Editor folders -.DS_Store -._* -Thumbs.db -.cache -.project -.settings -.tmproj -*.esproj -nbproject -*.sublime-project -*.sublime-workspace -.idea - -# Komodo -*.komodoproject -.komodotools - -# grunt-html-validation -validation-status.json -validation-report.json - -# Folders to ignore -node_modules diff --git a/websiteFiles/README.md b/websiteFiles/README.md deleted file mode 100644 index 26fe63f..0000000 --- a/websiteFiles/README.md +++ /dev/null @@ -1,118 +0,0 @@ -# Hyde - -Hyde is a brazen two-column [Jekyll](http://jekyllrb.com) theme that pairs a prominent sidebar with uncomplicated content. It's based on [Poole](http://getpoole.com), the Jekyll butler. - -![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png) - - -## Contents - -- [Usage](#usage) -- [Options](#options) - - [Sidebar menu](#sidebar-menu) - - [Sticky sidebar content](#sticky-sidebar-content) - - [Themes](#themes) - - [Reverse layout](#reverse-layout) -- [Development](#development) -- [Author](#author) -- [License](#license) - - -## Usage - -Hyde is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll. - - -## Options - -Hyde includes some customizable options, typically applied via classes on the `` element. - - -### Sidebar menu - -Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/). - -``` ---- -layout: page -title: About ---- -``` - -**Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout. - - -### Sticky sidebar content - -By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disable this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom. - -```html - - - - - -``` - - -### Themes - -Hyde ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links). - -![Hyde in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png) - -There are eight themes available at this time. - -![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png) - -To use a theme, add anyone of the available theme classes to the `` element in the `default.html` layout, like so: - -```html - - ... - -``` - -To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors. - -### Reverse layout - -![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png) - -Hyde's page orientation can be reversed with a single class. - -```html - - ... - -``` - - -## Development - -Hyde has two branches, but only one is used for active development. - -- `master` for development. **All pull requests should be submitted against `master`.** -- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.** - - -## Author - -**Mark Otto** -- -- - - -## License - -Open sourced under the [MIT license](LICENSE.md). - -<3 From c691b8775a224b7a9cfe859992abacc603a11c34 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:26:51 -0700 Subject: [PATCH 02/20] Remove existing CNAME file --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index 77c1018..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -hyde.getpoole.com \ No newline at end of file From 4825a12cac68013ab53ffcfa19706f579a0f735d Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:36:25 -0700 Subject: [PATCH 03/20] Change relative links in config and header --- _config.yml | 2 +- _includes/head.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 984ccb3..feffd18 100644 --- a/_config.yml +++ b/_config.yml @@ -9,7 +9,7 @@ permalink: pretty title: Anew Guy tagline: 'Professional Website for Anew Guy' description: 'Website and Blog for Anew Guy' -url: http://anewguy.github.io +url: http://biodata-club.github.io/githubPagesTutorial baseurl: / author: diff --git a/_includes/head.html b/_includes/head.html index e2b070e..4acb937 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,9 +15,9 @@ - - - + + + From 3dc7d2b90b4f60d04bf722fa07ad8a5912ea876a Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:39:37 -0700 Subject: [PATCH 04/20] Normalize config file --- _config.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/_config.yml b/_config.yml index feffd18..dcb50cd 100644 --- a/_config.yml +++ b/_config.yml @@ -1,26 +1,17 @@ -# Dependencies -markdown: kramdown -highlighter: rouge - -# Permalinks -permalink: pretty - -# Setup +# Personalize your website info here title: Anew Guy tagline: 'Professional Website for Anew Guy' description: 'Website and Blog for Anew Guy' -url: http://biodata-club.github.io/githubPagesTutorial -baseurl: / - +url: http://anewguy.github.io author: name: 'Anew Guy' url: https://twitter.com/anewguy +## You don't need to modify below this line paginate: 5 # Custom vars version: 2.1.0 - github: repo: https://github.com/poole/hyde @@ -28,4 +19,10 @@ gems: [jekyll-paginate,jekyll-gist, redcarpet] paginate: 5 paginate_path: "page:num" -markdown: kramdown +# Dependencies +markdown: kramdown +highlighter: rouge + +# Permalinks +permalink: pretty +baseurl: / From 9d8308b28e22fa56d33d64c089e831b6afc01ad6 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:50:58 -0700 Subject: [PATCH 05/20] Revert abs links in header and change base URL --- _config.yml | 2 +- _includes/head.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index dcb50cd..95d91e8 100644 --- a/_config.yml +++ b/_config.yml @@ -25,4 +25,4 @@ highlighter: rouge # Permalinks permalink: pretty -baseurl: / +baseurl: /githubPagesTutorial diff --git a/_includes/head.html b/_includes/head.html index 4acb937..e2b070e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,9 +15,9 @@ - - - + + + From c0e42ac85185e38ff6557c8f9063dcadaacf5877 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 12 Apr 2017 15:55:02 -0700 Subject: [PATCH 06/20] Update base URL with full address --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 95d91e8..3b910e1 100644 --- a/_config.yml +++ b/_config.yml @@ -25,4 +25,4 @@ highlighter: rouge # Permalinks permalink: pretty -baseurl: /githubPagesTutorial +baseurl: https://biodata-club.github.io/githubPagesTutorial/ From 48a5154ba01685e9a5a4294e76d9f288d9b71e56 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 19 Apr 2017 16:50:00 -0700 Subject: [PATCH 07/20] Change h1 tag for name to h2 tag in sidebar --- _includes/sidebar.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 586f47b..4017151 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,11 +1,11 @@