portfolio-jekyll-theme 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +21 -0
- data/README.md +243 -0
- data/_includes/analytics.html +11 -0
- data/_includes/disqus.html +14 -0
- data/_includes/footer.html +14 -0
- data/_includes/header.html +10 -0
- data/_includes/image.html +14 -0
- data/_includes/projects.html +13 -0
- data/_layouts/blog.html +23 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +5 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +13 -0
- data/_sass/1-tools/_-tools-dir.sass +6 -0
- data/_sass/1-tools/_fonts.scss +18 -0
- data/_sass/1-tools/_icon-font.scss +32 -0
- data/_sass/1-tools/_normalize.scss +1 -0
- data/_sass/1-tools/_spinner.scss +53 -0
- data/_sass/1-tools/animations/_animations-dir.sass +10 -0
- data/_sass/1-tools/animations/_bottomDoor.sass +15 -0
- data/_sass/1-tools/animations/_bottomUp.sass +14 -0
- data/_sass/1-tools/animations/_bounceOut.scss +86 -0
- data/_sass/1-tools/animations/_fadeIn.sass +14 -0
- data/_sass/1-tools/animations/_leftRight.sass +14 -0
- data/_sass/1-tools/animations/_none.sass +13 -0
- data/_sass/1-tools/animations/_rightLeft.sass +14 -0
- data/_sass/1-tools/animations/_textSlide.sass +24 -0
- data/_sass/1-tools/animations/_topDoor.sass +15 -0
- data/_sass/1-tools/animations/_topDown.sass +12 -0
- data/_sass/1-tools/bourbon/_bourbon-deprecated-upcoming.scss +8 -0
- data/_sass/1-tools/bourbon/_bourbon.scss +78 -0
- data/_sass/1-tools/bourbon/addons/_button.scss +374 -0
- data/_sass/1-tools/bourbon/addons/_clearfix.scss +23 -0
- data/_sass/1-tools/bourbon/addons/_directional-values.scss +111 -0
- data/_sass/1-tools/bourbon/addons/_ellipsis.scss +7 -0
- data/_sass/1-tools/bourbon/addons/_font-family.scss +5 -0
- data/_sass/1-tools/bourbon/addons/_hide-text.scss +10 -0
- data/_sass/1-tools/bourbon/addons/_html5-input-types.scss +86 -0
- data/_sass/1-tools/bourbon/addons/_position.scss +32 -0
- data/_sass/1-tools/bourbon/addons/_prefixer.scss +45 -0
- data/_sass/1-tools/bourbon/addons/_retina-image.scss +31 -0
- data/_sass/1-tools/bourbon/addons/_size.scss +16 -0
- data/_sass/1-tools/bourbon/addons/_timing-functions.scss +32 -0
- data/_sass/1-tools/bourbon/addons/_triangle.scss +83 -0
- data/_sass/1-tools/bourbon/addons/_word-wrap.scss +8 -0
- data/_sass/1-tools/bourbon/css3/_animation.scss +52 -0
- data/_sass/1-tools/bourbon/css3/_appearance.scss +3 -0
- data/_sass/1-tools/bourbon/css3/_backface-visibility.scss +6 -0
- data/_sass/1-tools/bourbon/css3/_background-image.scss +42 -0
- data/_sass/1-tools/bourbon/css3/_background.scss +55 -0
- data/_sass/1-tools/bourbon/css3/_border-image.scss +59 -0
- data/_sass/1-tools/bourbon/css3/_border-radius.scss +22 -0
- data/_sass/1-tools/bourbon/css3/_box-sizing.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_calc.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_columns.scss +47 -0
- data/_sass/1-tools/bourbon/css3/_filter.scss +5 -0
- data/_sass/1-tools/bourbon/css3/_flex-box.scss +321 -0
- data/_sass/1-tools/bourbon/css3/_font-face.scss +23 -0
- data/_sass/1-tools/bourbon/css3/_font-feature-settings.scss +10 -0
- data/_sass/1-tools/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/_sass/1-tools/bourbon/css3/_hyphens.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_image-rendering.scss +14 -0
- data/_sass/1-tools/bourbon/css3/_keyframes.scss +35 -0
- data/_sass/1-tools/bourbon/css3/_linear-gradient.scss +38 -0
- data/_sass/1-tools/bourbon/css3/_perspective.scss +8 -0
- data/_sass/1-tools/bourbon/css3/_placeholder.scss +8 -0
- data/_sass/1-tools/bourbon/css3/_radial-gradient.scss +39 -0
- data/_sass/1-tools/bourbon/css3/_transform.scss +15 -0
- data/_sass/1-tools/bourbon/css3/_transition.scss +77 -0
- data/_sass/1-tools/bourbon/css3/_user-select.scss +3 -0
- data/_sass/1-tools/bourbon/functions/_assign.scss +11 -0
- data/_sass/1-tools/bourbon/functions/_color-lightness.scss +13 -0
- data/_sass/1-tools/bourbon/functions/_flex-grid.scss +39 -0
- data/_sass/1-tools/bourbon/functions/_golden-ratio.scss +3 -0
- data/_sass/1-tools/bourbon/functions/_grid-width.scss +13 -0
- data/_sass/1-tools/bourbon/functions/_modular-scale.scss +66 -0
- data/_sass/1-tools/bourbon/functions/_px-to-em.scss +13 -0
- data/_sass/1-tools/bourbon/functions/_px-to-rem.scss +15 -0
- data/_sass/1-tools/bourbon/functions/_strip-units.scss +5 -0
- data/_sass/1-tools/bourbon/functions/_tint-shade.scss +9 -0
- data/_sass/1-tools/bourbon/functions/_transition-property-name.scss +22 -0
- data/_sass/1-tools/bourbon/functions/_unpack.scss +17 -0
- data/_sass/1-tools/bourbon/helpers/_convert-units.scss +15 -0
- data/_sass/1-tools/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/_sass/1-tools/bourbon/helpers/_is-num.scss +8 -0
- data/_sass/1-tools/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/_sass/1-tools/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/_sass/1-tools/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/_sass/1-tools/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/_sass/1-tools/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/_sass/1-tools/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/_sass/1-tools/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/_sass/1-tools/bourbon/helpers/_render-gradients.scss +26 -0
- data/_sass/1-tools/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/_sass/1-tools/bourbon/helpers/_str-to-num.scss +50 -0
- data/_sass/1-tools/bourbon/settings/_prefixer.scss +6 -0
- data/_sass/1-tools/bourbon/settings/_px-to-em.scss +1 -0
- data/_sass/2-base/_-base-dir.sass +2 -0
- data/_sass/2-base/_base.sass +121 -0
- data/_sass/2-base/_placeholders.sass +12 -0
- data/_sass/3-sections/_-sections-dir.sass +8 -0
- data/_sass/3-sections/_blog.sass +20 -0
- data/_sass/3-sections/_default.sass +11 -0
- data/_sass/3-sections/_footer.sass +25 -0
- data/_sass/3-sections/_header.sass +39 -0
- data/_sass/3-sections/_image.sass +31 -0
- data/_sass/3-sections/_page.sass +17 -0
- data/_sass/3-sections/_post.sass +24 -0
- data/_sass/3-sections/_projects.sass +44 -0
- data/assets/css/all.sass +19 -0
- data/assets/img/projects/proj-1/dog.jpg +0 -0
- data/assets/img/projects/proj-1/thumbnail.jpg +0 -0
- data/assets/img/projects/proj-1/wall.jpg +0 -0
- data/assets/img/projects/proj-2/stretch.jpg +0 -0
- data/assets/img/projects/proj-2/thumbnail.jpg +0 -0
- data/assets/img/projects/proj-3/clothes.jpg +0 -0
- data/assets/img/projects/proj-3/thumbnail.jpg +0 -0
- data/assets/img/projects/proj-4/bike.jpg +0 -0
- data/assets/img/projects/proj-4/thumbnail.jpg +0 -0
- data/assets/img/projects/proj-5/gun-pants.jpg +0 -0
- data/assets/img/projects/proj-5/thumbnail.jpg +0 -0
- metadata +235 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0b1262eafbc96b08e0660f214011d64787066a1956948d21122b3839928f7dd5
|
4
|
+
data.tar.gz: '08675c2dfa6ddaf328f846739662d2b2d3995f8ff29b63978755639d96244a05'
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8a78182db03b4f6821fa9ab7d150e9eea46e574309b3b8901e1f30ef1d3bc12e59b9ec0b91f305f05cd19f1bfca38cdaefb0df95f5cb9dc4ac06562a145f8a91
|
7
|
+
data.tar.gz: 1c6e0b4a09a5f89500de5ab3b65be7a826b96c88a660c98712be357cada01ff63840eb0c891b907264233f233317ef5354b40ec40ce0bb6b0241565a14ee52bd
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 Paul Le
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
# Portfolio Jekyll Theme
|
2
|
+
|
3
|
+
This is a Jekyll theme built using the [DevTips Starter Kit](http://devtipsstarterkit.com/) as a foundation for starting, and following closely the amazing tutorial by [Travis Neilson over at DevTips](https://www.youtube.com/watch?v=T6jKLsxbFg4&list=PL0CB3OvPhDA_STygmp3sDenx3UpdOMk7P). The purpose of this theme is to provide a clean and simple website for your portfolio. Emphasis is placed on your projects, which are shown front and center on the home page.
|
4
|
+
|
5
|
+
Everything that you will ever need to know about this Jekyll theme is included in the README below, which you can also find in [the demo site](https://lenpaul.github.io/portfolio-jekyll-theme/). For a guide on how to start a blog or personal website using Jekyll and GitHub Pages, please check out [this article](https://hungryminds.ca/how-to-start-a-blog-or-personal-website-using-jekyll-and-github-pages/).
|
6
|
+
|
7
|
+
![alt-text](https://cloud.githubusercontent.com/assets/8409329/26227987/f2583642-3c03-11e7-81c4-28a9353c91ae.jpg)
|
8
|
+
|
9
|
+
## Notable features
|
10
|
+
|
11
|
+
* Compatible with GitHub Pages.
|
12
|
+
|
13
|
+
* Support for Jekyll's built-in Sass/SCSS preprocessor and data files for making customizing easier.
|
14
|
+
|
15
|
+
* [Google Analytics](https://www.google.com/analytics/) support.
|
16
|
+
|
17
|
+
* Commenting support powered by [Disqus](https://disqus.com/).
|
18
|
+
|
19
|
+
* Optimized for search engines.
|
20
|
+
|
21
|
+
* LaTeX support through [MathJax](https://www.mathjax.org/).
|
22
|
+
|
23
|
+
## Table of Contents
|
24
|
+
|
25
|
+
1. [Introduction](#introduction)
|
26
|
+
1. [What is Jekyll](#what-is-jekyll)
|
27
|
+
2. [Never Used Jeykll Before?](#never-used-jekyll-before)
|
28
|
+
2. [Installation](#installation)
|
29
|
+
1. [GitHub Pages Installation](#github-pages-installation)
|
30
|
+
2. [Local Installation](#local-installation)
|
31
|
+
3. [Directory Structure](#directory-structure)
|
32
|
+
4. [Starting From Scratch](#starting-from-scratch)
|
33
|
+
3. [Configuration](#configuration)
|
34
|
+
1. [Sample Posts](#sample-posts)
|
35
|
+
2. [Site Variables](#site-variables)
|
36
|
+
3. [Adding Menu Pages](#adding-menu-pages)
|
37
|
+
4. [Posts](#posts)
|
38
|
+
5. [Layouts](#layouts)
|
39
|
+
6. [YAML Front Block Matter](#yaml-front-block-matter)
|
40
|
+
4. [Features](#features)
|
41
|
+
1. [Design Considerations](#design-considerations)
|
42
|
+
2. [Disqus](#disqus)
|
43
|
+
3. [Google Analytics](#google-analytics)
|
44
|
+
4. [RSS Feeds](#rss-feeds)
|
45
|
+
5. [Social Media Icons](#social-media-icons)
|
46
|
+
6. [MathJax](#mathjax)
|
47
|
+
7. [Syntax Highlighting](#syntax-highlighting)
|
48
|
+
8. [Markdown](#markdown)
|
49
|
+
5. [Everything Else](#everything-else)
|
50
|
+
6. [Contributing](#Contributing)
|
51
|
+
7. [Questions?](#questions)
|
52
|
+
8. [Credits](#credits)
|
53
|
+
9. [License](#license)
|
54
|
+
|
55
|
+
## Introduction
|
56
|
+
|
57
|
+
Portfolio Jekyll Theme is a Jekyll theme that was built to be 100% compatible with [GitHub Pages](https://pages.github.com/). If you are unfamiliar with GitHub Pages, you can check out [their documentation](https://help.github.com/categories/github-pages-basics/) for more information. [Jonathan McGlone's guide](http://jmcglone.com/guides/github-pages/) on creating and hosting a personal site on GitHub is also a good resource.
|
58
|
+
|
59
|
+
### What is Jekyll?
|
60
|
+
|
61
|
+
Jekyll is a simple, blog-aware, static site generator for personal, project, or organization sites. Basically, Jekyll takes your page content along with template files and produces a complete website. For more information, visit the [official Jekyll site](https://jekyllrb.com/docs/home/) for their documentation.
|
62
|
+
|
63
|
+
### Never Used Jekyll Before?
|
64
|
+
|
65
|
+
The beauty of hosting your website on GitHub is that you don't have to actually have Jekyll installed on your computer. Everything can be done through the GitHub code editor, with minimal knowledge of how to use Jekyll or the command line. All you have to do is add your posts to the `_posts` directory and edit the `_config.yml` file to change the site settings. With some rudimentary knowledge of HTML and CSS, you can even modify the site to your liking. This can all be done through the GitHub code editor, which acts like a content management system (CMS).
|
66
|
+
|
67
|
+
## Installation
|
68
|
+
|
69
|
+
### GitHub Pages Installation
|
70
|
+
|
71
|
+
To start using Portfolio Jekyll Theme right away with GitHub Pages, [fork the Portfolio Jekyll Theme repository on GitHub](https://github.com/LeNPaul/portfolio-jekyll-theme/fork). From there, you can rename your repository to 'USERNAME.github.io', where 'USERNAME' is your GitHub username, and edit the `settings.yml` file in the `_data` folder to your liking. Ensure that you have a branch named `gh-pages`. Your website should be ready immediately at 'http://USERNAME.github.io'. Note: if you are hosting several sites under the same GitHub username, then you will have to use [Project Pages instead of User Pages](https://help.github.com/articles/user-organization-and-project-pages/) - just change the repository name to something other than 'http://USERNAME.github.io'.
|
72
|
+
|
73
|
+
Head over to the `_posts` directory to view all the posts that are currently on the website, and to see examples of what post files generally look like. You can simply just duplicate the template post and start adding your own content.
|
74
|
+
|
75
|
+
### Local Installation
|
76
|
+
|
77
|
+
For a full local installation of Portfolio Jekyll Theme, [download your own copy of Portfolio Jekyll Theme](https://github.com/LeNPaul/portfolio-jekyll-theme/archive/gh-pages.zip) and unzip it into it's own directory. From there, open up your favorite command line tool, enter `bundle install`, and then enter `jekyll serve`. Your site should be up and running locally at [http://localhost:4000](http://localhost:4000).
|
78
|
+
|
79
|
+
### Directory Structure
|
80
|
+
|
81
|
+
If you are familiar with Jekyll, then the Portfolio Jekyll Theme directory structure shouldn't be too difficult to navigate. The following some highlights of the differences you might notice between the default directory structure. More information on what these folders and files do can be found in the [Jekyll documentation site](https://jekyllrb.com/docs/structure/).
|
82
|
+
|
83
|
+
```bash
|
84
|
+
Portfolio Jekyll Theme/
|
85
|
+
├── _data # Data files
|
86
|
+
| └── settings.yml # Theme settings and custom text
|
87
|
+
├── _includes # Theme includes
|
88
|
+
├── _layouts # Theme layouts (see below for details)
|
89
|
+
├── _posts # Where all your posts will go
|
90
|
+
├── assets # Style sheets and images are found here
|
91
|
+
| ├── css # Style sheets go here
|
92
|
+
| | └── all.sass # Main SASS file
|
93
|
+
| └── img # Images go here
|
94
|
+
├── pages # Menu pages
|
95
|
+
├── projects # Project pages
|
96
|
+
├── _config.yml # Site build settings
|
97
|
+
├── Gemfile # Ruby Gemfile for managing Jekyll plugins
|
98
|
+
└── index.md # Home page
|
99
|
+
```
|
100
|
+
|
101
|
+
### Starting From Scratch
|
102
|
+
|
103
|
+
To completely start from scratch, simply delete all the files in the `_posts`, `assets/img`, and `menu` folder, and add your own content. You may also replace the `README.md` file with your own README. Everything in the `_data` folder and `_config.yml` file can be edited to suit your needs. You may also change the `favicon.ico` file to your own favicon.
|
104
|
+
|
105
|
+
## Configuration
|
106
|
+
|
107
|
+
### Sample Posts
|
108
|
+
|
109
|
+
Visit the [the demo site](https://lenpaul.github.io/portfolio-jekyll-theme/) to find sample posts that show what different types of text formatting look like. You can find these posts in the `_posts` folder, which show what the best practices for setting up your own site are.
|
110
|
+
|
111
|
+
### Site Variables
|
112
|
+
|
113
|
+
To change site build settings, edit the `_config.yml` file found in the root of your repository, which you can tweak however you like. More information on configuration settings and plugins can be found on [the Jekyll documentation site](https://jekyllrb.com/docs/configuration/). This is also where you will be able to customize the title, description, and the author/owner of your site.
|
114
|
+
|
115
|
+
If you are hosting your site on GitHub Pages, then committing a change to the `_config.yml` file will force a rebuild of your site with Jekyll. Any changes made should be viewable soon after. If you are hosting your site locally, then you must run `jekyll serve` again for the changes to take place.
|
116
|
+
|
117
|
+
In the `settings.yml` file found in the `_data` folder, you will be able to customize your site settings, such as setting Disqus comments, Google Analytics, what shows up in your menu, and social media information.
|
118
|
+
|
119
|
+
### Adding Menu and Project Pages
|
120
|
+
|
121
|
+
The menu pages are found in the `menu` folder in the root directory, and can be added to your menu in the `settings.yml` file. Similarly, the project pages are found in the `projects` folder in the root directory, and can be added to your site in the `settings.yml` file. The images for your portfolio projects are stored in the `assets/img/projects/proj-n` folder, and should be named `thumb.jpg`.
|
122
|
+
|
123
|
+
### Posts
|
124
|
+
|
125
|
+
You will find example posts in your `_posts` directory. Go ahead and edit any post and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
126
|
+
|
127
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention of `YYYY-MM-DD-name-of-post.md` and includes the necessary front matter. Take a look at any sample post to get an idea about how it works. If you already have a website built with Jekyll, simply copy over your posts to migrate to Portfolio Jekyll Theme.
|
128
|
+
|
129
|
+
### Layouts
|
130
|
+
|
131
|
+
There are two main layout options that are included with Portfolio Jekyll Theme: post and page. Layouts are specified through the [YAML front block matter](https://jekyllrb.com/docs/frontmatter/). Any file that contains a YAML front block matter will be processed by Jekyll. For example:
|
132
|
+
|
133
|
+
```
|
134
|
+
---
|
135
|
+
layout: post
|
136
|
+
title: "Example Post"
|
137
|
+
---
|
138
|
+
```
|
139
|
+
|
140
|
+
Examples of what posts looks like can be found in the `_posts` directory, which includes this post you are reading right now. Posts are the basic blog post layout, which includes a header image, post content, author name, date published, social media sharing links, and related posts.
|
141
|
+
|
142
|
+
Pages are essentially the post layout without any of the extra features of the posts layout. An example of what pages look like can be found at the [About](https://lenpaul.github.io/portfolio-jekyll-theme/pages/about.html) and [Contacts](https://lenpaul.github.io/portfolio-jekyll-theme/pages/contact.html).
|
143
|
+
|
144
|
+
In addition to the two main layout options above, there is also a custom layout that have been created for the [home page](https://lenpaul.github.io/portfolio-jekyll-theme/). These are simply just page layouts with some [Liquid template code](https://shopify.github.io/liquid/). Check out the `index.html` file in the root directory for what the code looks like.
|
145
|
+
|
146
|
+
### YAML Front Block Matter
|
147
|
+
|
148
|
+
The recommended YAML front block is:
|
149
|
+
|
150
|
+
```
|
151
|
+
---
|
152
|
+
layout:
|
153
|
+
title:
|
154
|
+
---
|
155
|
+
```
|
156
|
+
|
157
|
+
`layout` specifies which layout to use, and `title` is the page or post title. Have a look at some posts in the `_posts` directory to see how these variables are set.
|
158
|
+
|
159
|
+
## Features
|
160
|
+
|
161
|
+
### Design Considerations
|
162
|
+
|
163
|
+
Portfolio Jekyll Theme was designed to be a minimalist theme in order for the focus to remain on your content. For example, links are signified mainly through coloured font, in order to maximize the perceived affordance of clickability (I originally just wanted to make the links a darker shade of grey).
|
164
|
+
|
165
|
+
### Disqus
|
166
|
+
|
167
|
+
Portfolio Jekyll Theme supports comments at the end of posts through [Disqus](https://disqus.com/). In order to activate Disqus commenting, set `disqus.comments` to true in the `_data/settings.yml` file. If you do not have a Disqus account already, you will have to set one up, and create a profile for your website. You will be given a `disqus_shortname` that will be used to generate the appropriate comments sections for your site. More information on [how to set up Disqus](http://www.perfectlyrandom.org/2014/06/29/adding-disqus-to-your-jekyll-powered-github-pages/).
|
168
|
+
|
169
|
+
### Google Analytics
|
170
|
+
|
171
|
+
It is possible to track your site statistics through [Google Analytics](https://www.google.com/analytics/). Similar to Disqus, you will have to create an account for Google Analytics, and enter the correct Google ID for your site under `google-ID` in the `settings.yml` file. More information on [how to set up Google Analytics](https://michaelsoolee.com/google-analytics-jekyll/). Note: If you are not using Google Analytics, please change `google-ID` to an empty string.
|
172
|
+
|
173
|
+
### RSS Feeds
|
174
|
+
|
175
|
+
Atom is supported by default through [jekyll-feed](https://github.com/jekyll/jekyll-feed). With jekyll-feed, you can set configuration variables such as 'title', 'description', and 'author', in the `_config.yml` file.
|
176
|
+
|
177
|
+
### Social Media Icons
|
178
|
+
|
179
|
+
All social media icons are courtesy of [Font Awesome](http://fontawesome.io/). You can change which icons appear, as well as the account that they link to, in the `settings.yml` file in the `_data` folder.
|
180
|
+
|
181
|
+
### MathJax
|
182
|
+
|
183
|
+
Portfolio Jekyll Theme comes out of the box with [MathJax](https://www.mathjax.org/), which allows you to display mathematical equations in your posts through the use of [LaTeX](http://www.andy-roberts.net/writing/latex/mathematics_1).
|
184
|
+
|
185
|
+
### Syntax Highlighting
|
186
|
+
|
187
|
+
Portfolio Jekyll Theme provides syntax highlighting through [fenced code blocks](https://help.github.com/articles/creating-and-highlighting-code-blocks/). Syntax highlighting allows you to display source code in different colors and fonts depending on what programming language is being displayed. You can find the full list of supported programming languages [here](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers). Another option is to embed your code through [Gist](https://en.support.wordpress.com/gist/).
|
188
|
+
|
189
|
+
### Markdown
|
190
|
+
|
191
|
+
As always, Jekyll offers support for GitHub Flavored Markdown, which allows you to format your posts using the [Markdown syntax](https://guides.github.com/features/mastering-markdown/). Examples of these text formatting features can be seen below. You can find this post in the `_posts` directory as well as the `README.md` file.
|
192
|
+
|
193
|
+
## Everything Else
|
194
|
+
|
195
|
+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
196
|
+
|
197
|
+
[jekyll-docs]: http://jekyllrb.com/docs/home
|
198
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
199
|
+
[jekyll-talk]: https://talk.jekyllrb.com/
|
200
|
+
|
201
|
+
## Contributing
|
202
|
+
|
203
|
+
If you would like to make a feature request, or report a bug or typo in the documentation, then please [submit a GitHub issue](https://github.com/LeNPaul/portfolio-jekyll-theme/issues/new). If you would like to make a contribution, then feel free to [submit a pull request](https://help.github.com/articles/about-pull-requests/) - as a bonus, I will credit all contributors below! If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
204
|
+
|
205
|
+
Portfolio Jekyll Theme has been designed as a base for users to customize and fit to their own unique needs. Please keep this in mind when requesting features and/or submitting pull requests. Some examples of changes that I would love to see are things that would make the site easier to use, or better ways of doing things. Please avoid changes that do not benefit the majority of users.
|
206
|
+
|
207
|
+
## Questions?
|
208
|
+
|
209
|
+
This theme is completely free and open source software. You may use it however you want, as it is distributed under the [MIT License](http://choosealicense.com/licenses/mit/). If you are having any problems, any questions or suggestions, feel free to [tweet at me](https://twitter.com/intent/tweet?text=My%question%about%PJT%is:%&via=paululele), or [file a GitHub issue](https://github.com/lenpaul/portfolio-jekyll-theme/issues/new).
|
210
|
+
|
211
|
+
## Credits
|
212
|
+
|
213
|
+
### Creator
|
214
|
+
|
215
|
+
#### Paul Le
|
216
|
+
|
217
|
+
* [www.lenpaul.com](http://lenpaul.com)
|
218
|
+
|
219
|
+
* [Twitter](https://twitter.com/paululele)
|
220
|
+
|
221
|
+
* [GitHub](https://github.com/LeNPaul)
|
222
|
+
|
223
|
+
### Contributors
|
224
|
+
|
225
|
+
* Be the first to contribute!
|
226
|
+
|
227
|
+
### Icons + Demo Images
|
228
|
+
|
229
|
+
* [Death to Stock](https://deathtothestockphoto.com/)
|
230
|
+
|
231
|
+
* [Font Awesome](http://fontawesome.io/)
|
232
|
+
|
233
|
+
### Other
|
234
|
+
|
235
|
+
* [Jekyll](https://jekyllrb.com/)
|
236
|
+
|
237
|
+
* [Free Code Camp](https://www.freecodecamp.org)
|
238
|
+
|
239
|
+
* [Khan Academy](https://www.khanacademy.org/)
|
240
|
+
|
241
|
+
## License
|
242
|
+
|
243
|
+
Open sourced under the [MIT license](https://github.com/LeNPaul/portfolio-jekyll-theme/blob/gh-pages/LICENSE.md).
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.data.settings.google-analytics-ua %}
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.data.settings.google-analytics-ua }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
</script>
|
11
|
+
{% endif %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<section class="disqus">
|
2
|
+
<div id="disqus_thread"></div>
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_shortname = "{{ site.data.settings.disqus.disqus_shortname }}";
|
5
|
+
var disqus_identifier = "{{ page.url }}";
|
6
|
+
(function() {
|
7
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
8
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
9
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
10
|
+
})();
|
11
|
+
</script>
|
12
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
13
|
+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
14
|
+
</section>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<footer>
|
2
|
+
<div class="footer-wrap">
|
3
|
+
<div class="footer-tagline">
|
4
|
+
<p>{{ site.data.settings.footer }}</p>
|
5
|
+
</div>
|
6
|
+
<div class="social-media">
|
7
|
+
<nav>
|
8
|
+
{% for item in site.data.settings.social %}
|
9
|
+
<a href="{{ item.link }}" target="_blank"><i class="fa fa-{{ item.icon }}" aria-hidden="true"></i></a>
|
10
|
+
{% endfor %}
|
11
|
+
</nav>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</footer>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<div class="image-container">
|
2
|
+
<a href="{{ include.url }}" target="_blank">
|
3
|
+
<img src="{{ site.github.url }}/assets/img/{{ include.image }}" alt="Avatar" class="image">
|
4
|
+
<div class="overlay">
|
5
|
+
<div class="text">
|
6
|
+
{% if include.text %}
|
7
|
+
{{ include.text }} <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
8
|
+
{% else %}
|
9
|
+
View Demo <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
10
|
+
{% endif %}
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</a>
|
14
|
+
</div>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<section>
|
2
|
+
<div class="project-container">
|
3
|
+
{% for project in site.data.settings.projects %}
|
4
|
+
<a href="{{ site.github.url }}/projects/{{ project.url }}">
|
5
|
+
<div class="project-unit" data-folder="{{ site.github.url }}/projects/{{ project.url }}" style="background-image: url({{ site.github.url }}/assets/img/projects/{{ project.url }}/thumbnail.jpg)">
|
6
|
+
<div class="project-overlay">
|
7
|
+
<strong>{{ project.name }} <i class="fa fa-arrow-right" aria-hidden="true"></i></strong>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</a>
|
11
|
+
{% endfor %}
|
12
|
+
</div>
|
13
|
+
</section>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section>
|
6
|
+
<div class="blog-container">
|
7
|
+
{% for post in site.posts %}
|
8
|
+
<div class="blog-unit">
|
9
|
+
<h1><a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a></h1>
|
10
|
+
<span class="blog-date">
|
11
|
+
{% assign d = post.date | date: "%-d" %}
|
12
|
+
{{ post.date | date: "%B" }}
|
13
|
+
{% case d %}
|
14
|
+
{% when '1' or '21' or '31' %}{{ d }}st
|
15
|
+
{% when '2' or '22' %}{{ d }}nd
|
16
|
+
{% when '3' or '23' %}{{ d }}rd
|
17
|
+
{% else %}{{ d }}th{% endcase %},
|
18
|
+
{{ post.date | date: "%Y" }}
|
19
|
+
</span>
|
20
|
+
</div>
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
</section>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html class="">
|
6
|
+
<head>
|
7
|
+
<meta charset="UTF-8">
|
8
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
10
|
+
<meta name="description" content="{{ site.data.settings.seo.description }}">
|
11
|
+
<meta rel="author" href="{{ site.data.settings.seo.rel-author }}">
|
12
|
+
<meta rel="publisher" href="{{ site.data.settings.seo.rel-publisher }}">
|
13
|
+
<title>
|
14
|
+
{% if page.title == "Home" %}
|
15
|
+
{{ site.title }}
|
16
|
+
{% else %}
|
17
|
+
{{ page.title }} | {{ site.title }}
|
18
|
+
{% endif %}
|
19
|
+
</title>
|
20
|
+
<link rel="stylesheet" href="{{ site.github.url }}/assets/css/all.css">
|
21
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
22
|
+
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
23
|
+
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
24
|
+
<!-- Use Atom -->
|
25
|
+
{% feed_meta %}
|
26
|
+
<script type="text/javascript" async
|
27
|
+
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
|
28
|
+
</script>
|
29
|
+
{% include analytics.html %}
|
30
|
+
<!-- Use Jekyll SEO plugin -->
|
31
|
+
{% seo %}
|
32
|
+
</head>
|
33
|
+
<body>
|
34
|
+
<div class="site-container">
|
35
|
+
{% include header.html %}
|
36
|
+
{{ content }}
|
37
|
+
{% include footer.html %}
|
38
|
+
</div>
|
39
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
40
|
+
</body>
|
41
|
+
</html>
|
data/_layouts/home.html
ADDED