From e4be6a9ff5e928e2096a40102901bf637cf0841d Mon Sep 17 00:00:00 2001 From: Youssef Raafat Date: Sat, 16 Feb 2019 18:57:53 +0200 Subject: [PATCH] Modify Articles --- _includes/articles.html | 2 +- _posts/2018-02-06-border.md | 7 ++ _posts/2018-02-06-download.md | 84 ------------------- ...2-06-default.md => 2019-02-06-elements.md} | 11 +-- 4 files changed, 10 insertions(+), 94 deletions(-) create mode 100644 _posts/2018-02-06-border.md delete mode 100644 _posts/2018-02-06-download.md rename _posts/{2019-02-06-default.md => 2019-02-06-elements.md} (94%) diff --git a/_includes/articles.html b/_includes/articles.html index 34b3a3fd4..0c5aef91e 100644 --- a/_includes/articles.html +++ b/_includes/articles.html @@ -32,7 +32,7 @@

{{ post.title }}

{% endfor %}

- {% if post.color %} + {% if post.description %} {{ post.description }} {% else %} {{ post.content | truncatewords: 25, " read more..." }} diff --git a/_posts/2018-02-06-border.md b/_posts/2018-02-06-border.md new file mode 100644 index 000000000..4f00503fe --- /dev/null +++ b/_posts/2018-02-06-border.md @@ -0,0 +1,7 @@ +--- +title: Article with Border +tags: [TAG 1, TAG 2] +style: border +color: primary +description: Suas utinam in nam, quo ei viris meliore, at debet detracto voluptaria duo. Pro assueverit delicatissimi ex. Mea sonet habemus an. Mel te admodum sententiae, sit cibo debet iracundia at. Vix ex corpora dissentiet. Etiam tritani nominati per no. +--- \ No newline at end of file diff --git a/_posts/2018-02-06-download.md b/_posts/2018-02-06-download.md deleted file mode 100644 index f35aa0eac..000000000 --- a/_posts/2018-02-06-download.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Download portfolYOU -tags: [Download, Free] -style: border -color: primary -description: This article contains everything that you need to know about portfolYOU and how to get it for FREE. ---- - -portfolYOU is a free modern open-source Jekyll portfolio and blogging theme that works with GitHub Pages. -Created by [@YoussefRaafatNasry](https://github.com/YoussefRaafatNasry) - -![]({{ '/docs/portfolYOU.gif' | relative_url }}) - -

-{% include button.html link="https://github.com/YoussefRaafatNasry/portfolYOU" text="View on GitHub" %} -{% include button.html link="https://github.com/YoussefRaafatNasry/portfolYOU/archive/master.zip" text="Download Now!" %} -

- -## Download & Usage - -1. Clone or [Download][download] this [repo]({{ site.repo }}). -1. Delete unnecessary files and folders: - - README.md - - LICENSE - - docs/ -1. Change the configuration options in `_config.yml` depending on your needs. -1. Add `project-name.md` to `_projects` directory to add a new project. -1. Add `YYYY-MM-DD-article-name.md` to `_posts` directory to add a new article. -1. Modify `_data/` files to add new skills or items to the timeline. -1. Modify `pages/about.md` to write your own bio. -1. Set up portfolYOU [locally] or publish it to [GitHub Pages][gh-pages]. - -[download]: https://github.com/YoussefRaafatNasry/portfolYOU/archive/master.zip -[gh-pages]: https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ -[locally]: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ - -## Sections - -portfolYOU's sections are **independent**, you can remove any section upon your needs. Here's a list of the files and folders needed by each section: - -| Projects | Articles | About | -| :--------- | :--------- | :--------- | -| pages/projects.html | pages/articles.html | pages/about.md | -| _includes/projects.html | _includes/articles.html | _includes/skills.html | -| _sass/projects.scss ¹ | _sass/_articles.scss ¹ | _includes/timeline.html | -| assets/js/card-animation.js ² | _layouts/post.html | _sass/_skills.scss ¹ | -| _projects/ ³ | _posts/ ⁴ | _sass/_timeline.scss ¹ | -| | | _data/ | - - - If you are deleting any section, please consider the following:
- ¹ remove reference from _sass/portfolYOU.scss
- ² remove reference from _includes/scripts.html
- ³ remove collections and defaults from _config.yml
- ⁴ remove posts default permalink from _config.yml -
- -## Dependencies - -| Dependency | Version | -| :-------------------------- |:-------:| -| [Animate.css][animate] | v3.7.0 | -| [Bootstrap][bootstrap] | v4.3.1 | -| [FontAwesome][font-awesome] | v5.6.3 | -| [jQuery][jquery] | v3.3.1 | -| [Popper.js][popper] | v1.14.6 | -| [wow.js][wow] | v1.1.2 | - -[animate]: https://daneden.github.io/animate.css/ -[bootstrap]: https://getbootstrap.com/ -[font-awesome]: https://fontawesome.com/ -[jquery]: https://jquery.com/ -[popper]: https://popper.js.org/ -[wow]: https://wowjs.uk/ - -## Credits & Inspiration - -1. [CSS3 Animated Skill Progress bar][skills-progress-bar] _A pen by Shah Zobayer Ahmed._ -1. [How to Create Bootstrap Card Hover Effect (jQuery)][cards-hover] _A video by Daily Tuition._ -1. [Vertical Timeline (HTML-SCSS-CSS)][vertical-timeline] _A video by DevPen._ - -[skills-progress-bar]: https://codepen.io/speeedsam/pen/VeOGEq -[cards-hover]: https://www.youtube.com/watch?v=2qQxwT-Qm5E -[vertical-timeline]: https://www.youtube.com/watch?v=TP4THzsAa3M&t=2s \ No newline at end of file diff --git a/_posts/2019-02-06-default.md b/_posts/2019-02-06-elements.md similarity index 94% rename from _posts/2019-02-06-default.md rename to _posts/2019-02-06-elements.md index e2a590a68..4566fbdb0 100644 --- a/_posts/2019-02-06-default.md +++ b/_posts/2019-02-06-elements.md @@ -1,15 +1,9 @@ --- -title: Default Article +title: Elements tags: [Markdown] style: color: -description: ---- - -This cheatsheet is specifically *Markdown Here's* version of Github-flavored Markdown. This differs slightly in styling and syntax from what Github uses, so what you see below might vary a little from what you get in a *Markdown Here* email, but it should be pretty close. - -**Reference:** [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) - +description: A list of available elements in portfolYOU and how to use them. --- ##### Table of Contents @@ -30,7 +24,6 @@ This cheatsheet is specifically *Markdown Here's* version of Github-flavored Mar [Horizontal Rule](#horizontal-rule) [Line Breaks](#line-breaks) - ## Headers ```