-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
67 additions
and
79 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
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,41 @@ | ||
## Installation | ||
|
||
The following steps demonstrate how to use portfolYOU as **GitHub Pages remote theme**. | ||
|
||
1. [Download][download] portfolYOU as .zip from official [repo][repo] then extract it. | ||
1. Rename **`portfolYOU-master/`** to **`<your-username>.github.io/`** | ||
1. Remove everything **except** the **`docs/`** directory. | ||
1. Lift up the **`docs/`** directory's content to the root directory _(i.e move them to **`<your-username>.github.io/`**)_. | ||
1. Remove **documentation** stuff: | ||
- **`_elements/`** | ||
- **`documentation/`** | ||
- **`_config.yml`** : any line commented as `# For Documentation Only` | ||
|
||
1. Your directory structure should be: | ||
|
||
```tree | ||
<your-username>.github.io/ | ||
├── _data/ | ||
├── _posts/ | ||
├── _projects/ | ||
├── pages/ | ||
├── _config.yml | ||
├── .gitignore | ||
└── Gemfile | ||
``` | ||
|
||
1. Update **`_config.yml`** with your data _(follow the comments for more help)_. | ||
1. Update your site content (posts, projects and about page). | ||
1. Finally, test portfolYOU [locally][locally] then [publish][publish] it to [GitHub Pages][gh-pages]. | ||
1. _[Optional]_ To use a specific [version][versions] of portfolYOU _(defaults to latest version)_: | ||
|
||
```yml | ||
remote_theme: YoussefRaafatNasry/[email protected] | ||
``` | ||
[repo]: {{ site.github.repository_url }} | ||
[fork]: {{ site.github.repository_url }}/fork | ||
[download]: {{ site.github.zip_url }} | ||
[versions]: {{ site.github.releases_url }} | ||
[locally]: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ | ||
[gh-pages]: https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ | ||
[publish]: https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ | ||
[gh-pages]: https://pages.github.com/ |
50 changes: 0 additions & 50 deletions
50
docs/documentation/partials/02-installation/01-github-pages.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
## Customization | ||
|
||
When using portfolYOU as a theme means you can take advantage of the file overriding method. This allows you to overwrite any file in this theme with your own custom file, simply by matching the file name and path. The most common example of this would be if you want to add your own styles or change the favicon. | ||
To change the favicon for example just generate your own using [favicon](https://favicon.io/) or any other tool. Copy your new `favicon.ico` file into your own project with the same file path `assets/favicon.ico`. | ||
Simply **override** the file you want to change by matching the **same file name and path**. | ||
|
||
**Example 1:** New Favicon | ||
|
||
1. Generate your own using [favicon](https://favicon.io/) or any other tool. | ||
1. Copy your new `favicon.ico` file into your own project with the same file path **`assets/favicon.ico`**. | ||
|
||
**Example 2:** Custom Style | ||
|
||
1. Create **`assets/css/styles.scss`**. | ||
1. Add the following lines: | ||
|
||
```css | ||
--- | ||
--- | ||
/* Add your custom style here */ | ||
@import "portfolYOU"; | ||
``` |
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,6 +1,6 @@ | ||
Gem::Specification.new do |spec| | ||
spec.name = "portfolyou-jekyll-theme" | ||
spec.version = "2.2.1" | ||
spec.version = "2.2.2" | ||
spec.authors = ["Youssef Raafat"] | ||
spec.email = ["[email protected]"] | ||
|
||
|