Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

Commit 016c5ec

Browse files
committed
tried making gem; removed node_modules
1 parent fce5728 commit 016c5ec

File tree

305 files changed

+364
-22150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+364
-22150
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
/_site
1+
*.gem
2+
.bundle
3+
.sass-cache
4+
_site
5+
Gemfile.lock

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# frozen_string_literal: true
12
source 'https://rubygems.org'
3+
gemspec
24
gem 'github-pages', group: :jekyll_plugins, github: "github/pages-gem", branch: "master"
35
gem "jekyll-github-metadata", github: "kenyonj/github-metadata", branch: "jk-add-repo-stars-forks-hireable"
46

Gemfile.lock

+10
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ GIT
5858
jekyll (~> 3.4)
5959
octokit (~> 4.0, != 4.4.0)
6060

61+
PATH
62+
remote: .
63+
specs:
64+
github-personal-website (0.1.1)
65+
jekyll (~> 3.7)
66+
6167
GEM
6268
remote: https://rubygems.org/
6369
specs:
@@ -229,6 +235,7 @@ GEM
229235
pathutil (0.16.2)
230236
forwardable-extended (~> 2.6)
231237
public_suffix (2.0.5)
238+
rake (12.3.1)
232239
rb-fsevent (0.10.3)
233240
rb-inotify (0.10.0)
234241
ffi (~> 1.0)
@@ -259,9 +266,12 @@ PLATFORMS
259266
ruby
260267

261268
DEPENDENCIES
269+
bundler (~> 2.0.1)
262270
github-pages!
271+
github-personal-website!
263272
jekyll-github-metadata!
264273
jekyll-octicons
274+
rake (~> 12.0)
265275

266276
BUNDLED WITH
267277
2.0.1

node_modules/days/LICENSE renamed to LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2017, Jon Schlinkert.
3+
Copyright (c) 2019 GitHub
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+51-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,51 @@
1-
# profile-generator
1+
# github-personal-website
2+
3+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4+
5+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6+
7+
TODO: Delete this and the text above, and describe your gem
8+
9+
10+
## Installation
11+
12+
Add this line to your Jekyll site's `Gemfile`:
13+
14+
```ruby
15+
gem "github-personal-website"
16+
```
17+
18+
And add this line to your Jekyll site's `_config.yml`:
19+
20+
```yaml
21+
theme: github-personal-website
22+
```
23+
24+
And then execute:
25+
26+
$ bundle
27+
28+
Or install it yourself as:
29+
30+
$ gem install github-personal-website
31+
32+
## Usage
33+
34+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35+
36+
## Contributing
37+
38+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39+
40+
## Development
41+
42+
To set up your environment to develop this theme, run `bundle install`.
43+
44+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45+
46+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47+
To add a custom directory to your theme-gem, please edit the regexp in `github-personal-website.gemspec` accordingly.
48+
49+
## License
50+
51+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

_config.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
repository: sophshep/manager-resources
22

3+
layout: sidebar
34
style: light
45

5-
sass:
6-
load_paths:
7-
- node_modules
8-
96
plugins:
107
- jekyll-octicons
118
- jekyll-github-metadata
@@ -18,16 +15,15 @@ defaults:
1815
path: "" # an empty string here means all files in the project
1916
type: "posts"
2017
values:
21-
layout: "sidebar"
22-
is_post: true
18+
layout: "post"
2319

2420
topics:
25-
- name: Web design
26-
2721
- name: CSS
2822
github_name: css
2923
image_url: https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/css/css.png
3024

25+
- name: Web design
26+
3127
- name: Sass
3228
github_name: sass
3329
image_url: https://raw.githubusercontent.com/github/explore/6c6508f34230f0ac0d49e847a326429eefbfc030/topics/sass/sass.png

_includes/header.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<head>
1616
<meta charset="utf-8">
1717
<title>{{ site.github.owner.name }}</title>
18+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1819
<link href="/assets/styles.css" rel="stylesheet" type="text/css">
1920
</head>
20-
<body class="bg-gray-light" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
21+
<body class="bg-white" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>

