From fba2c84924fc18ca6d892d3db3478be60881ec36 Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:01:16 -0500 Subject: [PATCH 1/7] Corrected English in description and bottom_menu name fields --- config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yml b/config.yml index 7b72322..4e78e1f 100644 --- a/config.yml +++ b/config.yml @@ -1,5 +1,5 @@ title: "Welcome to Spress" -description: "A site creted by Spress" +description: "A site created by Spress" logo: "spresso-logo.png" # Your site's domain. E.g: http://yoursite.com @@ -55,4 +55,4 @@ top_menu: - { name: Projects, url: "/projects" } bottom_menu: - - { name: "Go to Spresso theme web", url: "https://github.com/yosymfony/Spress-theme-spresso" } + - { name: "Go to the Spresso theme webpage", url: "https://github.com/yosymfony/Spress-theme-spresso" } From e58d2648b7277c85a3e920885e622d9b17c17e9c Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:01:47 -0500 Subject: [PATCH 2/7] Corrected spelling of oops in 404 file --- src/content/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/404.html b/src/content/404.html index c38e9aa..5983681 100644 --- a/src/content/404.html +++ b/src/content/404.html @@ -2,7 +2,7 @@ layout: "default" ---

Looks like that page doesn't exist. From ed896238be69980d2e574de4ac8a8fbb9c2a670a Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:03:05 -0500 Subject: [PATCH 3/7] Changed 'no posts' language and title language --- src/content/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/index.html b/src/content/index.html index 2df88de..882125e 100644 --- a/src/content/index.html +++ b/src/content/index.html @@ -1,6 +1,6 @@ --- layout: "page" -title: "Welcome Spresso theme" +title: "Welcome to the Spresso theme!" list_mode: false generator: "pagination" @@ -16,7 +16,7 @@

Blog posts

{% include "posts-list.html" with { posts: site.posts } %} {% if site.posts | length < 1 %} -

