profile.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html lang='<?=$page->lang?>'>
  3. <head>
  4. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  5. <meta charset='utf-8'/>
  6. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  7. <title><?=$page->title?></title>
  8. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  9. <!-- CSS files -->
  10. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  11. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>profile.css'/>
  12. <!-- Script files -->
  13. <script type="text/javascript" src="<?=$path["js"]?>ui.js"></script>
  14. <!-- Meta tags -->
  15. <link rel='canonical' href='<?=$page->canonical?>'/>
  16. <link rel='author' href='<?=$page->author?>'/>
  17. <link rel='publisher' href='<?=$page->author?>'/>
  18. <meta name='description' content='<?=$page->description?>'/>
  19. <meta property='og:title' content='<?=$page->title?>'/>
  20. <meta property='og:url' content='<?=$page->canonical?>'/>
  21. <meta property='og:description' content='<?=$page->description?>'/>
  22. <meta property='og:image' content='<?=$page->icon?>'/>
  23. <meta property='og:site_name' content='<?=$page->name?>'/>
  24. <meta property='og:type' content='website'/>
  25. <meta property='og:locale' content='<?=$page->lang?>'/>
  26. <meta name='twitter:card' content='summary'/>
  27. <meta name='twitter:title' content='<?=$page->title?>'/>
  28. <meta name='twitter:description' content='<?=$page->description?>'/>
  29. <meta name='twitter:image' content='<?=$page->icon?>'/>
  30. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  31. <meta name='robots' content='index follow'/>
  32. </head>
  33. <body>
  34. <?php
  35. include __DIR__ . "/inc/header.php";
  36. ?>
  37. <main>
  38. <section>
  39. <div id='left'>
  40. <div id='logo'>
  41. <img id='profile' src='<?=$path["img"]["content"]?>profile/x6/0.png' alt='<?=text($page, "USER_NAME");?>' title='<?=text($page, "USER_NAME");?>' />
  42. </div>
  43. <!-- TODO: Skills -->
  44. </div> <!-- #left -->
  45. <div id='right'>
  46. <?php
  47. foreach($page->entry["WORK"] as $entry){
  48. // TODO: Something if its the current one.
  49. ?>
  50. <div class='entry'>
  51. <h4><?=$entry->role?> - <?=$entry->company?></h4>
  52. </div>
  53. <?php
  54. }
  55. ?>
  56. </div> <!-- #right -->
  57. </section>
  58. </main>
  59. <?php
  60. include __DIR__ . "/inc/footer.php";
  61. ?>
  62. </body>
  63. </html>