mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 16:31:14 +00:00
88ec7d88d1
Organize CSS and Javascript files into directories, separating vendor source code from home-grown. Separate new properties and selectors in Bootstrap CSS (already edited for Hugo) from: 1. Original property values; and 2. Changed property values. For the home page: 1. Clarify the English text; 2. Add some element names to classes in CSS selectors (to speed loading); 3. Document the Owl Carousel and Highlight.js versions; 4. Add Owl Carousel's license; 5. Restore HTML comments to browser source views; 6. Make the beginning GitHub button transparent on focus (like the others); 7. For the final, colored Twitter and Github buttons: a. Remove the dotted box on focus; and b. Color them green on active. 8. To increase (layout/) source readability: a. Place `class` attributes before `href` attributes; b. In `class` attributes, place more-specific class names before less-specific; and c. Comment the beginnings and ends of Bootstrap rows. 9. To increase understandability during development: a. Document the meaning of CSS file, `HPstyles` by renaming it to `home-page-style`; b. Move inline styling to CSS stylesheets; c. Separate @media queries to a file; d. Separate the inline Owl Carousel custom Javascript to a file; e. Use regular Owl Carousel CSS files instead of minified ones; and f. Rename the wide, landscape desk background image filename from `desk-long` to `desk-wide`.
54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<div class="row">
|
|
<div class="footer-panel">
|
|
<p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}
|
|
<span style="float: right;">Hugo v{{ .Hugo.Version }} documentation</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1">
|
|
{{ if .IsPage }}
|
|
{{ with .GetParam "next" }}
|
|
<a class="navigation next" href="{{.}}">
|
|
<i class="fa fa-angle-right"> </i>
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
<!-- page start-->
|
|
</section>
|
|
</section>
|
|
<!--main content end-->
|
|
</section>
|
|
<!-- container section end -->
|
|
|
|
<!-- javascripts -->
|
|
<script type="text/javascript" src="/vendor/jquery/js/jquery-2.1.4.min.js"></script>
|
|
<script type="text/javascript" src="/vendor/flesler/js/jquery.scrollTo.min.js"></script>
|
|
<script type="text/javascript" src="/vendor/twitter/js/bootstrap.min.js"></script>
|
|
<!--custom script for all page-->
|
|
<script type="text/javascript" src="/vendor/highlightjs/js/highlight.pack.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
<script src="/js/scripts.js"></script>
|
|
<!-- Algolia search -->
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
|
|
<script type="text/javascript">
|
|
docsearch({
|
|
apiKey: '167e7998590aebda7f9fedcf86bc4a55',
|
|
indexName: 'hugodocs',
|
|
inputSelector: '#search-input',
|
|
algoliaOptions: {
|
|
hitsPerPage: 5
|
|
}
|
|
});
|
|
</script>
|
|
<!-- Google Analytics -->
|
|
{{ template "partials/analytics.html" . }}
|
|
</body>
|
|
</html>
|