Add named anchors to includes

Now you can hotlink to each method by adding #app, #dd, #fastboot, #flash_image, #mtk, #odin, and #twrp (Install Images... functionality)

Patch Set 2 : Move anchors below the div and if tags
Change-Id: I3cf32c31d553aaca8bfcdb9778a23c581c1e91e3
Signed-off-by: MSF Jarvis <msfjarvis@gmail.com>
diff --git a/_includes/appinstall.html b/_includes/appinstall.html
index 5066ebb..568a9ee 100644
--- a/_includes/appinstall.html
+++ b/_includes/appinstall.html
@@ -1,4 +1,6 @@
+<html>
 <div class='page-heading' id='app-install'>App Install Method (Requires Root):</div>
+<a id='app'></a>
 <hr />
 <p class="text">Download the TWRP&nbsp;Manager app:</p>
 <ul class="text">
@@ -6,3 +8,4 @@
     <li><a href="http://jmz.so/1n6IJDL">No Play Store?&nbsp;Find a direct download link at the bottom of this page.</a></li>
 </ul>
 <p class="text">Install the app and open it.&nbsp; Tap on Install&nbsp;TWRP. Select your device from the device list ({{ page.codename }}) and then tap on Install Recovery. The file will download and be installed automatically.</p>
+</html>
\ No newline at end of file
diff --git a/_includes/ddinstall.html b/_includes/ddinstall.html
index 74967df..1fe51eb 100644
--- a/_includes/ddinstall.html
+++ b/_includes/ddinstall.html
@@ -1,7 +1,10 @@
 {% if page.ddof %}
+<html>
 <div class='page-heading'>dd Install Method (Requires Root):</div>
+<a id='dd'></a>
 <hr />
 <p class="text">Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:</p>
 <p class="text">su</p>
 <p class="text">dd if=/sdcard/twrp.img of={{ page.ddof }}</p>
+</html>
 {% endif %}
diff --git a/_includes/fastbootinstall.html b/_includes/fastbootinstall.html
index 95c7da6..a6ed640 100644
--- a/_includes/fastbootinstall.html
+++ b/_includes/fastbootinstall.html
@@ -1,4 +1,6 @@
+<html>
 <div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div>
+<a id='fastboot'></a>
 <hr />
 <p class="text"><a href="http://developer.android.com/sdk/index.html">You will need the platform-tools from the Android SDK on your computer.</a> Find the SDK Only section on the page linked and install the SDK and download only the platform-tools to get adb and fastboot binaries.</p>
 <p class="text">Windows users will need proper drivers installed on your computer. You can try the <a href="http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/">Naked ADB drivers</a> or the <a href="http://www.koushikdutta.com/post/universal-adb-driver">Universal ADB drivers</a> if you don't already have a working driver installed</p>
@@ -7,3 +9,4 @@
 <p class="text">You should now be in fastboot mode. Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:</p>
 <p class="text">fastboot flash recovery twrp.img<p></p>fastboot reboot</p>
 <p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="http://www.google.com">Google</a> to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>
+</html>
\ No newline at end of file
diff --git a/_includes/flashimageinstall.html b/_includes/flashimageinstall.html
index 3b213eb..f7752bd 100644
--- a/_includes/flashimageinstall.html
+++ b/_includes/flashimageinstall.html
@@ -1,5 +1,8 @@
+<html>
 <div class='page-heading'>flash_image Install Method (Requires Root):</div>
+<a id='flash_image'></a>
 <hr />
 <p class="text">Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:</p>
 <p class="text">su</p>
 <p class="text">flash_image recovery /sdcard/twrp.img</p>
+</html>
\ No newline at end of file
diff --git a/_includes/mtkinstall.html b/_includes/mtkinstall.html
index c4c3874..5b8e506 100644
--- a/_includes/mtkinstall.html
+++ b/_includes/mtkinstall.html
@@ -1,5 +1,8 @@
 {% if page.mtkchipset %}
+<html>
 <div class='page-heading'>MTK Flash Tool Install Method (No Root Required):</div>
+<a id='mtk'></a>
 <hr />
 <p class="text">You will need a copy of the factory ROM for the device including the scatter file. You will also need to download a proper MTK Flash Tool version for the chipset of this device ({{ page.mtkchipset }}) and install the VCOM driver for MTK devices. Download the latest image file (.img) from the download link above and rename it to twrp.img and copy it into the same folder as the factory ROM. Open up the MTK flash tool and use the scatter loading button to select the scatter file for this device. Uncheck all of the boxes for all other partitions except for the RECOVERY partition. Click on the folder/filename path for RECOVERY and browse to and select the twrp.img file. Click on the Download button in the MTK Flash tool. Power off your device completely. Plug the device into the computer and wait for it to flash. If it fails to flash the first time you may have to unplug the phone and click Download again. Try this a few times. If it still doesn't work, try a different USB port and USB cable.</p>
+</html>
 {% endif %}
diff --git a/_includes/odininstall.html b/_includes/odininstall.html
index 0e73c64..3a509ba 100644
--- a/_includes/odininstall.html
+++ b/_includes/odininstall.html
@@ -1,4 +1,7 @@
+<html>
 <div class='page-heading'>Odin Install Method (No Root Required):</div>
+<a id='odin'></a>
 <hr />
 <p class="text">You will need to download and install Odin on your PC. Once you have Odin installed, download the proper .tar file for your device from the download link above. Power off your device. Turn on your device using the proper key combo to get into download mode and attach the device to your computer via a USB cable. Use the PDA tab or button to browse to and select the tar file that you downloaded and flash the device.</p>
 <p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="http://www.google.com">Google</a> to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>
+</html>
\ No newline at end of file
diff --git a/_includes/twrpinstall.html b/_includes/twrpinstall.html
index fd36ff2..37757b5 100644
--- a/_includes/twrpinstall.html
+++ b/_includes/twrpinstall.html
@@ -1,3 +1,6 @@
+<html>
 <div class='page-heading' id='twrp-install'>TWRP Install (Requires TWRP 2.8.4 or higher already installed):</div>
+<a id='twrp' ></a>
 <hr />
 <p class="text">Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.</p>
+</html>
\ No newline at end of file