From 86f317d91f208a7fcb2850b6e8b3a4c3a9ad49c2 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 16 Jun 2020 19:46:26 -0300 Subject: [PATCH] Subir archivos y texto --- _includes/content.html | 1 + _includes/file.html | 33 ++++++++++++++++++++++++++++ _includes/form/content.html | 1 + _includes/form/file.html | 1 + _includes/form/markdown_content.html | 1 + _includes/markdown_content.html | 1 + 6 files changed, 38 insertions(+) create mode 100644 _includes/content.html create mode 100644 _includes/file.html create mode 120000 _includes/form/content.html create mode 120000 _includes/form/file.html create mode 120000 _includes/form/markdown_content.html create mode 100644 _includes/markdown_content.html diff --git a/_includes/content.html b/_includes/content.html new file mode 100644 index 0000000..8743e31 --- /dev/null +++ b/_includes/content.html @@ -0,0 +1 @@ +{% include text.html field=field %} diff --git a/_includes/file.html b/_includes/file.html new file mode 100644 index 0000000..14744bf --- /dev/null +++ b/_includes/file.html @@ -0,0 +1,33 @@ +{%- assign name = include.field[0] -%} +{%- assign id = include.field[1].id | default: name -%} +{%- assign label = include.field[1]['path'].label[site.locale] -%} +{%- assign help = include.field[1]['path'].help[site.locale] -%} +{%- assign autocomplete = include.field[1].autocomplete -%} + +
+ + + + + {%- if help -%} + + {{ help }} + + {%- endif -%} +
diff --git a/_includes/form/content.html b/_includes/form/content.html new file mode 120000 index 0000000..a815a74 --- /dev/null +++ b/_includes/form/content.html @@ -0,0 +1 @@ +../content.html \ No newline at end of file diff --git a/_includes/form/file.html b/_includes/form/file.html new file mode 120000 index 0000000..6e5ea5d --- /dev/null +++ b/_includes/form/file.html @@ -0,0 +1 @@ +../file.html \ No newline at end of file diff --git a/_includes/form/markdown_content.html b/_includes/form/markdown_content.html new file mode 120000 index 0000000..422b4d6 --- /dev/null +++ b/_includes/form/markdown_content.html @@ -0,0 +1 @@ +../markdown_content.html \ No newline at end of file diff --git a/_includes/markdown_content.html b/_includes/markdown_content.html new file mode 100644 index 0000000..8743e31 --- /dev/null +++ b/_includes/markdown_content.html @@ -0,0 +1 @@ +{% include text.html field=field %}