Commit Graph

217 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen 78155decfb Merge commit '9301947b25099dd402065104b340b1a480906a74' as 'themes/gohugoioTheme'
Add theme as sub tree:

git subtree add --prefix=themes/gohugoioTheme/ git@github.com:gohugoio/gohugoioTheme.git master --squash
2017-08-10 14:30:19 +02:00
Bjørn Erik Pedersen e7557a34cb Remove gohugoioTheme submodule
Will be re-added later as a Git sub tree.

See https://github.com/gohugoio/hugo/issues/3791
2017-08-10 14:25:31 +02:00
Bjørn Erik Pedersen f401d69b49 Load CSS and JS via HTTP/2 server push
See https://www.netlify.com/blog/2017/07/18/http/2-server-push-on-netlify/

```
▶ nghttp -ans https://deploy-preview-83--gohugoio.netlify.com/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +199.52ms      +1.22ms 198.30ms  200  42K /
  4   +404.60ms *   +69.97ms 334.62ms  200 102K /dist/main.css
  2   +484.93ms *   +69.63ms 415.30ms  200 131K /dist/app.bundle.js
```

Compare that to the live site:

```
▶ nghttp -ans https://gohugo.io/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +596.97ms      +2.54ms 594.43ms  200  42K /
 15   +606.87ms    +403.50ms 203.37ms  200  15K /files/muli-latin-200.woff2
 2`1   +790.39ms    +403.51ms 386.88ms  200  20K /dist/main.css
 23      +1.14s    +596.00ms 544.48ms  200  42K /dist/app.bundle.js
 19      +1.14s    +403.50ms 737.99ms  200  15K /files/muli-latin-800.woff2
 17      +1.14s    +403.50ms 738.01ms  200  15K /files/muli-latin-400.woff2