Until now, there is no posts. :(

+

There are no posts yet. :(

{% endif %} {% else %} {% for post in page.pagination.items %} @@ -25,7 +25,7 @@

Blog posts

-

Until now, there is no posts. :(

+

There are no posts yet. :(

{% endfor %} {% endif %} From 5125116e193cd50d14d71c224f526eb100b8c0e8 Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:04:04 -0500 Subject: [PATCH 4/7] Added punctuation to syntax-highlighting, reworded Buttons --- src/content/posts/2014-01-18-sample-post.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/posts/2014-01-18-sample-post.md b/src/content/posts/2014-01-18-sample-post.md index 248bfdb..9f71ca3 100644 --- a/src/content/posts/2014-01-18-sample-post.md +++ b/src/content/posts/2014-01-18-sample-post.md @@ -62,11 +62,11 @@ HTML and CSS are our tools. Mauris a Syntax highlighting via [Highlight.js](http://highlightjs.org/):
-

This is great isn't it?

+

This is great, isn't it?

## Buttons -Make any link standout more when applying the `.btn` and `.btn-default` classes. +Make any link stand out by applying the `.btn` and `.btn-default` classes.
This is a button
From dab48743d55c9c211b40cfa878e7fb909d25e452 Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:05:31 -0500 Subject: [PATCH 5/7] Corrected improper verb tense and preposition use --- src/content/posts/2015-07-26-welcome-to-spress.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/posts/2015-07-26-welcome-to-spress.md b/src/content/posts/2015-07-26-welcome-to-spress.md index a23ff52..1f93b92 100644 --- a/src/content/posts/2015-07-26-welcome-to-spress.md +++ b/src/content/posts/2015-07-26-welcome-to-spress.md @@ -4,8 +4,8 @@ title: "Welcome to Spress" categories: [] tags: ["sample post", "posts"] --- -To create a new post, simply runs `spress new:post` command or adds a file -in the `./src/content/posts` folder that follows the convention `YYYY-MM-DD-name-of-post.md`. +To create a new post, simply run the `spress new:post` command or add a file +to the `./src/content/posts` folder that follows the convention `YYYY-MM-DD-name-of-post.md`. More information about Spress: From 428e84ad091e516e0f72a01d4c8744cc75568546 Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 20:07:33 -0500 Subject: [PATCH 6/7] Gave project files a consistent format --- src/content/projects/config-loader.md | 13 ++++++------- src/content/projects/http-server-php.md | 21 ++++++++++++--------- src/content/projects/toml-parser-php.md | 8 ++++---- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/content/projects/config-loader.md b/src/content/projects/config-loader.md index 05bf912..e8fd95c 100644 --- a/src/content/projects/config-loader.md +++ b/src/content/projects/config-loader.md @@ -9,20 +9,19 @@ A configuration loader with support for YAML, TOML (0.4.0) and JSON. [![Build Status](https://travis-ci.org/yosymfony/Config-loader.png?branch=master)](https://travis-ci.org/yosymfony/Config-loader) [![Latest Stable Version](https://poser.pugx.org/yosymfony/config-loader/v/stable.png)](https://packagist.org/packages/yosymfony/config-loader) +[![Total Downloads](https://poser.pugx.org/yosymfony/Config-loader/downloads.png)](https://packagist.org/packages/yosymfony/toml) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yosymfony/Config-loader/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yosymfony/Config-loader/?branch=master) -Installation ------------- +### Installation -Use [Composer](http://getcomposer.org/) to install Config-loader package: +Use [Composer](http://getcomposer.org/) to install the Yosymfony Config-loader package: -Add the following to your `composer.json` and run `composer update`. +Add the following to your `composer.json` file and run `composer update`. -```json +``` "require": { "yosymfony/config-loader": "1.3.*" } ``` -More informations about the package on -[Packagist](https://packagist.org/packages/yosymfony/config-loader). +More information about the package can be found on [Packagist](https://packagist.org/packages/yosymfony/config-loader). diff --git a/src/content/projects/http-server-php.md b/src/content/projects/http-server-php.md index 24fb74c..90a7af0 100644 --- a/src/content/projects/http-server-php.md +++ b/src/content/projects/http-server-php.md @@ -5,18 +5,21 @@ description: "A simple HTTP server for PHP." --- ## A simple HTTP server for PHP. -HttpServer is a simple HTTP server powerd [REACT](http://reactphp.org/). +HttpServer is a simple HTTP server powered by [ReactPHP](http://reactphp.org/). [![Build Status](https://travis-ci.org/yosymfony/HttpServer.svg?branch=master)](https://travis-ci.org/yosymfony/HttpServer) +[![Latest Stable Version](https://poser.pugx.org/yosymfony/HttpServer/v/stable.png)](https://packagist.org/packages/yosymfony/toml) +[![Total Downloads](https://poser.pugx.org/yosymfony/HttpServer/downloads.png)](https://packagist.org/packages/yosymfony/toml) -## Installation +### Installation -Use [Composer](http://getcomposer.org/) to install Yosyfmony HttpServer package: +Use [Composer](http://getcomposer.org/) to install the Yosyfmony HttpServer package: -Add the following to your `composer.json` and run `composer update`. +Add the following to your `composer.json` file and run `composer update`. - "require": { - "yosymfony/httpserverl": "1.2.*" - } - -More information about the package on [Packagist](https://packagist.org/packages/yosymfony/httpserver). +``` +"require": { + "yosymfony/httpserverl": "1.2.*" +} +``` +More information about the package can be found on [Packagist](https://packagist.org/packages/yosymfony/httpserver). diff --git a/src/content/projects/toml-parser-php.md b/src/content/projects/toml-parser-php.md index c3870ee..f9d0e8c 100644 --- a/src/content/projects/toml-parser-php.md +++ b/src/content/projects/toml-parser-php.md @@ -13,14 +13,14 @@ A PHP parser for TOML compatible with TOML v0.4.0. ### Installation -Use [Composer](http://getcomposer.org/) to install Yosyfmony Toml package: +Use [Composer](http://getcomposer.org/) to install the Yosyfmony Toml package: -Add the following to your `composer.json` and run `composer update`. +Add the following to your `composer.json` file and run `composer update`. -```json +``` "require": { "yosymfony/toml": "0.3.*" } ``` -More informations about the package on [Packagist](https://packagist.org/packages/yosymfony/toml). +More information about the package can be found on [Packagist](https://packagist.org/packages/yosymfony/toml). From 70a765d881058fcff2e080936b8eb808ed2f5997 Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Mon, 22 May 2017 21:11:51 -0500 Subject: [PATCH 7/7] Updated some English and shifted features block closer to the top of the readme. --- README.md | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index c67ee43..f0e1600 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,22 @@ Spresso is a simple theme for **[Spress](http://spress.yosymfony.com)** based on Bootstrap 3. The content is organized in one central column. -See a [demo](http://yosymfony.github.io/Spress-example/). - ![Spresso theme preview](/screenshot.png) +### Features: + +* Responsive design: Supports mobile and tablets. +* Disqus comments on your posts. +* Support for [Twitter Cards](https://dev.twitter.com/docs/cards) and [Facebook Open Graph](https://developers.facebook.com/docs/opengraph/). +* Top and bottom menu. +* Social network links in the footer. +* Support for Google and Bing site validation. +* Code snippet highlighting with [Highlight.js](http://highlightjs.org/) +* Iconic font by [Fort Awesome](http://fortawesome.github.io/Font-Awesome). +* Sitemap and RSS feed. + +See a live [demo](http://yosymfony.github.io/Spress-example/)! + ## Installation You can create a [site based on Spresso](#creating-a-new-site-based-on-this-theme-creating-site) or install this one as a theme of a [pre-existing site](#install-as-a-theme-of-pre-existing-site-pre-existing). @@ -16,8 +28,7 @@ or install this one as a theme of a [pre-existing site](#install-as-a-theme-of-p ### Creating a new site based on this theme -Performs the following command and Spresso theme will be -installed in `mysite` folder: +Perform the following command and the Spresso theme will be installed in `mysite` folder: ```bash $ spress new:site mysite spress/spress-theme-spresso @@ -25,46 +36,34 @@ $ spress new:site mysite spress/spress-theme-spresso ### Install as a theme of an pre-existing site -Go to your site folder and performs the following command: +Go to your site folder and input the following command: ```bash $ spress add:plugin spress/spress-theme-spresso ``` -And add this line to the `config.yml` file of your site: +Then, add the following line to the `config.yml` file of your site: ```yaml themes: name: spress/spress-theme-spresso ``` -### How to update? +### Updating the theme -You can get the latest version of Spresso theme with just run the following command: +You can get the latest version of the Spresso theme by running the following command: ```bash $ spress update:plugin ``` -### Features: - -* Responsive design: Support to mobile and tablets. -* Disqus comments on your posts. -* Support to [Twitter Cards](https://dev.twitter.com/docs/cards) and [Facebook Open Graph](https://developers.facebook.com/docs/opengraph/). -* Top and bottom menu. -* Social networks link at the footer. -* Support to Google and Bing site validation. -* Code snippets highlight. -* Iconic font by [Fort Awesome](http://fortawesome.github.io/Font-Awesome). -* Sitemap and RSS feed. - -### How to use? +### Using the theme This theme has support for [Spress themes](http://spress.yosymfony.com/docs/themes/). This feature is new in version 2.2.0 #### Menus -Spresso support top and bottom menus. To configure, you can edit +The Spresso theme supports both top and bottom menus. To configure, you can edit the `top_menu` and `bottom_menu` options from the `config.yml`: ```yaml @@ -82,12 +81,14 @@ bottom_menu: #### Comments Comments are powered by [Disqus](disqus.com). This feature needs a -**disqus shortname**. To get it, you need create a account at this service. +**disqus shortname**. To get it, you need to create a account at this service. It's free. You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208). -To enable it, set to `true` the option `enabled` and set your disqus shortname -in the `config.yml` of your site: + +To enable comments, edit the `config.yml` of your site. +Set the `enabled` option to `true` and set your disqus shortname. + ```yaml # Comments in posts