Skip to content

Commit

Permalink
Fixed netlify deployment issue with bundler. Closes #6
Browse files Browse the repository at this point in the history
Typography improvments
Fixed pagination styles
README files updates
  • Loading branch information
ahmadajmi committed Aug 15, 2019
1 parent 54484d7 commit 8ba668a
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 46 deletions.
5 changes: 1 addition & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,4 @@ DEPENDENCIES
bundler
jekyll
jekyll-paginate
jekyll-tagging

BUNDLED WITH
2.0.2
jekyll-tagging
52 changes: 19 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# Type
# Type: Minimal and Clean Free Jekyll Theme

Minimal and Clean Jekyll Theme.
<img alt="Type: Minimal and Clean Free Jekyll Theme" src="https://user-images.githubusercontent.com/626005/63093493-c3daa880-bf65-11e9-860e-da88047cce24.png">

---

* [Configurations](#configurations)
* [Deployment](#deployment)
* [Posts](#posts)
* [Pages](#pages)
* [Navigation](#navigation)
* [Disqus Comments](#disqus-comments)
* [Google Analytics](#google-analytics)
* [Social Media Links](#social-media-links)
* [Update favicon](#update-favicon)

---
- [Configurations](#configurations)
- [Deployment](#deployment)
- [Posts](#posts)
- [Pages](#pages)
- [Navigation](#navigation)
- [Disqus Comments](#disqus-comments)
- [Google Analytics](#google-analytics)
- [Social Media Links](#social-media-links)
- [Update favicon](#update-favicon)

### Configurations

Maxima theme comes with different customizations in the `_config.yml` file:
Type theme comes with different customizations in the `_config.yml` file:

```sh
title: Type
Expand Down Expand Up @@ -63,21 +59,17 @@ defaults:
permalink: /:basename:output_ext
```

---

### Deployment

To run the theme locally, navigate to the theme directory and run `bundle install` to install the dependencies, then run `jekyll serve` to start the Jekyll server.

I would recommend checking the [Deployment Methods](https://jekyllrb.com/docs/deployment-methods/) page on Jekyll website.

---

### Posts

To create a new post, you can create a new markdown file inside the `_posts` directory by following the [recommended file structure](https://jekyllrb.com/docs/posts/#creating-post-files).

The following is a post file with different configurations you can add as example:
The following is a post file with different configurations you can add as an example:

```sh
---
Expand All @@ -91,7 +83,7 @@ image: '/images/welcome.jpg'

You can set the author, featured or not, tags, and the post image.

The `featured` key is to mark the post as a featured post, this will add a simple star icon (*) to the post card.
The `featured` key is to mark the post as a featured post, this will add a simple star icon (*) to the postcard.

To keep things more organized, add post images to **/images/pages** directory, and add page images to **/images/pages** directory.

Expand All @@ -104,8 +96,6 @@ Note that tags are not working with GitHub Pages, that's because the used [jekyl

To make this work, I use [Netlify.com](https://www.netlify.com/) for deployment.

---

### Pages

To create a new page, just create a new markdown file inside the `_pages` directory.
Expand All @@ -122,14 +112,11 @@ image: '/images/pages/about.jpeg'

Things you can change are: `title` and `image` path.

---

### Navigation

The navigation on the sidebar will automatically include all the links to the pages you have created.

---

### Disqus Comments

Maxima Theme comes with Disqus comments enabled.
Expand All @@ -150,8 +137,6 @@ That's all you need to setup Disqus from the theme side. If you get any issue re

And also check [Disqus troubleshooting guide](https://help.disqus.com/customer/portal/articles/472007-i-m-receiving-the-message-%22we-were-unable-to-load-disqus-%22) if you still have issues.

---

### Google Analytics

To integrate Google Analytics, open `_includes/analytics.html`, and add your Google Analytics code.
Expand Down Expand Up @@ -216,12 +201,13 @@ Youtube
<span data-icon='ei-sc-youtube' data-size='s'></span>
```

---

### Update favicon

You can find the current favicon (favicon.ico) inside the theme root directory, just replace it with your new favicon.

---

👉 Visit [aspirehemes.com](http://aspirethemes.com) for more Jekyll, Ghost, and WordPress themes.
### Aspire Themes

👉 Visit [aspirethemes.com](http://aspirethemes.com) for more Jekyll, Ghost, and WordPress themes.

<img alt="Aspire Themes" src="https://user-images.githubusercontent.com/626005/63092640-afe17780-bf62-11e9-9ea9-546489bb282c.png">
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ facebook: ''

markdown: kramdown
permalink: pretty
paginate: 60
paginate: 10

sass:
style: compressed

gems:
plugins:
- jekyll-paginate
- jekyll/tagging

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ tags: [frontpage, jekyll, blog]
image: '/images/posts/8.jpg'
---

Lorem ipsum dolor sit amet, vix ut case porro facilisis, alia possit neglegentur vis te. Has cu eirmod abhorreant, vel civibus efficiantur cu. Eu summo elitr vix, iusto putant maluisset per ut, ne etiam vivendum adipisci vel. Vis omnis tempor accusam ei, justo perpetua liberavisse cu qui. Saperet aliquando adipiscing ius ne, ne facer euripidis est. Pro mundi nostrum suavitate et.
I can remember about 4 years ago, I started to make HTML templates for ThemeForest. Unfortunately, I failed to pass the quality stage and I was not getting enough feedback from them. I was getting a general sentence saying that my item is not ready yet and the design quality is not unique enough.

Vix dico eius nominati cu, ex zril commodo fuisset mea. Habeo adhuc audiam ius no. In quis virtute officiis has. Vix ad honestatis accommodare, quis virtute et sit, pertinax expetenda eam id. Duo an fuisset delectus dissentias, justo altera ea per.
Fortunately, I succeed this time I have leaned and done things I have never done before that keeps me learn new stuff every single day and I want to share with you some tips about starting your own business creating themes like WordPress, Ghost, or Jekyll. I think these tips will work with any online business not only for themes.

##### Todo
### Todo

Duis id ante elit. Aliquam quis tellus id orci eleifend finibus. Donec consequat justo ligula, eget sodales purus hendrerit at.

Expand All @@ -18,7 +18,7 @@ Duis id ante elit. Aliquam quis tellus id orci eleifend finibus. Donec consequat
Donec nibh massa, rutrum a sollicitudin eu,
lacinia in lorem.

##### Graphic design
### Graphic design

> Graphic design is the paradise of individuality, eccentricity, heresy, abnormality, hobbies, and humors. - George Santayana
Expand Down
5 changes: 5 additions & 0 deletions _sass/components/_post-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
font-size: $font-size-base;
font-weight: $font-weight-bold;
transition: $global-transition;

@include mq($from: tablet) {
font-size: double($font-size-small);
}
}

&__excerpt {
Expand All @@ -33,6 +37,7 @@
color: $color-gray;
direction: ltr;
font-size: $font-size-tiny;
font-weight: $font-weight-bold;
line-height: $line-height-small;
text-transform: uppercase;
}
Expand Down
2 changes: 1 addition & 1 deletion _sass/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

@include mq($from: tablet) {
font-size: double($font-size-small);
line-height: double($line-height-medium);
}
}

Expand All @@ -23,6 +22,7 @@
text-align: center;
margin-bottom: $base-spacing-unit;
font-size: $font-size-small;
font-weight: $font-weight-bold;
line-height: $line-height-small;
color: $color-gray;

Expand Down
2 changes: 1 addition & 1 deletion _sass/elements/__all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Elements
// *----------------------------------*/

@import 'page';
@import 'body';
@import 'fonts';
@import 'links';
@import 'image';
Expand Down
1 change: 0 additions & 1 deletion _sass/elements/_page.scss → _sass/elements/_body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ body {
color: $color-text;
font-size: $font-size-base;
font-family: $font-base;
font-weight: $font-weight-light;
line-height: $line-height-base;

-webkit-font-smoothing: antialiased;
Expand Down
2 changes: 2 additions & 0 deletions _sass/objects/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $grid-gutter: $base-spacing-unit;

.o-grid {
margin: 0 auto;
display: flex;
flex-wrap: wrap;
max-width: $grid-width;

@include clearfix();
Expand Down
Binary file modified images/posts/8.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8ba668a

Please sign in to comment.