https://github.com/gohypernet/protocol-website
https://github.com/gohypernet/protocol-website
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gohypernet/protocol-website
- Owner: GoHypernet
- Created: 2021-08-03T19:30:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-03T21:15:15.000Z (almost 5 years ago)
- Last Synced: 2025-03-13T02:41:55.792Z (over 1 year ago)
- Language: HTML
- Size: 20.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Hypernet Protocol Website
-
gulp: run default gulp task (sass, js, watch, browserSync) for web development; -
rsync: project deployment on the server from dist folder via RSYNC;
OptimizedHTML is all-inclusive start HTML5 template with Bootstrap 4 (grid & reboot), Gulp, Sass, Browsersync, Autoprefixer, Clean-CSS, Uglify, Rsync and Bower (libs path) support. The template contains a .htaccess file with caching rules for web server.
OptimizedHTML 4 Start Template uses the best practices of web development.
Cross-browser compatibility: IE9+.
The template uses a Sass with Sass or Scss syntax (optional).
How to use OptimizedHTML
-
Download OptimizedHTML 4 from GitHub; - Install Node Modules: yarn;
- Run the template: gulp.
Gulp tasks:
-
gulp: run default gulp task (sass, js, watch, browserSync) for web development; -
rsync: project deployment on the server from dist folder via RSYNC;
Rules for working with the starting HTML template
- All HTML files should have similar initial content as in app/index.html;
-
Template Basic Images Start comment in app/index.html - all your custom template basic images (og:image for social networking, favicons for a variety of devices); -
Custom Browsers Color Start comment in app/index.html: set the color of the browser head on a variety of devices; -
Custom HTML comment in app/index.html - all your custom HTML; - For installing new jQuery 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 jQuery libraries paths in the 'libs' task (gulpfile.js);
- All custom JS located in app/js/common.js;
- All Sass vars placed in app/sass/_vars.sass;
- All Bootstrap media queries placed in app/sass/_media.sass;
- All libraries CSS styles placed in app/sass/_libs.sass;
- Rename ht.access to .htaccess before place it in your web server. This file contain rules for files caching on web server.