Skip to content

Commit

Permalink
Support page description variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nmihalyov committed Jan 31, 2022
1 parent c86bb6c commit daf3611
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ To use images in scss you can simply do it as you did before. E.g.:

E-mail: [[email protected]](mailto:[email protected])

Teleegram: [@nmihalyov](http://t.me/nmihalyov)
LinkedIn: [nmihalyov](https://linkedin.com/in/nmihalyov)

Telegram: [@nmihalyov](https://t.me/nmihalyov)

Website: [nmihalyov.tk](https://nmihalyov.tk)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pure-start",
"version": "2.0.1",
"version": "2.0.2",
"description": "Start your project with 'Pure Start' easily then ever!",
"private": "true",
"scripts": {
Expand Down
Empty file.
1 change: 1 addition & 0 deletions src/pug/layouts/main.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ doctype html
html(lang='en')
head
title #{title}
meta(name="description", content=description)
include ../utils/metas
include ../utils/links

Expand Down
2 changes: 1 addition & 1 deletion src/pug/pages/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ block content
section.container
.wrapper
h1(style="margin: 35px 0") Pure Start
sup(style="font-size: 12px") v2.0.1
sup(style="font-size: 12px") v2.0.2
h3(style="margin-bottom: 25px") Components examples

h4(style="margin-bottom: 10px") 1. Buttons
Expand Down
3 changes: 0 additions & 3 deletions src/pug/utils/metas.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ meta(charset="UTF-8")
//- viewport tag
meta(name="viewport", content="width=device-width, initial-scale=1, user-scalable=no")

//- short page description
meta(name="description", content="Page description")

//- key words
meta(name="keywords", content="page, keywords")

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Pure Start © 2017 – 2022, Nikita Mihalyov <[email protected]>
* ISC Licensed
* v2.0.1
* v2
*/

const path = require('path');
Expand Down

0 comments on commit daf3611

Please sign in to comment.