Publish HTML quickly. https://html.house
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

68 lines
2.4 KiB

  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>my pages | HTMLhouse</title>
  5. <link rel="stylesheet" type="text/css" href="/css/house.css" />
  6. <link rel="shortcut icon" href="/favicon.ico" />
  7. <link rel="icon" type="image/png" href="/img/favicon-chrome.png" sizes="192x192">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  9. <meta name="theme-color" content="#888888" />
  10. <meta name="description" content="View the pages you've built on HTMLhouse.">
  11. <meta name="application-name" content="HTMLhouse">
  12. <meta name="application-url" content="https://html.house">
  13. <meta itemprop="name" content="my pages on HTMLhouse">
  14. <meta itemprop="description" content="View the pages you've built on HTMLhouse.">
  15. <meta name="twitter:card" content="summary_large_image">
  16. <meta name="twitter:title" content="my pages on HTMLhouse">
  17. <meta name="twitter:description" content="View the pages you've built on HTMLhouse.">
  18. <meta property="og:title" content="my pages on HTMLhouse" />
  19. <meta property="og:site_name" content="HTMLhouse" />
  20. <meta property="og:type" content="object" />
  21. <meta property="og:url" content="https://html.house/houses.html" />
  22. <meta property="og:description" content="View the pages you've built on HTMLhouse." />
  23. </head>
  24. <body id="neighborhood">
  25. <header>
  26. <h1>my pages</h1>
  27. <nav>
  28. <a class="home" href="/">&lt;&#8962;/&gt;</a>
  29. <a href="/browse">browse</a>
  30. <a href="/about.html">about</a>
  31. <a href="/contact.html">contact</a>
  32. </nav>
  33. </header>
  34. <div id="wrapper">
  35. <ul id="street"></ul>
  36. </div>
  37. <script src="https://write.as/js/h.js"></script>
  38. <script>
  39. var houses = JSON.parse(H.get('neighborhood', '[]'));
  40. var list = document.getElementById('street');
  41. if (houses.length > 0) {
  42. for (var i=houses.length-1; i>=0; i--) {
  43. var entry = document.createElement('li');
  44. entry.innerHTML = "<a href=\"/" + houses[i].id + ".html\">" + houses[i].id + "</a> &ndash; <a href=\"/edit/" + houses[i].id + ".html\">edit</a>";
  45. list.appendChild(entry);
  46. }
  47. } else {
  48. }
  49. </script>
  50. <script type="text/javascript">
  51. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  52. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  53. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  54. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  55. ga('create', 'UA-47877053-8', 'auto');
  56. ga('send', 'pageview');
  57. </script>
  58. </body>
  59. </html>