Jekyll no sabe encontrar links simbólicos
Así que invertimos la relación!
This commit is contained in:
parent
a5d0a2a0be
commit
ae624fde2b
|
@ -1 +0,0 @@
|
||||||
form/boolean.html
|
|
30
_includes/boolean.html
Normal file
30
_includes/boolean.html
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{%- assign name = include.field[0] -%}
|
||||||
|
{%- assign id = include.field[1].id | default: name -%}
|
||||||
|
{%- assign label = include.field[1].label[site.locale] -%}
|
||||||
|
{%- assign help = include.field[1].help[site.locale] -%}
|
||||||
|
{%- assign autocomplete = include.field[1].autocomplete -%}
|
||||||
|
|
||||||
|
<div class="form-check text-left">
|
||||||
|
<input
|
||||||
|
{% if help %}
|
||||||
|
aria-describedby="help-{{ id }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if include.field[1].required %}
|
||||||
|
required
|
||||||
|
{% endif %}
|
||||||
|
type="checkbox"
|
||||||
|
name="{{ name }}"
|
||||||
|
id="{{ id }}"
|
||||||
|
{% if autocomplete %}
|
||||||
|
autocomplete="{{ autocomplete }}"
|
||||||
|
{% endif %}
|
||||||
|
class="form-check-input" />
|
||||||
|
|
||||||
|
<label class="form-check-label" for="{{ id }}">{{ label }}</label>
|
||||||
|
|
||||||
|
{%- if help -%}
|
||||||
|
<small id="help-{{ id }}" class="form-text">
|
||||||
|
{{ help }}
|
||||||
|
</small>
|
||||||
|
{%- endif -%}
|
||||||
|
</div>
|
|
@ -1 +0,0 @@
|
||||||
form/email.html
|
|
1
_includes/email.html
Normal file
1
_includes/email.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% include input.html field=field %}
|
|
@ -1,30 +0,0 @@
|
||||||
{%- assign name = include.field[0] -%}
|
|
||||||
{%- assign id = include.field[1].id | default: name -%}
|
|
||||||
{%- assign label = include.field[1].label[site.locale] -%}
|
|
||||||
{%- assign help = include.field[1].help[site.locale] -%}
|
|
||||||
{%- assign autocomplete = include.field[1].autocomplete -%}
|
|
||||||
|
|
||||||
<div class="form-check text-left">
|
|
||||||
<input
|
|
||||||
{% if help %}
|
|
||||||
aria-describedby="help-{{ id }}"
|
|
||||||
{% endif %}
|
|
||||||
{% if include.field[1].required %}
|
|
||||||
required
|
|
||||||
{% endif %}
|
|
||||||
type="checkbox"
|
|
||||||
name="{{ name }}"
|
|
||||||
id="{{ id }}"
|
|
||||||
{% if autocomplete %}
|
|
||||||
autocomplete="{{ autocomplete }}"
|
|
||||||
{% endif %}
|
|
||||||
class="form-check-input" />
|
|
||||||
|
|
||||||
<label class="form-check-label" for="{{ id }}">{{ label }}</label>
|
|
||||||
|
|
||||||
{%- if help -%}
|
|
||||||
<small id="help-{{ id }}" class="form-text">
|
|
||||||
{{ help }}
|
|
||||||
</small>
|
|
||||||
{%- endif -%}
|
|
||||||
</div>
|
|
1
_includes/form/boolean.html
Symbolic link
1
_includes/form/boolean.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../boolean.html
|
|
@ -1 +0,0 @@
|
||||||
{% include input.html field=field %}
|
|
1
_includes/form/email.html
Symbolic link
1
_includes/form/email.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../email.html
|
|
@ -1,5 +0,0 @@
|
||||||
{%- assign name = include.field[0] -%}
|
|
||||||
{%- assign id = include.field[1].id | default: name -%}
|
|
||||||
{%- assign value = include.field[1].value -%}
|
|
||||||
|
|
||||||
<input type="hidden" value="{{ value }}" name="{{ name }}" id="{{ id }}" />
|
|
1
_includes/form/hidden.html
Symbolic link
1
_includes/form/hidden.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../hidden.html
|
|
@ -1,33 +0,0 @@
|
||||||
{%- assign name = include.field[0] -%}
|
|
||||||
{%- assign id = include.field[1].id | default: name -%}
|
|
||||||
{%- assign label = include.field[1].label[site.locale] -%}
|
|
||||||
{%- assign help = include.field[1].help[site.locale] -%}
|
|
||||||
{%- assign autocomplete = include.field[1].autocomplete -%}
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="{{ id }}">
|
|
||||||
{{ label }}
|
|
||||||
{% if include.field[1].required %}*{% endif %}
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<input
|
|
||||||
{% if help %}
|
|
||||||
aria-describedby="help-{{ id }}"
|
|
||||||
{% endif %}
|
|
||||||
{% if include.field[1].required %}
|
|
||||||
required
|
|
||||||
{% endif %}
|
|
||||||
type="{{ include.field[1].type }}"
|
|
||||||
name="{{ name }}"
|
|
||||||
id="{{ id }}"
|
|
||||||
{% if autocomplete %}
|
|
||||||
autocomplete="{{ autocomplete }}"
|
|
||||||
{% endif %}
|
|
||||||
class="form-control" />
|
|
||||||
|
|
||||||
{%- if help -%}
|
|
||||||
<small id="help-{{ id }}" class="form-text">
|
|
||||||
{{ help }}
|
|
||||||
</small>
|
|
||||||
{%- endif -%}
|
|
||||||
</div>
|
|
1
_includes/form/input.html
Symbolic link
1
_includes/form/input.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../input.html
|
|
@ -1 +0,0 @@
|
||||||
{% include input.html field=field %}
|
|
1
_includes/form/number.html
Symbolic link
1
_includes/form/number.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../number.html
|
|
@ -1,39 +0,0 @@
|
||||||
{%- assign name = include.field[0] -%}
|
|
||||||
{%- assign id = include.field[1].id | default: name -%}
|
|
||||||
{%- assign label = include.field[1].label[site.locale] -%}
|
|
||||||
{%- assign help = include.field[1].help[site.locale] -%}
|
|
||||||
{%- assign autocomplete = include.field[1].autocomplete -%}
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="{{ id }}">
|
|
||||||
{{ label }}
|
|
||||||
{% if include.field[1].required %}*{% endif %}
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<select
|
|
||||||
{% if help %}
|
|
||||||
aria-describedby="help-{{ id }}"
|
|
||||||
{% endif %}
|
|
||||||
{% if include.field[1].required %}
|
|
||||||
required
|
|
||||||
{% endif %}
|
|
||||||
name="{{ name }}"
|
|
||||||
id="{{ id }}"
|
|
||||||
{% if autocomplete %}
|
|
||||||
autocomplete="{{ autocomplete }}"
|
|
||||||
{% endif %}
|
|
||||||
class="form-control">
|
|
||||||
|
|
||||||
<option value="" selected></option>
|
|
||||||
|
|
||||||
{%- for option in include.field[1].values -%}
|
|
||||||
<option value="{{ option }}">{{ option }}</option>
|
|
||||||
{%- endfor -%}
|
|
||||||
</select>
|
|
||||||
|
|
||||||
{%- if help -%}
|
|
||||||
<small id="help-{{ id }}" class="form-text">
|
|
||||||
{{ help }}
|
|
||||||
</small>
|
|
||||||
{%- endif -%}
|
|
||||||
</div>
|
|
1
_includes/form/predefined_array.html
Symbolic link
1
_includes/form/predefined_array.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../predefined_array.html
|
|
@ -1 +0,0 @@
|
||||||
<h2 id="{{ include.field[0] }}">{{ include.field[1].title }}</h2>
|
|
1
_includes/form/section.html
Symbolic link
1
_includes/form/section.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../section.html
|
|
@ -1 +0,0 @@
|
||||||
<hr/>
|
|
1
_includes/form/separator.html
Symbolic link
1
_includes/form/separator.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../separator.html
|
|
@ -1,3 +0,0 @@
|
||||||
{% assign f = field %}
|
|
||||||
{% assign f.type = 'text' %}
|
|
||||||
{% include input.html field=f %}
|
|
1
_includes/form/string.html
Symbolic link
1
_includes/form/string.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../string.html
|
|
@ -1 +0,0 @@
|
||||||
<input type="submit" class="btn btn-success" value="{{ include.field[1].label[site.locale] }}" />
|
|
1
_includes/form/submit.html
Symbolic link
1
_includes/form/submit.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../submit.html
|
|
@ -1,32 +0,0 @@
|
||||||
{%- assign name = include.field[0] -%}
|
|
||||||
{%- assign id = include.field[1].id | default: name -%}
|
|
||||||
{%- assign label = include.field[1].label[site.locale] -%}
|
|
||||||
{%- assign help = include.field[1].help[site.locale] -%}
|
|
||||||
{%- assign autocomplete = include.field[1].autocomplete -%}
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="{{ id }}">
|
|
||||||
{% if include.field[1].required %}*{% endif %}
|
|
||||||
{{ label }}
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<textarea
|
|
||||||
{% if help %}
|
|
||||||
aria-describedby="help-{{ id }}"
|
|
||||||
{% endif %}
|
|
||||||
{% if include.field[1].required %}
|
|
||||||
required
|
|
||||||
{% endif %}
|
|
||||||
name="{{ name }}"
|
|
||||||
id="{{ id }}"
|
|
||||||
{% if autocomplete %}
|
|
||||||
autocomplete="{{ autocomplete }}"
|
|
||||||
{% endif %}
|
|
||||||
class="form-control"></textarea>
|
|
||||||
|
|
||||||
{%- if .help -%}
|
|
||||||
<small id="help-{{ id }}" class="form-text">
|
|
||||||
{{ help }}
|
|
||||||
</small>
|
|
||||||
{%- endif -%}
|
|
||||||
</div>
|
|
1
_includes/form/text.html
Symbolic link
1
_includes/form/text.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../text.html
|
|
@ -1 +0,0 @@
|
||||||
{% include input.html field=field %}
|
|
1
_includes/form/url.html
Symbolic link
1
_includes/form/url.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../url.html
|
|
@ -1 +0,0 @@
|
||||||
form/hidden.html
|
|
5
_includes/hidden.html
Normal file
5
_includes/hidden.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{%- assign name = include.field[0] -%}
|
||||||
|
{%- assign id = include.field[1].id | default: name -%}
|
||||||
|
{%- assign value = include.field[1].value -%}
|
||||||
|
|
||||||
|
<input type="hidden" value="{{ value }}" name="{{ name }}" id="{{ id }}" />
|
|
@ -1 +0,0 @@
|
||||||
form/input.html
|
|
33
_includes/input.html
Normal file
33
_includes/input.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{%- assign name = include.field[0] -%}
|
||||||
|
{%- assign id = include.field[1].id | default: name -%}
|
||||||
|
{%- assign label = include.field[1].label[site.locale] -%}
|
||||||
|
{%- assign help = include.field[1].help[site.locale] -%}
|
||||||
|
{%- assign autocomplete = include.field[1].autocomplete -%}
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="{{ id }}">
|
||||||
|
{{ label }}
|
||||||
|
{% if include.field[1].required %}*{% endif %}
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<input
|
||||||
|
{% if help %}
|
||||||
|
aria-describedby="help-{{ id }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if include.field[1].required %}
|
||||||
|
required
|
||||||
|
{% endif %}
|
||||||
|
type="{{ include.field[1].type }}"
|
||||||
|
name="{{ name }}"
|
||||||
|
id="{{ id }}"
|
||||||
|
{% if autocomplete %}
|
||||||
|
autocomplete="{{ autocomplete }}"
|
||||||
|
{% endif %}
|
||||||
|
class="form-control" />
|
||||||
|
|
||||||
|
{%- if help -%}
|
||||||
|
<small id="help-{{ id }}" class="form-text">
|
||||||
|
{{ help }}
|
||||||
|
</small>
|
||||||
|
{%- endif -%}
|
||||||
|
</div>
|
|
@ -1 +0,0 @@
|
||||||
form/number.html
|
|
1
_includes/number.html
Normal file
1
_includes/number.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% include input.html field=field %}
|
|
@ -1 +0,0 @@
|
||||||
form/predefined_array.html
|
|
39
_includes/predefined_array.html
Normal file
39
_includes/predefined_array.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{%- assign name = include.field[0] -%}
|
||||||
|
{%- assign id = include.field[1].id | default: name -%}
|
||||||
|
{%- assign label = include.field[1].label[site.locale] -%}
|
||||||
|
{%- assign help = include.field[1].help[site.locale] -%}
|
||||||
|
{%- assign autocomplete = include.field[1].autocomplete -%}
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="{{ id }}">
|
||||||
|
{{ label }}
|
||||||
|
{% if include.field[1].required %}*{% endif %}
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<select
|
||||||
|
{% if help %}
|
||||||
|
aria-describedby="help-{{ id }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if include.field[1].required %}
|
||||||
|
required
|
||||||
|
{% endif %}
|
||||||
|
name="{{ name }}"
|
||||||
|
id="{{ id }}"
|
||||||
|
{% if autocomplete %}
|
||||||
|
autocomplete="{{ autocomplete }}"
|
||||||
|
{% endif %}
|
||||||
|
class="form-control">
|
||||||
|
|
||||||
|
<option value="" selected></option>
|
||||||
|
|
||||||
|
{%- for option in include.field[1].values -%}
|
||||||
|
<option value="{{ option }}">{{ option }}</option>
|
||||||
|
{%- endfor -%}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
{%- if help -%}
|
||||||
|
<small id="help-{{ id }}" class="form-text">
|
||||||
|
{{ help }}
|
||||||
|
</small>
|
||||||
|
{%- endif -%}
|
||||||
|
</div>
|
|
@ -1 +0,0 @@
|
||||||
form/section.html
|
|
1
_includes/section.html
Normal file
1
_includes/section.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<h2 id="{{ include.field[0] }}">{{ include.field[1].title }}</h2>
|
|
@ -1 +0,0 @@
|
||||||
form/separator.html
|
|
1
_includes/separator.html
Normal file
1
_includes/separator.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<hr/>
|
|
@ -1 +0,0 @@
|
||||||
form/string.html
|
|
3
_includes/string.html
Normal file
3
_includes/string.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% assign f = field %}
|
||||||
|
{% assign f.type = 'text' %}
|
||||||
|
{% include input.html field=f %}
|
|
@ -1 +0,0 @@
|
||||||
form/submit.html
|
|
1
_includes/submit.html
Normal file
1
_includes/submit.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<input type="submit" class="btn btn-success" value="{{ include.field[1].label[site.locale] }}" />
|
|
@ -1 +0,0 @@
|
||||||
form/text.html
|
|
32
_includes/text.html
Normal file
32
_includes/text.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{%- assign name = include.field[0] -%}
|
||||||
|
{%- assign id = include.field[1].id | default: name -%}
|
||||||
|
{%- assign label = include.field[1].label[site.locale] -%}
|
||||||
|
{%- assign help = include.field[1].help[site.locale] -%}
|
||||||
|
{%- assign autocomplete = include.field[1].autocomplete -%}
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="{{ id }}">
|
||||||
|
{% if include.field[1].required %}*{% endif %}
|
||||||
|
{{ label }}
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<textarea
|
||||||
|
{% if help %}
|
||||||
|
aria-describedby="help-{{ id }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if include.field[1].required %}
|
||||||
|
required
|
||||||
|
{% endif %}
|
||||||
|
name="{{ name }}"
|
||||||
|
id="{{ id }}"
|
||||||
|
{% if autocomplete %}
|
||||||
|
autocomplete="{{ autocomplete }}"
|
||||||
|
{% endif %}
|
||||||
|
class="form-control"></textarea>
|
||||||
|
|
||||||
|
{%- if .help -%}
|
||||||
|
<small id="help-{{ id }}" class="form-text">
|
||||||
|
{{ help }}
|
||||||
|
</small>
|
||||||
|
{%- endif -%}
|
||||||
|
</div>
|
|
@ -1 +0,0 @@
|
||||||
form/url.html
|
|
1
_includes/url.html
Normal file
1
_includes/url.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% include input.html field=field %}
|
Loading…
Reference in a new issue