From e44b4b2afded000ead113ef4b29a57a9ba0d7cc0 Mon Sep 17 00:00:00 2001 From: Alex Hardy Date: Mon, 28 Sep 2015 10:33:03 +0100 Subject: [PATCH 1/5] touch icons solution --- templates/add-touch-icons.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 templates/add-touch-icons.md diff --git a/templates/add-touch-icons.md b/templates/add-touch-icons.md new file mode 100644 index 0000000..45491c9 --- /dev/null +++ b/templates/add-touch-icons.md @@ -0,0 +1,32 @@ +Created by: Alex Hardy +Created date: 2015-09-28 +Last updated: 2015-09-28 +Authors: Alex Hardy +Title: How do I add touch icons to my site? +Tags: templates + +# How do I add touch icons to my site? + +## You want to add touch icons, without uploading multiple image files for each size + +You can use Perch's [image resize features](https://grabaperch.com/features/upload-crop-and-resize-images) tag to do that. Create a Perch editable region, using the code below as a template. You'll want to make the region shared, and place it in the head of your pages. + + +" /> + +" /> + +" /> + +" /> + +" /> + +" /> + +" /> + +" /> + +" /> + \ No newline at end of file From 8c5e882add43c66f340a10358c0eadba6c0ba3e3 Mon Sep 17 00:00:00 2001 From: Alex Hardy Date: Mon, 28 Sep 2015 10:35:55 +0100 Subject: [PATCH 2/5] Changed Perch comments to HTML ones --- templates/add-touch-icons.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/add-touch-icons.md b/templates/add-touch-icons.md index 45491c9..adce962 100644 --- a/templates/add-touch-icons.md +++ b/templates/add-touch-icons.md @@ -11,22 +11,22 @@ Tags: templates You can use Perch's [image resize features](https://grabaperch.com/features/upload-crop-and-resize-images) tag to do that. Create a Perch editable region, using the code below as a template. You'll want to make the region shared, and place it in the head of your pages. - + " /> - + " /> - + " /> - + " /> - + " /> - + " /> - + " /> - + " /> - -" /> + +" /> \ No newline at end of file From 6d34e3f668952efeb8967d5a32c53f70d6987c1e Mon Sep 17 00:00:00 2001 From: Alex Hardy Date: Mon, 28 Sep 2015 10:39:27 +0100 Subject: [PATCH 3/5] Indentation for code formatting --- templates/add-touch-icons.md | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/add-touch-icons.md b/templates/add-touch-icons.md index adce962..7e56591 100644 --- a/templates/add-touch-icons.md +++ b/templates/add-touch-icons.md @@ -11,22 +11,22 @@ Tags: templates You can use Perch's [image resize features](https://grabaperch.com/features/upload-crop-and-resize-images) tag to do that. Create a Perch editable region, using the code below as a template. You'll want to make the region shared, and place it in the head of your pages. - -" /> - -" /> - -" /> - -" /> - -" /> - -" /> - -" /> - -" /> - -" /> - \ No newline at end of file + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + \ No newline at end of file From c6b38c62aa6de5bef00836664002ba9e35f58dd0 Mon Sep 17 00:00:00 2001 From: Alex Hardy Date: Mon, 28 Sep 2015 10:41:52 +0100 Subject: [PATCH 4/5] Indentation for code formatting --- templates/add-touch-icons.md | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/add-touch-icons.md b/templates/add-touch-icons.md index 7e56591..2530194 100644 --- a/templates/add-touch-icons.md +++ b/templates/add-touch-icons.md @@ -11,22 +11,22 @@ Tags: templates You can use Perch's [image resize features](https://grabaperch.com/features/upload-crop-and-resize-images) tag to do that. Create a Perch editable region, using the code below as a template. You'll want to make the region shared, and place it in the head of your pages. - - " /> - - " /> - - " /> - - " /> - - " /> - - " /> - - " /> - - " /> - - " /> - \ No newline at end of file + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + + " /> + \ No newline at end of file From e39e076b1ee0706696e3e53f587a834c55fc9e87 Mon Sep 17 00:00:00 2001 From: Alex Hardy Date: Mon, 28 Sep 2015 10:54:14 +0100 Subject: [PATCH 5/5] Typo --- architecture/how-do-i-link-prev-next.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/architecture/how-do-i-link-prev-next.md b/architecture/how-do-i-link-prev-next.md index 9f068a4..4fe1ad6 100644 --- a/architecture/how-do-i-link-prev-next.md +++ b/architecture/how-do-i-link-prev-next.md @@ -9,7 +9,7 @@ Tags: multiple item region, perch_content_custom ## When using a multiple item region, particularly with a list/detail display, it is sometimes useful to be able to link to the next or previous item in that region. This can be done with some simple filtering and ordering using `perch_content_custom()` -Here's the scenario; we have a multiple item region set up using the [list and detail](/architecture/how-do-i-create-list-detail-pages) approach. On the detail page, it would be great to be able to show links to the previous and next items in the list, with the user needing to navigate back to the list to find them. +Here's the scenario; we have a multiple item region set up using the [list and detail](/architecture/how-do-i-create-list-detail-pages) approach. On the detail page, it would be great to be able to show links to the previous and next items in the list, without the user needing to navigate back to the list to find them. To do this we need three `perch_content_custom()` calls: