• Stars
    star
    721
  • Rank 62,540 (Top 2 %)
  • Language
    JavaScript
  • Created about 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OptimizedHTML is all-inclusive, optimized for Google PageSpeed start HTML5 template with Bootstrap (grid only), Gulp, Sass, Browsersync, Autoprefixer, PostCSS, Uglify, gulp-imagemin, Vinyl-FTP (+Rsync) and Bower (libs path) support. The template contains a .htaccess file with caching rules for web server.

OptimizedHTML - Start HTML Template

Start HTML Template

Author: WebDesign Master | Manual

OptimizedHTML is all-inclusive, optimized for Google PageSpeed start HTML5 template with Bootstrap (grid only), Gulp, Sass, Browsersync, Autoprefixer, PostCSS, Uglify, gulp-imagemin, Vinyl-FTP, rsync and Bower (libs path) support. The template contains a .htaccess file with caching rules for web server.

OptimizedHTML Start Template uses the best practices of web development and optimized for Google PageSpeed.

The template uses a Sass with Sass syntax and project structure with source code in the directory app/ and production folder dist/, that contains ready project with optimized HTML, CSS, JS and images.

How to use OptimizedHTML

  1. Download optimizedhtml-start-template from GitHub
  2. Install WSL (for Windows): https://webdesign-master.ru/blog/tools/wsl-nodejs-new.html
  3. Install Node Modules in project folder: npm i
  4. Run the template: gulp

Gulp tasks:

  • gulp: run default gulp task (sass, js, watch, browserSync) for web development;
  • build: build project to dist folder (cleanup, image optimize, removing unnecessary files);
  • deploy: project deployment on the server from dist folder via FTP;
  • rsync: project deployment on the server from dist folder via RSYNC;
  • clearcache: clear all gulp cache.

Rules for working with the starting HTML template

  1. All HTML files should have similar initial content as in app/index.html;
  2. For installing new JS library, just run the command "bower i plugin-name" in the terminal. Libraries are automatically placed in the folder app/libs. Bower must be installed in the system (npm i -g bower). Then place all JS libraries paths in the js() task (gulpfile.js);
  3. All custom JS located in app/js/common.js;
  4. All Sass vars placed in app/sass/_vars.sass;
  5. All Fonts placed in app/sass/_fonts.sass with "_mixins/font-face" mixin
  6. All Bootstrap media queries placed in app/sass/_media.sass;
  7. All JS libraries CSS styles placed in app/sass/_libs.sass;

More Repositories

1

OptimizedHTML-5

OptimizedHTML 5 – Lightweight production-ready Gulp starter.
JavaScript
574
star
2

start_html

Стартовые шаблоны для адаптивной вёрстки сайтов
Sass
574
star
3

OptimizedHTML-4

OptimizedHTML 4: Startup HTML template based on Gulp & Bootstrap 4
SCSS
470
star
4

uniMail

Universal PHP Mail Feedback Script
PHP
413
star
5

gulp-beginners

Gulp для самых маленьких - подробное руководство
JavaScript
198
star
6

Brazzers-Carousel-Repo

Brazzers Carousel jQuery Plugin
HTML
124
star
7

Simple-Starter

Simple Starter for HTML Coding.
CSS
95
star
8

Simple-Gulp-Start

Simple Gulp Start Template (Sass, Browsersync, Uglify, cleanCSS, Autoprefixer)
JavaScript
79
star
9

WinterCMS-Gulp-Starter

Gulp Starter for Winter CMS Theme Development
JavaScript
73
star
10

agragregra.github.com

Aleksey Klimanov
JavaScript
43
star
11

gulp-4-lesson

Gulp 4 Lesson Reference
JavaScript
30
star
12

create-lp-design

Create Landing Page Design
16
star
13

Gulp-Image-Compressor

Best Image Compressor for Google PageSpeed with Save Folder Structure (Gulp)
JavaScript
15
star
14

javascript-3d-tilt-animation

Sass
7
star
15

OptimizedHTML-TW

OptimizedHTML TW – Lightweight production-ready Gulp starter with Tailwind
HTML
6
star
16

css-gallery

SCSS
5
star
17

css-grid-real-example

Sass
5
star
18

ovk

Sass
5
star
19

css-animation

Sass
5
star
20

compressor

Image Compressor
JavaScript
4
star
21

sass

CSS
4
star
22

bootstrap-grid-examples

SCSS
4
star
23

html-timeline

SCSS
4
star
24

djedai-verstki-5

Sass
4
star
25

parcel-starter

Lightweight Parcel Starter
Sass
4
star
26

parcel-tailwind

Lightweight Parcel Template with Tailwind
HTML
2
star
27

references-dj6

JavaScript
2
star
28

parcel-namer-beautify

Parcel - Keep folder structure & Remove hash
JavaScript
1
star