Skip to content

Commit

Permalink
1.2.1 - Addressed Issue RyanFitzgerald#30 & other small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanFitzgerald committed Aug 27, 2017
1 parent 254f537 commit 8217874
Show file tree
Hide file tree
Showing 8 changed files with 3,071 additions and 24 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,23 @@ If you want to hide some projects by default, you can throw them in an additiona

This will add a link that says "View More Projects" under the current projects and when clicked, all projects in the "More-projects" div will be shown. This is optional functionality and isn't provided by default. It is important that you keep the wrapping div ID intact ("#more-projects") as well as the anchor ID ("#view-more-projects"), however the contents of the div and the anchor text itself can be edited however you like.

#### Projects without images

If you do not wish to have a project image associated with a project, you can simply add `no-image` as an additional class to the project. It would look like the following:

```HTML
<div class="project no-image">
<div class="project-info">
<h3>Project Name Here</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur in iaculis ex.
</p>
<a href="#">View Project</a>
</div>
<!-- End .project-info -->
</div>
```

### Skills Section

The Skills section is simply an unordered list that spits out a "Skill Cloud" with all the skills listed. To add / remove skills, simply edit or add list elements, like so:
Expand Down Expand Up @@ -246,7 +263,7 @@ The Footer contains an optional copyright where you can place your name as well

### Optional Sections

The template comes with an optional section that can be added to the page markup to list things like Certifications, Hobbies, and more (Note: these are not included by default). The markup for the additional optional section is as follow:
The template comes with an optional section that can be added to the page markup to list things like Certifications, Hobbies, and more (Note: these are not included by default). The markup for the additional optional section is as follows:

```HTML
<div class="optional-section background-alt">
Expand Down Expand Up @@ -281,6 +298,11 @@ The optional section blocks have styling for h3 (the block title), h4, p, and ul

## Changelog

### 1.2.1

* Updated dependencies and gulpfile
* Added `no-image` optional class for projects without images (see above for usage)

### 1.2.0

* Added support for optional "Show More Projects" that hides some projects by default if included
Expand Down
6 changes: 3 additions & 3 deletions css/styles.css

Large diffs are not rendered by default.

21 changes: 9 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var gulp = require('gulp');
var plumber = require('gulp-plumber');
var uglify = require('gulp-uglify');
var sass = require('gulp-sass');
var wait = require('gulp-wait');
var rename = require('gulp-rename');
var autoprefixer = require('gulp-autoprefixer');

Expand All @@ -14,23 +15,19 @@ gulp.task('scripts', function() {
}
})))
.pipe(uglify({
preserveComments: 'license'
output: {
comments: '/^!/'
}
}))
.pipe(rename({extname: '.min.js'}))
.pipe(gulp.dest('js'));
});

gulp.task('styles', function() {
return gulp.src('scss/styles.scss')
.pipe(plumber(plumber({
errorHandler: function (err) {
console.log(err);
this.emit('end');
}
})))
.pipe(sass({outputStyle: 'compressed'}))
.pipe(autoprefixer())
.pipe(gulp.dest('css'));
gulp.task('styles', function () {
return gulp.src('./scss/styles.scss')
.pipe(wait(250))
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(gulp.dest('./css'));
});

gulp.task('watch', ['scripts', 'styles'], function() {
Expand Down
4 changes: 2 additions & 2 deletions js/scripts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
Title: Dev Portfolio Template
Version: 1.2.0
Last Change: 05/20/17
Version: 1.2.1
Last Change: 08/27/2017
Author: Ryan Fitzgerald
Repo: https://github.com/RyanFitzgerald/devportfolio-template
Issues: https://github.com/RyanFitzgerald/devportfolio-template/issues
Expand Down
4 changes: 2 additions & 2 deletions js/scripts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8217874

Please sign in to comment.