Commit Graph
6395 Commits
Author SHA1 Message Date
Ryan Watters 90d7bfedd0 Make further improvements to content organization page 2017-03-05 00:05:53 -06:00
Ryan Watters 4b2d20fc7b Finalize types page under content organization 2017-03-04 17:38:31 -06:00
Bjørn Erik Pedersen e52e2a70e5 hugolib, target: Rework/move the target package
This relates to #3123.

The interfaces and types in `target` made sense at some point, but now this package is too restricted to a hardcoded set of media types.

The overall current logic:

* Create a file path based on some `Translator` with some hardcoded logic handling uglyURLs, hardcoded html suffix etc.
* In in some cases (alias), a template is applied to create the alias file.
* Then the content is written to destination.

One could argue that it is the last bullet that is the actual core responsibility.

This commit fixes that by moving the `hugolib`-related logic where it belong, and simplify the code, i.e. remove the abstractions.

This code will most certainly evolve once we start on #3123, but now it is at least possible to understand where to start.

Fixes #3123
2017-03-04 23:33:35 +01:00
Bjørn Erik Pedersen ea165bf9e7 vendor: Update cast 2017-03-04 23:19:19 +01:00
Ryan Watters 1a0f38ad74 Update homepage partials structure for easier management 2017-03-04 15:35:21 -06:00
Ryan Watters 2e66935987 Add descriptions to features section 2017-03-04 14:59:23 -06:00
Anton Staaf 22c89dcb6c hugolib: Fix HugoSites.createMissingPages
Previously it would only check for existing KindTaxonomyTerm pages
if the taxonomy had any terms defined.  So for a taxonomy with no terms
but a taxonomy terms page it would generate a second empty terms page.
2017-03-04 21:37:52 +01:00
Ryan Watters 6db2087eda Add fadeindown for homepage menu 2017-03-04 03:29:08 -06:00
Ryan Watters 4c446c6aae Remove call to homepage stylesheet in site-style.html 2017-03-04 03:20:58 -06:00
Ryan Watters b45c4b3a98 Update homepage features data file 2017-03-04 03:09:28 -06:00
Ryan Watters eb0e7580f2 Add download button back to code block shortcode 2017-03-04 03:02:00 -06:00
Ryan Watters 8d4584c970 Fix bottom margin in global nav 2017-03-04 02:50:06 -06:00
Ryan Watters 5cb9f6865a Add twitter row and dummy text for homepage features 2017-03-04 02:43:37 -06:00
Ryan Watters 1b7b1f4fcd Fix eye blinking animation on homepage 2017-03-04 00:22:30 -06:00
Ryan Watters 4677cbec67 Add animations to homepage gopher badget and cape 2017-03-04 00:13:22 -06:00
Ryan Watters 29c1c9aa62 Fix typo on homepage 2017-03-03 19:24:58 -06:00
Ryan Watters e7a9b447c9 Add first version of adddate to functions 2017-03-03 19:20:50 -06:00
Ryan Watters 144cc8ee04 Add format and full date format explanation to functions 2017-03-03 18:33:37 -06:00
Ryan Watters 78d55aece1 Copy tweaks to homepage 2017-03-03 13:02:55 -06:00
Ryan Watters fe211e9d95 Fix phrasing on home page to make it more relevant to visuals 2017-03-03 03:09:07 -06:00
Ryan Watters 7fb86c2953 Fix phrasing on home page 2017-03-03 03:03:54 -06:00
Ryan Watters fd062680e3 Add new article to news 2017-03-03 02:53:54 -06:00
Josh Habdas 4de48b5bb9 docs: Add blog post from After Dark creator 2017-03-03 09:24:59 +01:00
Josh Habdas d0e2a1fa14 docs: Add blog post from After Dark creator 2017-03-03 09:24:59 +01:00
Ryan Watters 6b31541b71 Add AddDate to functions list 2017-03-03 02:06:56 -06:00
Ryan Watters c9dc4276df Add quotes to homepage 2017-03-03 01:58:55 -06:00
Ryan Watters e21aa25081 Add more content to home row 2017-03-03 00:42:27 -06:00
Ryan Watters 7ff7a63a10 Fix breaking error on missing bfconfig shortcode for BF Rendering 2017-03-02 18:35:57 -06:00
Ryan Watters 33ed1b4cd1 Add webkit no scrollbars to navs 2017-03-02 18:34:26 -06:00
Ryan Watters 395b208678 Update toc for testing fade at bottom on PC 2017-03-02 18:30:59 -06:00
Ryan Watters 28cc820f45 Make first content fixes to bfconfig readme 2017-03-02 15:39:05 -06:00
Ryan Watters d5b49fe3c4 Fix toc 2017-03-02 15:36:43 -06:00
Ryan Watters befd5d73d1 Remove unnecessary sass files 2017-03-02 14:22:18 -06:00
Ryan Watters 8074ff09df Add Twitter references to data folder 2017-03-02 12:53:13 -06:00
Ryan Watters aa3ce7abd0 Update content and URLs of About section
Also add new section lookup for v0.20.
2017-03-02 12:49:09 -06:00
Ryan Watters 0b1c31fe2a Add section lookup order change for v0.20 2017-03-02 11:59:06 -06:00
Bjørn Erik Pedersen 5a94e4cfb9 hugolib: Add section template baseof test case
Closes #2995
See #3116
2017-03-02 13:52:08 +01:00
Bjørn Erik Pedersen 16e3c36d31 docs: Add new section list lookup alternative
Updates #3116
2017-03-02 10:08:41 +01:00
Bjørn Erik Pedersen f4779b25bc docs: Add new section list lookup alternative
Updates #3116
2017-03-02 10:08:41 +01:00
Bjørn Erik Pedersen 8203fc5923 hugolib: Add /layouts/SECTION/list.html to template lookup
Fixes #3116
2017-03-02 10:08:37 +01:00
Ryan Watters 1dd2b1634e Fix more styling inconsistencies 2017-03-02 02:12:32 -06:00
Ryan Watters fdcc05e781 Add more icons to code blocks with or without shortcode 2017-03-02 02:09:00 -06:00
Ryan Watters 9dc11d3b0c Add SVGs and slide animations to homepage 2017-03-02 01:31:59 -06:00
Ryan Watters fb4618560d Add removal of icons 2017-03-01 18:42:44 -06:00
Ryan Watters abe77bc1dd Update fonts per type kit 2017-03-01 17:26:48 -06:00
Ryan Watters 8b09dfba30 Update fonts per type kit 2017-03-01 17:26:17 -06:00
Bjørn Erik Pedersen 7acec3c639 helpers: Return partially cleaned URL in case of error in URLPrep anyway
Closes #2987
2017-03-02 00:21:39 +01:00
Cameron Moore 74ea81b885 tplimpl: return an error on unsupported type in isSet
Fixes #3092
2017-03-02 00:11:10 +01:00
Bjørn Erik Pedersen 577522bd45 helpers: Remove unused arg 2017-03-01 23:49:24 +01:00
Ryan Watters 8a8a0fc349 Make first content commit with beginnings of new homepage (testing Netlify subdomain) 2017-03-01 14:44:48 -06:00