head.ejs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <%
  2. var keywords = '';
  3. var description = '';
  4. (function() {
  5. if (theme.keywords) {
  6. keywords += theme.keywords;
  7. keywords += ',';
  8. }
  9. if (page.keywords) {
  10. keywords += page.keywords;
  11. }
  12. if (config.description) {
  13. description += config.description;
  14. description += ',';
  15. }
  16. if (is_post()) {
  17. description += truncate(strip_html(page.content), {length: 100, omission: ','});
  18. }
  19. })();
  20. %>
  21. <!--
  22. i.
  23. Ui
  24. :
  25. .r.
  26. .rJ1UusJUuY:
  27. .sjuJ11 12jjLujr
  28. :IKMBBBB BBBBQbUs
  29. gBBBgZg ZggMBBQJ
  30. QQ 嫁人要嫁程序员 BBQr
  31. :YBB 单纯稳重最幸福 DK
  32. XIgBZdZ iEBBBKb.
  33. :LuBBBRgMBB BBBQQBBBB.
  34. YBQBBBQBB BBBBBBBQ.
  35. :SdQBBQBBBBBMDKs
  36. :rvYuJusJLvi.
  37. :::::: ..::::.. .i:i::
  38. :i: liuyuqi.gov@msn.cn i:i:.
  39. .. .:...::::::ir...
  40. .:.i7iLsvsr:r
  41. i:iiii77Jir:
  42. :.... .:::
  43. :rv:ir:..
  44. .. .....
  45. .
  46. JUS
  47. :gv
  48. r
  49. -->
  50. <!DOCTYPE html>
  51. <html lang="<%= config.language %>" class="loading">
  52. <head>
  53. <meta charset="UTF-8" />
  54. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  55. <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  56. <title><%= config.title %><% if (config.subtitle){ %> - <%- config.subtitle %><%}%></title>
  57. <meta name="apple-mobile-web-app-capable" content="yes" />
  58. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  59. <meta name="google" content="notranslate" />
  60. <% if (keywords) { %><meta name="keywords" content="<%= keywords %>"> <% } %>
  61. <% if (description) { %><meta name="description" content="<%= description %>"> <% } %>
  62. <% if (config.author){ %><meta name="author" content="<%= config.author %>"> <% } %>
  63. <% if (theme.rss){ %><link rel="alternative" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml"> <% } %>
  64. <% if (theme.favicon){ %><link rel="icon" href="<%- url_for(theme.favicon) %>"> <% } %>
  65. <%- css(['//cdn.yoqi.me/tools/ql.blog/gitalk.css'])%>
  66. <%- css(['css/diaspora.css'])%>
  67. </head>