_includes/masthead.html

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{% if site.layout == 'stacked' %}
2+
{% assign metadata_styles = 'd-md-inline-block mr-3' %}
3+
{% else %}
4+
{% assign metadata_styles = 'd-flex flex-items-center mb-3' %}
5+
{% endif %}
6+
7+
<img src="{{ user.avatar_url }}" class="circle mb-3" style="max-width: 150px;">
8+
<h1 class="{% if site.style == 'dark' %}text-white{% endif %} mb-2 lh-condensed">{% if user.name %}{{ user.name }}{% else %}{{ user.login }}{% endif %}</h1>
9+
<p class="mb-3 f4 {% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %}">
10+
{{ user.bio }}
11+
</p>
12+
13+
{% if include.metadata %}
14+
<div class="f4 mb-6">
15+
{% if user.name %}
16+
<div class="{{ metadata_styles }}">
17+
{% octicon mark-github height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:GitHub %}
18+
<a href="https://github.com/{{ user.login }}" {% if site.style == 'dark' %}class="text-white"{% endif %}>
19+
@{{ user.login }}
20+
</a>
21+
</div>
22+
{% endif %}
23+
{% if user.email %}
24+
<div class="{{ metadata_styles }}">
25+
{% octicon mail height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:email %}
26+
<a href="mailto:{{ user.email }}" {% if site.style == 'dark' %}class="text-white"{% endif %}>
27+
{{ user.email }}
28+
</a>
29+
</div>
30+
{% endif %}
31+
{% if user.location %}
32+
<div class="{{ metadata_styles }} {% if site.style == 'dark' %}text-white{% endif %}">
33+
{% octicon location height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Location %}
34+
{{ user.location }}
35+
</div>
36+
{% endif %}
37+
{% if user.hireable %}
38+
<span title="Hire me" class="d-inline-block f5 rounded-2 text-white bg-green py-1 px-2">Available for hire</span>
39+
{% endif %}
40+
</div>
41+
{% endif %}

_layouts/default.html

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% include header.html %}
2+
3+
{% if site.layout == 'stacked' %}
4+
<div class="container-lg py-6 p-responsive text-center">
5+
{% include masthead.html metadata=false %}
6+
7+
<div class="container-md f4 text-left border rounded-2 bg-white p-3 p-sm-5 mt-6">
8+
<p class="f5"><a href="/" class="d-flex flex-items-center">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:#0366d6 aria-label:Home %}Home</a></p>
9+
<h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
10+
{{ content }}
11+
</div>
12+
</div>
13+
{% else %}
14+
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
15+
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
16+
{% include masthead.html metadata=true %}
17+
</div>
18+
19+
<div class="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 border-top border-md-top-0 bg-gray-light" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
20+
<div class="mx-auto" style="max-width: 900px;">
21+
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
22+
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
23+
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
24+
<h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
25+
{{ content }}
26+
</div>
27+
</div>
28+
</div>
29+
</div>
30+
</div>
31+
{% endif %}
32+
33+
{% include footer.html %}

_layouts/home.html

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{% include header.html %}
2+
3+
{% if site.layout == 'stacked' %}
4+
<div class="container-lg py-6 p-responsive text-center">
5+
{% include masthead.html metadata=true %}
6+
7+
<div {% if site.style == 'dark' %}class="text-white"{% endif %}>
8+
{{ content }}
9+
</div>
10+
11+
<div class="my-6">
12+
{% include projects.html %}
13+
</div>
14+
15+
{% if site.topics %}
16+
<div class="my-6">
17+
{% include interests.html %}
18+
</div>
19+
{% endif %}
20+
21+
{% unless posts_total == 0 %}
22+
<div class="my-6">
23+
{% include thoughts.html %}
24+
</div>
25+
{% endunless %}
26+
</div>
27+
{% else %}
28+
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
29+
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
30+
{% include masthead.html metadata=true %}
31+
</div>
32+
33+
<div class="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 border-top border-md-top-0 bg-gray-light" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
34+
<div class="mx-auto" style="max-width: 900px;">
35+
{% unless content == "" %}
36+
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
37+
{{ content }}
38+
</div>
39+
{% endunless %}
40+
41+
{% include projects.html %}
42+
43+
{% if site.topics %}
44+
{% include interests.html %}
45+
{% endif %}
46+
47+
{% unless posts_total == 0 %}
48+
{% include thoughts.html %}
49+
{% endunless %}
50+
</div>
51+
</div>
52+
</div>
53+
{% endif %}
54+
55+
{% include footer.html %}

_layouts/post.html

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% include header.html %}
2+
3+
{% if site.layout == 'stacked' %}
4+
<div class="container-lg py-6 p-responsive text-center">
5+
{% include masthead.html metadata=false %}
6+
7+
<div class="container-md f4 text-left border rounded-2 bg-white p-3 p-sm-5 mt-6">
8+
<p class="f5"><a href="/" class="d-flex flex-items-center">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:#0366d6 aria-label:Home %}Home</a></p>
9+
<h1 class="f00-light lh-condensed">{{ page.title }}</h1>
10+
<p class="{% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %} mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
11+
{{ content }}
12+
</div>
13+
</div>
14+
{% else %}
15+
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
16+
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
17+
{% include masthead.html metadata=true %}
18+
</div>
19+
20+
<div class="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 border-top border-md-top-0 bg-gray-light" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
21+
<div class="mx-auto" style="max-width: 900px;">
22+
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
23+
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
24+
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
25+
<h1 class="f00-light lh-condensed">{{ page.title }}</h1>
26+
<p class="{% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %} mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
27+
{{ content }}
28+
</div>
29+
</div>
30+
</div>
31+
</div>
32+
</div>
33+
{% endif %}
34+
35+
{% include footer.html %}

_layouts/sidebar.html

-72
This file was deleted.

0 commit comments

Comments
 (0)