jekyll-theme-basically-basic 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +150 -42
  4. data/_includes/author +30 -30
  5. data/_includes/contact-list.html +27 -27
  6. data/_includes/cv/awards.html +23 -23
  7. data/_includes/cv/basics.html +68 -68
  8. data/_includes/cv/education.html +36 -36
  9. data/_includes/cv/interests.html +19 -19
  10. data/_includes/cv/intro.html +18 -18
  11. data/_includes/cv/languages.html +19 -19
  12. data/_includes/cv/publications.html +29 -29
  13. data/_includes/cv/references.html +23 -23
  14. data/_includes/cv/volunteer.html +46 -46
  15. data/_includes/cv/work.html +46 -46
  16. data/_includes/disqus_comments.html +16 -16
  17. data/_includes/documents-collection.html +19 -0
  18. data/_includes/entry.html +37 -29
  19. data/_includes/footer.html +11 -9
  20. data/_includes/google-analytics.html +8 -8
  21. data/_includes/head.html +35 -35
  22. data/_includes/icon-bitbucket.html +4 -4
  23. data/_includes/icon-codepen.html +4 -4
  24. data/_includes/icon-dribbble.html +4 -4
  25. data/_includes/icon-facebook.html +4 -4
  26. data/_includes/icon-flickr.html +4 -4
  27. data/_includes/icon-github.html +4 -4
  28. data/_includes/icon-gitlab.html +4 -4
  29. data/_includes/icon-googleplus.html +4 -4
  30. data/_includes/icon-instagram.html +4 -4
  31. data/_includes/icon-lastfm.html +4 -4
  32. data/_includes/icon-linkedin.html +4 -4
  33. data/_includes/icon-pinterest.html +4 -4
  34. data/_includes/icon-soundcloud.html +4 -4
  35. data/_includes/icon-stackoverflow.html +4 -4
  36. data/_includes/icon-tumblr.html +4 -4
  37. data/_includes/icon-twitter.html +4 -4
  38. data/_includes/icon-xing.html +4 -4
  39. data/_includes/icon-youtube.html +4 -4
  40. data/_includes/masthead.html +27 -27
  41. data/_includes/navigation.html +25 -25
  42. data/_includes/page-intro.html +42 -42
  43. data/_includes/page-tags.html +14 -0
  44. data/_includes/posts-all.html +2 -2
  45. data/_includes/posts-category.html +3 -0
  46. data/_includes/posts-paginated.html +15 -15
  47. data/_includes/posts-tag.html +3 -0
  48. data/_includes/read-time.html +13 -13
  49. data/_includes/search-form.html +14 -13
  50. data/_includes/search/algolia-search-scripts.html +52 -52
  51. data/_includes/search/lunr-search-scripts.html +1 -1
  52. data/_includes/skip-links.html +8 -8
  53. data/_layouts/about.html +0 -2
  54. data/_layouts/categories.html +48 -0
  55. data/_layouts/category.html +9 -0
  56. data/_layouts/collection.html +9 -0
  57. data/_layouts/cv.html +28 -28
  58. data/_layouts/default.html +2 -1
  59. data/_layouts/home.html +28 -30
  60. data/_layouts/page.html +15 -17
  61. data/_layouts/post.html +18 -20
  62. data/_layouts/posts.html +29 -0
  63. data/_layouts/tag.html +9 -0
  64. data/_layouts/tags.html +48 -0
  65. data/_sass/basically-basic.scss +1 -1
  66. data/_sass/basically-basic/_base.scss +116 -118
  67. data/_sass/basically-basic/_contact-lists.scss +11 -11
  68. data/_sass/basically-basic/_entries.scss +230 -152
  69. data/_sass/basically-basic/_footer.scss +37 -13
  70. data/_sass/basically-basic/_functions.scss +2 -2
  71. data/_sass/basically-basic/_global.scss +116 -42
  72. data/_sass/basically-basic/_icons.scss +43 -43
  73. data/_sass/basically-basic/_intro.scss +3 -1
  74. data/_sass/basically-basic/_layout.scss +188 -188
  75. data/_sass/basically-basic/_mixins.scss +5 -5
  76. data/_sass/basically-basic/_navicons.scss +148 -148
  77. data/_sass/basically-basic/_navigation.scss +66 -66
  78. data/_sass/basically-basic/_print.scss +252 -252
  79. data/_sass/basically-basic/_reset.scss +522 -522
  80. data/_sass/basically-basic/_responsive-embed.scss +70 -70
  81. data/_sass/basically-basic/_search.scss +101 -101
  82. data/_sass/basically-basic/_sidebar.scss +166 -166
  83. data/_sass/basically-basic/_tables.scss +34 -34
  84. data/_sass/basically-basic/_utilities.scss +6 -6
  85. data/_sass/basically-basic/_variables.scss +3 -0
  86. data/_sass/basically-basic/functions/_color.scss +21 -21
  87. data/_sass/basically-basic/functions/_fluid-type.scss +33 -33
  88. data/_sass/basically-basic/mixins/_clearfix.scss +11 -11
  89. data/_sass/basically-basic/mixins/_float.scss +15 -15
  90. data/_sass/basically-basic/mixins/_image.scss +38 -38
  91. data/_sass/basically-basic/mixins/_lists.scss +9 -9
  92. data/_sass/basically-basic/mixins/_text-truncate.scss +10 -10
  93. data/_sass/basically-basic/themes/_default.scss +5 -5
  94. data/_sass/basically-basic/themes/_night.scss +12 -12
  95. data/_sass/basically-basic/themes/_plum.scss +12 -12
  96. data/_sass/basically-basic/themes/_sea.scss +12 -12
  97. data/_sass/basically-basic/utilities/_accessibility.scss +43 -43
  98. data/_sass/basically-basic/utilities/_align.scss +62 -62
  99. data/_sass/basically-basic/utilities/_clearfix.scss +7 -7
  100. data/_sass/basically-basic/utilities/_float.scss +7 -7
  101. data/_sass/basically-basic/utilities/_text.scss +28 -28
  102. data/_sass/basically-basic/utilities/_visibility.scss +32 -32
  103. data/_sass/basically-basic/vendor/breakpoint/_breakpoint.scss +114 -114
  104. data/_sass/basically-basic/vendor/breakpoint/_context.scss +94 -94
  105. data/_sass/basically-basic/vendor/breakpoint/_helpers.scss +151 -151
  106. data/_sass/basically-basic/vendor/breakpoint/_legacy-settings.scss +49 -49
  107. data/_sass/basically-basic/vendor/breakpoint/_no-query.scss +15 -15
  108. data/_sass/basically-basic/vendor/breakpoint/_parsers.scss +215 -215
  109. data/_sass/basically-basic/vendor/breakpoint/_respond-to.scss +82 -82
  110. data/_sass/basically-basic/vendor/breakpoint/_settings.scss +70 -70
  111. data/_sass/basically-basic/vendor/breakpoint/parsers/_double.scss +33 -33
  112. data/_sass/basically-basic/vendor/breakpoint/parsers/_query.scss +82 -82
  113. data/_sass/basically-basic/vendor/breakpoint/parsers/_resolution.scss +31 -31
  114. data/_sass/basically-basic/vendor/breakpoint/parsers/_single.scss +26 -26
  115. data/_sass/basically-basic/vendor/breakpoint/parsers/_triple.scss +36 -36
  116. data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  117. data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default.scss +22 -22
  118. data/_sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  119. data/_sass/basically-basic/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  120. data/_sass/basically-basic/vendor/breakpoint/parsers/single/_default.scss +13 -13
  121. data/_sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  122. data/_sass/basically-basic/vendor/susy/_su.scss +4 -4
  123. data/_sass/basically-basic/vendor/susy/_susy-prefix.scss +13 -13
  124. data/_sass/basically-basic/vendor/susy/_susy.scss +5 -5
  125. data/_sass/basically-basic/vendor/susy/plugins/_svg-grid.scss +5 -5
  126. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
  127. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
  128. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
  129. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
  130. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
  131. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
  132. data/_sass/basically-basic/vendor/susy/susy/_api.scss +318 -318
  133. data/_sass/basically-basic/vendor/susy/susy/_normalize.scss +261 -261
  134. data/_sass/basically-basic/vendor/susy/susy/_parse.scss +163 -163
  135. data/_sass/basically-basic/vendor/susy/susy/_settings.scss +329 -329
  136. data/_sass/basically-basic/vendor/susy/susy/_su-math.scss +441 -441
  137. data/_sass/basically-basic/vendor/susy/susy/_su-validate.scss +213 -213
  138. data/_sass/basically-basic/vendor/susy/susy/_syntax-helpers.scss +191 -191
  139. data/_sass/basically-basic/vendor/susy/susy/_unprefix.scss +56 -56
  140. data/_sass/basically-basic/vendor/susy/susy/_utilities.scss +167 -167
  141. data/assets/javascripts/lunr/lunr.da.min.js +17 -17
  142. data/assets/javascripts/lunr/lunr.de.min.js +17 -17
  143. data/assets/javascripts/lunr/lunr.du.min.js +17 -17
  144. data/assets/javascripts/lunr/lunr.es.min.js +17 -17
  145. data/assets/javascripts/lunr/lunr.fi.min.js +17 -17
  146. data/assets/javascripts/lunr/lunr.fr.min.js +17 -17
  147. data/assets/javascripts/lunr/lunr.hu.min.js +17 -17
  148. data/assets/javascripts/lunr/lunr.it.min.js +17 -17
  149. data/assets/javascripts/lunr/lunr.jp.min.js +1 -1
  150. data/assets/javascripts/lunr/lunr.min.js +6 -6
  151. data/assets/javascripts/lunr/lunr.no.min.js +17 -17
  152. data/assets/javascripts/lunr/lunr.pt.min.js +17 -17
  153. data/assets/javascripts/lunr/lunr.ro.min.js +17 -17
  154. data/assets/javascripts/lunr/lunr.ru.min.js +17 -17
  155. data/assets/javascripts/lunr/lunr.sv.min.js +17 -17
  156. data/assets/javascripts/lunr/lunr.tr.min.js +17 -17
  157. data/assets/javascripts/main.js +12 -12
  158. data/assets/javascripts/search-data.json +43 -27
  159. data/assets/stylesheets/main.scss +9 -9
  160. metadata +21 -5
