README.md in jekyll-theme-hamilton-2.0.0 vs README.md in jekyll-theme-hamilton-3.0.0

- old
+ new

@@ -30,11 +30,10 @@ - [Installation](#installation) - [Configuration](#configuration) - [Optional Parameters](#optional-parameters) - [Archive Pages](#archive-pages) - [MathJax](#mathjax) -- [Images](#images) - [Customization](#customization) - [Metadata](#metadata) - [Navigation](#navigation) - [Social Media](#social-media) - [Skins](#skins) @@ -84,11 +83,11 @@ | `author` | string | The name of the author of the site; It would be showed in the copyright statement. | | `avatar` | string | The avatar of the author of the site. | | `email` | string | The email of the author of the site. | | `skin` | string | The skin name. See more information on the [Customization](#customization) section. | | `lang` | string | The language of the site; The default value is `en`. | -| `paginate` | int | The number of posts on each page. To enable pagination, you must use a third-party plugin, e.g. [`jekyll-paginate`](https://github.com/jekyll/jekyll-paginate), [`jekyll-paginate-v2`](https://github.com/sverrirs/jekyll-paginate-v2), or [`jekyll-pagination`](https://github.com/prometheus-ev/jekyll-pagination). | +| `paginate` | int | The number of posts on each page. | | `date_format` | string | The date format; The default value is `%b %-d, %Y`. | ## Archive Pages Hamilton implements some archive templates in pure Liquid. For example, if you want to create a category archive page, set the below parameters on that page: @@ -114,33 +113,9 @@ ``` ## MathJax You can enable MathJax on each post or page, just set `math: true` on that page. - -## Images - -Hamilton provides a template [`image.html`](_includes/image.html) to let you import images on each post through an elegant way. For example, - -```liquid -{% include image.html src="the/path/to/the/image" %} -``` - -By default, the alignment of the image is center, but you can configure the alignment to left or right by passing a parameter `align`, for example, - -```liquid -{% include image.html src="the/path/to/the/image" align="left" %} -``` - -You can also configure the width and height of the image, - -```liquid -{% include image.html src="the/path/to/the/image" width="50%" height="128px" %} -``` - -Besides, you can pass the `caption` parameter to the include, then it will wrap the `img` with a `figure` block; alternatively, you can pass the `alt` parameter to the include. - -If you feel that passing a long path to the image to the include is ugly and wasting time, you can replace the `src` parameter with the `name` parameter, which is just the name of the image, and by default, the path would be `assets/img/posts/{{ page.title | slugify}}/{{ include.name }}`. ## Customization ### Metadata