```
2017-07-24 18:05:24 +02:00
Bjørn Erik Pedersen 5e0cfaa92b Adjust Linux install 2017-07-23 21:24:55 +02:00
Bjørn Erik Pedersen 73f355ce0d Update theme 2017-07-21 09:17:01 +02:00
Bjørn Erik Pedersen 2e15f64212 Update theme 2017-07-20 18:05:27 +02:00
Bjørn Erik Pedersen 8eef09d270 Add Pygments configuration
Closes #61
2017-07-20 11:51:45 +02:00
Bjørn Erik Pedersen b92c204200 Update theme 2017-07-19 21:33:51 +02:00
budparr b9b8abef3d Update theme to reflect change to home page content 2017-07-19 09:13:14 -04:00
Bjørn Erik Pedersen d9612cb356 Update theme 2017-07-18 17:21:05 +02:00
Bjørn Erik Pedersen a8c3988a9b Update theme 2017-07-18 13:33:55 +02:00
Bjørn Erik Pedersen 4198189dac Update theme 2017-07-18 13:26:32 +02:00
Bjørn Erik Pedersen 12d6b016ee Update theme 2017-07-18 13:20:50 +02:00
Bjørn Erik Pedersen 2b1c419790 Update theme 2017-07-18 11:21:50 +02:00
budparr 96066d1bd4 Update theme to fix JS error 2017-07-17 21:21:16 +02:00
Bjørn Erik Pedersen 3f6bd8385c Add site image for Twitter card
And a proper title on the home page.
2017-07-17 17:22:56 +02:00
Bjørn Erik Pedersen 8cdaa2b63f Update theme 2017-07-16 22:30:52 +02:00
Bjørn Erik Pedersen 972f8ba227 Update theme 2017-07-16 18:19:13 +02:00
Bjørn Erik Pedersen 4e0bca2b1e Remove the needsexamples construct
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
2017-07-16 15:13:35 +02:00
Bjørn Erik Pedersen c6bf314d56 Update theme 2017-07-16 01:06:13 +02:00
Bjørn Erik Pedersen ef0564e281 Update theme 2017-07-15 22:47:46 +02:00
Bjørn Erik Pedersen 48c2b9f4c2 Fix broken links 2017-07-15 20:03:31 +02:00
Bjørn Erik Pedersen 94806d0cb6 Update theme 2017-07-15 18:48:23 +02:00
Bjørn Erik Pedersen 90ba82b4a1 Update theme 2017-07-14 20:21:59 +02:00
Bjørn Erik Pedersen 87db4be71e Remove the tags config for now
See https://github.com/gohugoio/hugoDocs/issues/32
2017-07-14 10:54:47 +02:00
Bjørn Erik Pedersen 52deebf63d next: Cleanup after the big merge 2017-07-14 08:55:51 +02:00
Ryan Watters 976c398f6a Add numfmt to functions list
Closes rdwatters/hugo-docs-concept#147
2017-06-20 11:58:48 -05:00
Bud Parr 6e3bd7020b Update theme to reflect NAV changes
See PR gohugoio/gohugoioTheme#36
2017-06-19 08:00:58 -04:00
Bud Parr d4e8ea3e63 Move the theme to the new org
* Swap out old theme for new (moved/renamed) theme

* Fix hardcoded links to theme assets

See PR rdwatters/hugo-docs-concept#143
2017-06-15 10:55:39 -05:00
Ryan Watters f96df8f2cc Remove outdated developer tools
Closes rdwatters/hugo-docs-concept#112
See PR gohugoio/hugo#3498
2017-05-30 12:26:21 -05:00
Bud Parr f2ede42abe Make minor tweaks to home page and news layout
* Move description into params + update copy

* Fix in theme for news page

See PR rdwatters/hugo-docs-concept#124
2017-05-30 12:22:51 -05:00
Bud Parr fede945dfd Add home page to hugoDocs
* Add news content

* Switch to new home page

* Move docs home page to a new page

* Switch to home page content

* Adjust global menu: remove showcase

* Remove unneeded portion of the front matter

* Remove old theme

* Update content for new theme

* Fix content to new theme

* Move layouts into theme

* Move classes to config

* [WIP] theme

* [WIP] inline critical CSS

* Add some notes on the [WIP] critical CSS feature

* Make theme changes for themes site

* Import theme updates from themes site

* [WIP] theme prev/next links

* Revert critical CSS tests
  Didn't move the needle on a 20kb (gzipped) stylesheet.
  First view speed index is 1008 without CSS.

* Not using docsnav data file

* Backdate these articles so we keep them but they don't show up on top

* Change Twitter handle to work with Hugo's internal templates
  plus a few minor clean-ups

* Update theme (change Twitter handle in Follow link)

See PR rdwatters/hugo-docs-concept#120
2017-05-28 12:57:00 -05:00
Bud Parr 7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05:00
digitalcraftsman 0094562800 Remove showcase
Thanks @digitalcraftsman さやならShowcase!

See PR rdwatters/hugo-docs-concept#110
2017-05-18 14:05:23 -05:00
Ryan Watters ac57a388df Add more 2017 tweets for homepage 2017-05-16 12:15:56 -05:00
Ryan Watters 765fd44135 Remove GH buttons to test performance change 2017-05-16 11:35:56 -05:00
Ryan Watters bc9a649195 Clean up code block for ids and classes (Second round)
Also fix issue with needsexamples.html shortcode.
2017-04-30 16:45:57 -05:00
Bud Parr 6aaf47be8a Remove the pesky .DS_store from the site and improve .gitignore
Haha, pesky indeed. Thanks @budparr

See PR rdwatters/hugo-docs-concept#96
2017-04-21 10:26:17 -05:00
Ryan Watters 21ebf481df Remove extra parentheses in GetPage function example 2017-04-20 17:14:57 -05:00
Ryan Watters d304130629 Clean up links in RSS templates 2017-04-20 12:56:48 -05:00
Ryan Watters 318a75ec33 Update homepage terminal to govendor install instructions 2017-04-14 18:10:24 -05:00
Ryan Watters 81fa0a45dc Adjust all metadata partials to use absURL and relURL 2017-04-12 13:08:56 -05:00
Ryan Watters 7ee73ffde3 Update scripts to use absURL func 2017-04-12 11:54:24 -05:00
Ryan Watters 2ea0e17bed Update incorrect titles in example front matter
Closes rdwatters/hugo-docs-concept#83
2017-04-09 18:27:27 -05:00
Ryan Watters b50796e3ac Add siba.ai to showcase 2017-04-08 11:39:56 -05:00
Ryan Watters 0902a1c08b Make toc font size less obnoxiously large 2017-04-07 18:51:56 -05:00
Ryan Watters bd40c73f29 Add datatable shortcodes and custom outputs draft
Closes rdwatters/hugo-docs-concept#77
2017-04-07 15:19:28 -05:00
Ryan Watters f9df1ed657 Change datatable shortcode to articlelistshortcode 2017-04-07 13:47:42 -05:00
Ryan Watters aa5fddd507 Change width and height of search icon in SVG dimensions 2017-04-07 12:59:28 -05:00
Ryan Watters 45bf976bcf Add Li-Wen Yip press additions to articles data file 2017-04-06 20:27:00 -05:00