You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+34-13
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,24 @@
1
1
# namecard
2
+
### *namecard* is a markdown-driven, single page CV
2
3
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
+

4
5
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
+
**markdown-driven**: all of the content and most of the styling on the site can be edited with markdown, which is flexible and easy to use
6
7
7
-
TODO: Delete this and the text above, and describe your gem
8
+
**single page**: a single page is concise and doesn't overwhelm visitors - see the [*KISS*](https://en.wikipedia.org/wiki/KISS_principle) principle
9
+
10
+
## Usage
11
+
12
+
Usage instructions and theme options are available at https://github.com/afterdusk/use-namecard, an example site using *namecard*. I highly recommend cloning the repository and editing the content from the template instead of performing an install on an existing repo.
8
13
9
14
## Installation
15
+
There are two ways of installing Jekyll themes:
16
+
17
+
### 1. Gem Installation
18
+
---
19
+
Note that this approach will not work with GitHub Pages build and deploy. If you are using this approach and want to deploy with GitHub Pages, you will have to build your site locally and only push the output `_site` folder.
20
+
21
+
---
10
22
11
23
Add this line to your Jekyll site's `Gemfile`:
12
24
@@ -24,26 +36,35 @@ And then execute:
24
36
25
37
$ bundle
26
38
27
-
Or install it yourself as:
39
+
Or install it yourself with:
28
40
29
41
$ gem install namecard
30
42
31
-
## Usage
43
+
### 2. GitHub Pages Remote Theme
44
+
If you plan to deploy with GitHub Pages, this is the far simpler approach of adding the theme to your site. Add the following line to your site's `_config.yml`:
32
45
33
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
46
+
```yaml
47
+
remote_theme: afterdusk/namecard
48
+
```
34
49
35
-
## Contributing
50
+
In your `Gemfile`, ensure the following lines are commented out:
51
+
```ruby
52
+
# gem "namecard"
53
+
# gem "jekyll", "~> 3.8.5"
54
+
```
36
55
37
-
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.
Note: Make sure a version number is included in the above line
40
62
41
-
To set up your environment to develop this theme, run `bundle install`.
63
+
You can then [test the site locally](https://help.github.com/en/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll) before [deploying to GitHub pages](https://help.github.com/en/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll).
42
64
43
-
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.
65
+
## Contributing
44
66
45
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
46
-
To add a custom directory to your theme-gem, please edit the regexp in `namecard.gemspec` accordingly.
67
+
Bug reports, suggestions and pull requests are welcome on GitHub at https://github.com/afterdusk/namecard. 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.
0 commit comments