@@ -1,56 +1,56 @@
1
- // Unprefix Susy
2
- // =============
3
-
4
-
5
- // Span
6
- // ----
7
- /// Un-prefixed alias for `susy-span`
8
- /// (available by default)
9
- ///
10
- /// @group api
11
- /// @alias susy-span
12
- ///
13
- /// @param {list} $span
14
- /// @param {map} $config [()]
15
- @function span(
16
- $span,
17
- $config: ()
18
- ) {
19
- @return susy-span($span, $config);
20
- }
21
-
22
-
23
- // Gutter
24
- // ------
25
- /// Un-prefixed alias for `susy-gutter`
26
- /// (available by default)
27
- ///
28
- /// @group api
29
- /// @alias susy-gutter
30
- ///
31
- /// @param {integer | list} $context [null] -
32
- /// @param {map} $config [()]
33
- @function gutter(
34
- $context: susy-get('columns'),
35
- $config: ()
36
- ) {
37
- @return susy-gutter($context, $config);
38
- }
39
-
40
-
41
- // Slice
42
- // -----
43
- /// Un-prefixed alias for `susy-slice`
44
- /// (available by default)
45
- ///
46
- /// @group api
47
- /// @alias susy-slice
48
- ///
49
- /// @param {list} $span
50
- /// @param {map} $config [()]
51
- @function slice(
52
- $span,
53
- $config: ()
54
- ) {
55
- @return susy-slice($span, $config);
56
- }
1
+ // Unprefix Susy
2
+ // =============
3
+
4
+
5
+ // Span
6
+ // ----
7
+ /// Un-prefixed alias for `susy-span`
8
+ /// (available by default)
9
+ ///
10
+ /// @group api
11
+ /// @alias susy-span
12
+ ///
13
+ /// @param {list} $span
14
+ /// @param {map} $config [()]
15
+ @function span(
16
+ $span,
17
+ $config: ()
18
+ ) {
19
+ @return susy-span($span, $config);
20
+ }
21
+
22
+
23
+ // Gutter
24
+ // ------
25
+ /// Un-prefixed alias for `susy-gutter`
26
+ /// (available by default)
27
+ ///
28
+ /// @group api
29
+ /// @alias susy-gutter
30
+ ///
31
+ /// @param {integer | list} $context [null] -
32
+ /// @param {map} $config [()]
33
+ @function gutter(
34
+ $context: susy-get('columns'),
35
+ $config: ()
36
+ ) {
37
+ @return susy-gutter($context, $config);
38
+ }
39
+
40
+
41
+ // Slice
42
+ // -----
43
+ /// Un-prefixed alias for `susy-slice`
44
+ /// (available by default)
45
+ ///
46
+ /// @group api
47
+ /// @alias susy-slice
48
+ ///
49
+ /// @param {list} $span
50
+ /// @param {map} $config [()]
51
+ @function slice(
52
+ $span,
53
+ $config: ()
54
+ ) {
55
+ @return susy-slice($span, $config);
56
+ }
@@ -1,167 +1,167 @@
1
- // Sass Utilities
2
- // ==============
3
- // - Susy Error Output Override [variable]
4
- // - Susy Error [function]
5
-
6
-
7
-
8
- // Susy Error Output Override
9
- // --------------------------
10
- /// Turn off error output for testing
11
- /// @group x-utility
12
- /// @access private
13
- $_susy-error-output-override: false !default;
14
-
15
-
16
-
17
- // Susy Error
18
- // ----------
19
- /// Optionally return error messages without failing,
20
- /// as a way to test error cases
21
- ///
22
- /// @group x-utility
23
- /// @access private
24
- ///
25
- /// @param {string} $message -
26
- /// A useful error message, explaining the problem
27
- /// @param {string} $source -
28
- /// The original source of the error for debugging
29
- /// @param {bool} $override [$_susy-error-output-override] -
30
- /// Optionally return the error rather than failing
31
- /// @return {string} -
32
- /// Combined error with source and message
33
- /// @throws When `$override == true`
34
- @function _susy-error(
35
- $message,
36
- $source,
37
- $override: $_susy-error-output-override
38
- ) {
39
- @if $override {
40
- @return 'ERROR [#{$source}] #{$message}';
41
- }
42
-
43
- @error '[#{$source}] #{$message}';
44
- }
45
-
46
-
47
- // Su Is Comparable
48
- // ----------------
49
- /// Check that the units in a grid are comparable
50
- ///
51
- /// @group x-validation
52
- /// @access private
53
- ///
54
- /// @param {numbers} $lengths… -
55
- /// Arglist of all the number values to compare
56
- /// (columns, gutters, span, etc)
57
- ///
58
- /// @return {'fluid' | 'static' | false} -
59
- /// The type of span (fluid or static) when units match,
60
- /// or `false` for mismatched units
61
- @function _su-is-comparable(
62
- $lengths...
63
- ) {
64
- $first: nth($lengths, 1);
65
-
66
- @if (length($lengths) == 1) {
67
- @return if(unitless($first), 'fluid', 'static');
68
- }
69
-
70
- @for $i from 2 through length($lengths) {
71
- $comp: nth($lengths, $i);
72
-
73
- $fail: not comparable($first, $comp);
74
- $fail: $fail or (unitless($first) and not unitless($comp));
75
- $fail: $fail or (unitless($comp) and not unitless($first));
76
-
77
- @if $fail {
78
- @return false;
79
- }
80
- }
81
-
82
- @return if(unitless($first), 'fluid', 'static');
83
- }
84
-
85
-
86
- // Su Map Add Units
87
- // ----------------
88
- /// The calc features use a map of units and values
89
- /// to compile the proper algorythm.
90
- /// This function adds a new value to any comparable existing unit/value,
91
- /// or adds a new unit/value pair to the map
92
- ///
93
- /// @group x-utility
94
- /// @access private
95
- ///
96
- /// @param {map} $map -
97
- /// A map of unit/value pairs, e.g. ('px': 120px)
98
- /// @param {length} $value -
99
- /// A new length to be added to the map
100
- /// @return {map} -
101
- /// The updated map, with new value added
102
- ///
103
- /// @example scss -
104
- /// $map: (0px: 120px);
105
- /// $map: _su-map-add-units($map, 1in); // add a comparable unit
106
- /// $map: _su-map-add-units($map, 3vw); // add a new unit
107
- ///
108
- /// @each $units, $value in $map {
109
- /// /* #{$units}: #{$value} */
110
- /// }
111
- @function _su-map-add-units(
112
- $map,
113
- $value
114
- ) {
115
- $unit: $value * 0;
116
- $has: map-get($map, $unit) or 0;
117
-
118
- @if ($has == 0) {
119
- @each $try, $could in $map {
120
- $match: comparable($try, $value);
121
- $unit: if($match, $try, $unit);
122
- $has: if($match, $could, $has);
123
- }
124
- }
125
-
126
- @return map-merge($map, ($unit: $has + $value));
127
- }
128
-
129
-
130
- // Susy Flatten
131
- // ------------
132
- /// Flatten a multidimensional list
133
- ///
134
- /// @group x-utility
135
- /// @access private
136
- ///
137
- /// @param {list} $list -
138
- /// The list to be flattened
139
- /// @return {list} -
140
- /// The flattened list
141
- ///
142
- /// @example scss -
143
- /// $list: 120px (30em 30em) 120px;
144
- /// /* #{_susy-flatten($list)} */
145
- @function _susy-flatten(
146
- $list
147
- ) {
148
- $flat: ();
149
-
150
- // Don't iterate over maps
151
- @if (type-of($list) == 'map') {
152
- @return $list;
153
- }
154
-
155
- // Iterate over lists (or single items)
156
- @each $item in $list {
157
- @if (type-of($item) == 'list') {
158
- $item: _susy-flatten($item);
159
- $flat: join($flat, $item);
160
- } @else {
161
- $flat: append($flat, $item);
162
- }
163
- }
164
-
165
- // Return flattened list
166
- @return $flat;
167
- }
1
+ // Sass Utilities
2
+ // ==============
3
+ // - Susy Error Output Override [variable]
4
+ // - Susy Error [function]
5
+
6
+
7
+
8
+ // Susy Error Output Override
9
+ // --------------------------
10
+ /// Turn off error output for testing
11
+ /// @group x-utility
12
+ /// @access private
13
+ $_susy-error-output-override: false !default;
14
+
15
+
16
+
17
+ // Susy Error
18
+ // ----------
19
+ /// Optionally return error messages without failing,
20
+ /// as a way to test error cases
21
+ ///
22
+ /// @group x-utility
23
+ /// @access private
24
+ ///
25
+ /// @param {string} $message -
26
+ /// A useful error message, explaining the problem
27
+ /// @param {string} $source -
28
+ /// The original source of the error for debugging
29
+ /// @param {bool} $override [$_susy-error-output-override] -
30
+ /// Optionally return the error rather than failing
31
+ /// @return {string} -
32
+ /// Combined error with source and message
33
+ /// @throws When `$override == true`
34
+ @function _susy-error(
35
+ $message,
36
+ $source,
37
+ $override: $_susy-error-output-override
38
+ ) {
39
+ @if $override {
40
+ @return 'ERROR [#{$source}] #{$message}';
41
+ }
42
+
43
+ @error '[#{$source}] #{$message}';
44
+ }
45
+
46
+
47
+ // Su Is Comparable
48
+ // ----------------
49
+ /// Check that the units in a grid are comparable
50
+ ///
51
+ /// @group x-validation
52
+ /// @access private
53
+ ///
54
+ /// @param {numbers} $lengths… -
55
+ /// Arglist of all the number values to compare
56
+ /// (columns, gutters, span, etc)
57
+ ///
58
+ /// @return {'fluid' | 'static' | false} -
59
+ /// The type of span (fluid or static) when units match,
60
+ /// or `false` for mismatched units
61
+ @function _su-is-comparable(
62
+ $lengths...
63
+ ) {
64
+ $first: nth($lengths, 1);
65
+
66
+ @if (length($lengths) == 1) {
67
+ @return if(unitless($first), 'fluid', 'static');
68
+ }
69
+
70
+ @for $i from 2 through length($lengths) {
71
+ $comp: nth($lengths, $i);
72
+
73
+ $fail: not comparable($first, $comp);
74
+ $fail: $fail or (unitless($first) and not unitless($comp));
75
+ $fail: $fail or (unitless($comp) and not unitless($first));
76
+
77
+ @if $fail {
78
+ @return false;
79
+ }
80
+ }
81
+
82
+ @return if(unitless($first), 'fluid', 'static');
83
+ }
84
+
85
+
86
+ // Su Map Add Units
87
+ // ----------------
88
+ /// The calc features use a map of units and values
89
+ /// to compile the proper algorythm.
90
+ /// This function adds a new value to any comparable existing unit/value,
91
+ /// or adds a new unit/value pair to the map
92
+ ///
93
+ /// @group x-utility
94
+ /// @access private
95
+ ///
96
+ /// @param {map} $map -
97
+ /// A map of unit/value pairs, e.g. ('px': 120px)
98
+ /// @param {length} $value -
99
+ /// A new length to be added to the map
100
+ /// @return {map} -
101
+ /// The updated map, with new value added
102
+ ///
103
+ /// @example scss -
104
+ /// $map: (0px: 120px);
105
+ /// $map: _su-map-add-units($map, 1in); // add a comparable unit
106
+ /// $map: _su-map-add-units($map, 3vw); // add a new unit
107
+ ///
108
+ /// @each $units, $value in $map {
109
+ /// /* #{$units}: #{$value} */
110
+ /// }
111
+ @function _su-map-add-units(
112
+ $map,
113
+ $value
114
+ ) {
115
+ $unit: $value * 0;
116
+ $has: map-get($map, $unit) or 0;
117
+
118
+ @if ($has == 0) {
119
+ @each $try, $could in $map {
120
+ $match: comparable($try, $value);
121
+ $unit: if($match, $try, $unit);
122
+ $has: if($match, $could, $has);
123
+ }
124
+ }
125
+
126
+ @return map-merge($map, ($unit: $has + $value));
127
+ }
128
+
129
+
130
+ // Susy Flatten
131
+ // ------------
132
+ /// Flatten a multidimensional list
133
+ ///
134
+ /// @group x-utility
135
+ /// @access private
136
+ ///
137
+ /// @param {list} $list -
138
+ /// The list to be flattened
139
+ /// @return {list} -
140
+ /// The flattened list
141
+ ///
142
+ /// @example scss -
143
+ /// $list: 120px (30em 30em) 120px;
144
+ /// /* #{_susy-flatten($list)} */
145
+ @function _susy-flatten(
146
+ $list
147
+ ) {
148
+ $flat: ();
149
+
150
+ // Don't iterate over maps
151
+ @if (type-of($list) == 'map') {
152
+ @return $list;
153
+ }
154
+
155
+ // Iterate over lists (or single items)
156
+ @each $item in $list {
157
+ @if (type-of($item) == 'list') {
158
+ $item: _susy-flatten($item);
159
+ $flat: join($flat, $item);
160
+ } @else {
161
+ $flat: append($flat, $item);
162
+ }
163
+ }
164
+
165
+ // Return flattened list
166
+ @return $flat;
167
+ }
@@ -1,18 +1,18 @@
1
- /*!
2
- * Lunr languages, `Danish` language
3
- * https://github.com/MihaiValentin/lunr-languages
4
- *
5
- * Copyright 2014, Mihai Valentin
6
- * http://www.mozilla.org/MPL/
7
- */
8
- /*!
9
- * based on
10
- * Snowball JavaScript Library v0.3
11
- * http://code.google.com/p/urim/
12
- * http://snowball.tartarus.org/
13
- *
14
- * Copyright 2010, Oleg Mazko
15
- * http://www.mozilla.org/MPL/
16
- */
17
-
1
+ /*!
2
+ * Lunr languages, `Danish` language
3
+ * https://github.com/MihaiValentin/lunr-languages
4
+ *
5
+ * Copyright 2014, Mihai Valentin
6
+ * http://www.mozilla.org/MPL/
7
+ */
8
+ /*!
9
+ * based on
10
+ * Snowball JavaScript Library v0.3
11
+ * http://code.google.com/p/urim/
12
+ * http://snowball.tartarus.org/
13
+ *
14
+ * Copyright 2010, Oleg Mazko
15
+ * http://www.mozilla.org/MPL/
16
+ */
17
+
18
18
  !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if("undefined"==typeof e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if("undefined"==typeof e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){var e,r=p.cursor+3;if(d=p.limit,0<=r&&r<=p.limit){for(a=r;;){if(e=p.cursor,p.in_grouping(w,97,248)){p.cursor=e;break}if(p.cursor=e,e>=p.limit)return;p.cursor++}for(;!p.out_grouping(w,97,248);){if(p.cursor>=p.limit)return;p.cursor++}d=p.cursor,d<a&&(d=a)}}function n(){var e,r;if(p.cursor>=d&&(r=p.limit_backward,p.limit_backward=d,p.ket=p.cursor,e=p.find_among_b(c,32),p.limit_backward=r,e))switch(p.bra=p.cursor,e){case 1:p.slice_del();break;case 2:p.in_grouping_b(f,97,229)&&p.slice_del()}}function t(){var e,r=p.limit-p.cursor;p.cursor>=d&&(e=p.limit_backward,p.limit_backward=d,p.ket=p.cursor,p.find_among_b(l,4)?(p.bra=p.cursor,p.limit_backward=e,p.cursor=p.limit-r,p.cursor>p.limit_backward&&(p.cursor--,p.bra=p.cursor,p.slice_del())):p.limit_backward=e)}function s(){var e,r,i,n=p.limit-p.cursor;if(p.ket=p.cursor,p.eq_s_b(2,"st")&&(p.bra=p.cursor,p.eq_s_b(2,"ig")&&p.slice_del()),p.cursor=p.limit-n,p.cursor>=d&&(r=p.limit_backward,p.limit_backward=d,p.ket=p.cursor,e=p.find_among_b(m,5),p.limit_backward=r,e))switch(p.bra=p.cursor,e){case 1:p.slice_del(),i=p.limit-p.cursor,t(),p.cursor=p.limit-i;break;case 2:p.slice_from("løs")}}function o(){var e;p.cursor>=d&&(e=p.limit_backward,p.limit_backward=d,p.ket=p.cursor,p.out_grouping_b(w,97,248)?(p.bra=p.cursor,u=p.slice_to(u),p.limit_backward=e,p.eq_v_b(u)&&p.slice_del()):p.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],f=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],p=new i;this.setCurrent=function(e){p.setCurrent(e)},this.getCurrent=function(){return p.getCurrent()},this.stem=function(){var r=p.cursor;return e(),p.limit_backward=r,p.cursor=p.limit,n(),p.cursor=p.limit,t(),p.cursor=p.limit,s(),p.cursor=p.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});