Skip to content

Commit

Permalink
Big Update 2.0 (No JS Load)
Browse files Browse the repository at this point in the history
  • Loading branch information
agragregra committed Dec 17, 2016
1 parent 17940f6 commit 9565b34
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1>OptimizedHTML - Start HTML Template</h1>

<p>
<img src="http://agragregra.github.io/github-images/optimized-html-github-poster.jpg" alt="Start HTML Template">
<img src="https://raw.githubusercontent.com/agragregra/optimizedhtml-start-template/master/app/img/preview.jpg" alt="Start HTML Template">
</p>

<p>Author: <a href="http://webdesign-master.ru" target="_blank">WebDesign Master</a> | <a href="http://webdesign-master.ru/blog/tools/2016-08-19-optimizedhtml.html" target="_blank">Manual in Russian</a></p>
Expand Down Expand Up @@ -36,16 +36,12 @@
<ol>
<li>All HTML files should have similar initial content as in <strong>app/index.html</strong>;</li>
<li><strong>Template Basic Images Start</strong> comment in app/index.html - all your custom template basic images (og:image for social networking, favicons for a variety of devices);</li>
<li><strong>Load Fonts CSS Start</strong> comment in app/index.html: use <strong>loadCSS</strong> function, if the site is located in a subfolder. Use (uncomment) <strong>loadLocalStorageCSS</strong>, if the site is at the root. One of the lines should always be commented out. All fonts are connected in <strong>app/sass/fonts.sass</strong> with Bourbon;</li>
<li><strong>Custom Browsers Color Start</strong> comment in app/index.html: set the color of the browser head on a variety of devices;</li>
<li><strong>Custom HTML</strong> comment in app/index.html - all your custom HTML;</li>
<li><strong>Optimized loading JS Start</strong> comment in app/index.html: loading all scripts;</li>
<li>For installing new jQuery library, just run the command "<strong>bower i plugin-name</strong>" in the terminal. Libraries are automatically placed in the folder <strong>app/libs</strong>. Bower must be installed in the system (npm i -g bower). Then place all jQuery libraries paths in the <strong>'libs'</strong> task (gulpfile.js);</li>
<li>All custom JS located in <strong>app/js/common.js</strong>;</li>
<li>All Sass vars placed in <strong>app/sass/_vars.sass</strong>;</li>
<li>All Bootstrap media queries placed in <strong>app/sass/_media.sass</strong>;</li>
<li>All jQuery libraries CSS styles placed in <strong>app/sass/_libs.sass</strong>;</li>
<li>All basic styles (html, body, fonts, buttons, etc...) placed in <strong>app/sass/_base.sass</strong>;</li>
<li>In the file <strong>app/header.sass</strong> should be placed all styless, responsible for displaying the first screen (on the biggest screens) on all pages;</li>
<li>Rename <strong>ht.access</strong> to <strong>.htaccess</strong> before place it in your web server. This file contain rules for files caching on web server.</li>
</ol>

0 comments on commit 9565b34

Please sign in to comment.