Browse Source

finished dashboard and ported theme lingonberry

pull/306/head
Sebastian 8 years ago
parent
commit
6404d0f500
67 changed files with 8172 additions and 105 deletions
  1. +9
    -6
      README.md
  2. +3894
    -0
      cache/ca_bundle.crt
  3. +1
    -0
      cache/downloadInfo.json
  4. +1
    -0
      cache/index/index-author.txt
  5. +1
    -0
      cache/index/index-category.txt
  6. +1
    -0
      cache/index/index-page.txt
  7. +1
    -0
      cache/index/index-sorted.txt
  8. +1
    -0
      cache/index/index-sub-page.txt
  9. +1
    -0
      cache/index/index-unsorted.txt
  10. +1
    -0
      cache/widget/category.list.cache
  11. +48
    -0
      cache/widget/recent.cache
  12. +8
    -8
      config/config.ini
  13. +2
    -8
      config/users/admin.ini
  14. +6
    -0
      content/admin/blog/uncategorized/audio/2017-02-20-18-56-45_hidden_vimeo-link-post.md
  15. +6
    -0
      content/admin/blog/uncategorized/image/2017-02-21-18-33-58_hidden_image-post.md
  16. +6
    -0
      content/admin/blog/uncategorized/link/2017-02-17-18-35-40_hidden_link-post.md
  17. +36
    -0
      content/admin/blog/uncategorized/post/2017-02-18-22-23-25_hidden_link-image-in-body.md
  18. +6
    -0
      content/admin/blog/uncategorized/quote/2017-02-20-18-34-42_hidden_quote-post.md
  19. +8
    -0
      content/admin/blog/uncategorized/video/2017-02-16-18-11-04_hidden_vimeo-video.md
  20. +9
    -0
      content/admin/blog/uncategorized/video/2017-02-19-14-24-17_hidden_video-title.md
  21. +1
    -0
      content/data/tags.lang
  22. BIN
      content/images/20170220183339-logo-big.png
  23. BIN
      content/images/20170220222313-logo-small.png
  24. BIN
      content/images/20170221113118-logo-big.png
  25. BIN
      content/images/20170221113612-logo-big.png
  26. BIN
      content/images/20170221131529-tumbly-create-posts.png
  27. BIN
      content/images/20170222173511-f11e26460239c8e81d809d3abcc49edd9b0ddeac-photo.jpeg
  28. +35
    -0
      content/static/example-page.md
  29. +1
    -1
      system/admin/admin.php
  30. +1
    -0
      system/admin/views/login.html.php
  31. +6
    -4
      system/admin/views/partials/input-fields.html.php
  32. +13
    -2
      system/admin/views/partials/post-list.html.php
  33. +20
    -49
      system/admin/views/posts-list.html.php
  34. +74
    -27
      system/includes/functions.php
  35. BIN
      system/resources/images/lingonberry-theme.png
  36. BIN
      system/resources/images/tumbly-create-posts.png
  37. +1
    -0
      themes/blog/main.html.php
  38. +1
    -0
      themes/default/main.html.php
  39. +30
    -0
      themes/lingonberry/404-search.html.php
  40. +30
    -0
      themes/lingonberry/404.html.php
  41. +12
    -0
      themes/lingonberry/css/fontello/LICENSE.txt
  42. +75
    -0
      themes/lingonberry/css/fontello/README.txt
  43. +58
    -0
      themes/lingonberry/css/fontello/config.json
  44. +85
    -0
      themes/lingonberry/css/fontello/css/animation.css
  45. +9
    -0
      themes/lingonberry/css/fontello/css/fontello-codes.css
  46. +62
    -0
      themes/lingonberry/css/fontello/css/fontello-embedded.css
  47. +9
    -0
      themes/lingonberry/css/fontello/css/fontello-ie7-codes.css
  48. +20
    -0
      themes/lingonberry/css/fontello/css/fontello-ie7.css
  49. +65
    -0
      themes/lingonberry/css/fontello/css/fontello.css
  50. +318
    -0
      themes/lingonberry/css/fontello/demo.html
  51. BIN
      themes/lingonberry/css/fontello/font/fontello.eot
  52. +26
    -0
      themes/lingonberry/css/fontello/font/fontello.svg
  53. BIN
      themes/lingonberry/css/fontello/font/fontello.ttf
  54. BIN
      themes/lingonberry/css/fontello/font/fontello.woff
  55. BIN
      themes/lingonberry/css/fontello/font/fontello.woff2
  56. +70
    -0
      themes/lingonberry/css/normalize.css
  57. +2491
    -0
      themes/lingonberry/css/style.css
  58. BIN
      themes/lingonberry/images/logo.jpg
  59. +58
    -0
      themes/lingonberry/js/global.js
  60. +77
    -0
      themes/lingonberry/js/lazy.js
  61. +17
    -0
      themes/lingonberry/js/theme-customizer.js
  62. +135
    -0
      themes/lingonberry/layout.html.php
  63. +153
    -0
      themes/lingonberry/main.html.php
  64. +30
    -0
      themes/lingonberry/no-posts.html.php
  65. +110
    -0
      themes/lingonberry/post.html.php
  66. +3
    -0
      themes/lingonberry/profile.html.php
  67. +30
    -0
      themes/lingonberry/static.html.php

+ 9
- 6
README.md View File

@ -20,6 +20,7 @@ Changes
- Several minor changes.
Be Aware of Downsides!!
---------
These changes are hard-coded in the systems-folder of HTMLy. You cannot update to new versions of HTMLy anymore.
@ -33,18 +34,20 @@ For copyright notice please read [COPYRIGHT.txt](https://github.com/danpros/html
## Screenshots
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/tumbly-create-posts.png)
Dashboard after login. In most cases, you will want to create a new blog post. So show this first...
Dashboard after login. In most cases, you will want to create a new blog post. So show this first. The main-menu at the top is strictly reduced to content creation, now. All admin features (backups, imports, configs, profile) are hidden under "tools". You can display the categories in the configs. In this case, there will be a new menu link for categories next to drafts.
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/tumbly-create-posts.png)
The input fields are reduced to the ground: Title, featured content and main content. You can add all other fields (date, tags, categories, url) in the configs. The featured field has now its own toolbar to make the editing process more confortable.
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/tumbly-create-image-posts.png)
The input fields are reduced to the ground: Title, featured content and main content. You can add all other fields (date, tags, categories, url) in the configs. If you activate categories, then there will be a new menu link for categories next to drafts. Updates, configs, mine, backups, profile are less important and can be found under "tools".
Pages are completely seperated now. I suppose you will create some static pages if you start your blog, but you will nearly never change them again...
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/tumbly-create-page.png)
I ported the lingonberry theme by [Anders Noren](http://www.andersnoren.se) to TUMBLy/HTMLy, because it is very clean and focuses on different post types. I think it is most comfortable for editors, if they find links to edit and add posts in the frontend, if they are logged in.
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/tumbly-create-page.png)
![Dashboard](https://raw.githubusercontent.com/trendschau/tumbly/master/system/resources/images/lingonberry-theme.png)
Pages are completely seperated now. I suppose you will create some static pages if you start your blog, but you will nearly never change them again...
Have fun!!

+ 3894
- 0
cache/ca_bundle.crt
File diff suppressed because it is too large
View File


+ 1
- 0
cache/downloadInfo.json
File diff suppressed because it is too large
View File


+ 1
- 0
cache/index/index-author.txt View File

@ -0,0 +1 @@
a:0:{}

+ 1
- 0
cache/index/index-category.txt View File

@ -0,0 +1 @@
a:0:{}

+ 1
- 0
cache/index/index-page.txt View File

@ -0,0 +1 @@
a:1:{i:0;s:30:"content/static/example-page.md";}

+ 1
- 0
cache/index/index-sorted.txt View File

@ -0,0 +1 @@
a:7:{i:0;a:4:{s:7:"dirname";s:38:"content/admin/blog/uncategorized/image";s:8:"basename";s:40:"2017-02-21-18-33-58_hidden_image-post.md";s:9:"extension";s:2:"md";s:8:"filename";s:37:"2017-02-21-18-33-58_hidden_image-post";}i:1;a:4:{s:7:"dirname";s:38:"content/admin/blog/uncategorized/audio";s:8:"basename";s:45:"2017-02-20-18-56-45_hidden_vimeo-link-post.md";s:9:"extension";s:2:"md";s:8:"filename";s:42:"2017-02-20-18-56-45_hidden_vimeo-link-post";}i:2;a:4:{s:7:"dirname";s:38:"content/admin/blog/uncategorized/quote";s:8:"basename";s:40:"2017-02-20-18-34-42_hidden_quote-post.md";s:9:"extension";s:2:"md";s:8:"filename";s:37:"2017-02-20-18-34-42_hidden_quote-post";}i:3;a:4:{s:7:"dirname";s:38:"content/admin/blog/uncategorized/video";s:8:"basename";s:41:"2017-02-19-14-24-17_hidden_video-title.md";s:9:"extension";s:2:"md";s:8:"filename";s:38:"2017-02-19-14-24-17_hidden_video-title";}i:4;a:4:{s:7:"dirname";s:37:"content/admin/blog/uncategorized/post";s:8:"basename";s:48:"2017-02-18-22-23-25_hidden_link-image-in-body.md";s:9:"extension";s:2:"md";s:8:"filename";s:45:"2017-02-18-22-23-25_hidden_link-image-in-body";}i:5;a:4:{s:7:"dirname";s:37:"content/admin/blog/uncategorized/link";s:8:"basename";s:39:"2017-02-17-18-35-40_hidden_link-post.md";s:9:"extension";s:2:"md";s:8:"filename";s:36:"2017-02-17-18-35-40_hidden_link-post";}i:6;a:4:{s:7:"dirname";s:38:"content/admin/blog/uncategorized/video";s:8:"basename";s:41:"2017-02-16-18-11-04_hidden_vimeo-video.md";s:9:"extension";s:2:"md";s:8:"filename";s:38:"2017-02-16-18-11-04_hidden_vimeo-video";}}

+ 1
- 0
cache/index/index-sub-page.txt View File

@ -0,0 +1 @@
a:0:{}

+ 1
- 0
cache/index/index-unsorted.txt View File

@ -0,0 +1 @@
a:7:{i:0;s:84:"content/admin/blog/uncategorized/audio/2017-02-20-18-56-45_hidden_vimeo-link-post.md";i:1;s:79:"content/admin/blog/uncategorized/image/2017-02-21-18-33-58_hidden_image-post.md";i:2;s:77:"content/admin/blog/uncategorized/link/2017-02-17-18-35-40_hidden_link-post.md";i:3;s:86:"content/admin/blog/uncategorized/post/2017-02-18-22-23-25_hidden_link-image-in-body.md";i:4;s:79:"content/admin/blog/uncategorized/quote/2017-02-20-18-34-42_hidden_quote-post.md";i:5;s:80:"content/admin/blog/uncategorized/video/2017-02-16-18-11-04_hidden_vimeo-video.md";i:6;s:80:"content/admin/blog/uncategorized/video/2017-02-19-14-24-17_hidden_video-title.md";}

+ 1
- 0
cache/widget/category.list.cache View File

@ -0,0 +1 @@
a:1:{i:0;a:2:{i:0;s:13:"uncategorized";i:1;s:13:"Uncategorized";}}

+ 48
- 0
cache/widget/recent.cache View File

@ -0,0 +1,48 @@
a:7:{i:0;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:5:"image";s:4:"date";i:1487698438;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:42:"http://localhost/tumbly/2017/02/image-post";s:4:"file";s:79:"content/admin/blog/uncategorized/image/2017-02-21-18-33-58_hidden_image-post.md";s:5:"title";s:10:"Image Post";s:5:"image";s:162:"<p><img src="http://localhost/tumbly/content/images/20170222173511-f11e26460239c8e81d809d3abcc49edd9b0ddeac-photo.jpeg" alt="enter image description here" /></p>
";s:5:"video";N;s:4:"link";N;s:5:"quote";N;s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:221:"<p>This is an image post. You can add one featured image at the top. Simply use the image button in the edit bar to upload your favourite image. Keep in mind, that you can add only one image in a featured image post.</p>
";s:5:"views";N;s:11:"description";s:149:"This is an image post. You can add one featured image at the top. Simply use the image button in the edit bar to upload your favourite image. Keep in";}i:1;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:5:"audio";s:4:"date";i:1487613405;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:47:"http://localhost/tumbly/2017/02/vimeo-link-post";s:4:"file";s:84:"content/admin/blog/uncategorized/audio/2017-02-20-18-56-45_hidden_vimeo-link-post.md";s:5:"title";s:15:"Soundcloud Post";s:5:"image";N;s:5:"video";N;s:4:"link";N;s:5:"quote";N;s:5:"audio";s:49:"https://soundcloud.com/postmalone/congratulations";s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:189:"<p>This is a post with a featured audio-file. You can add only one audio file from soundcloud. To add the file, just copy and paste the url of soundcloud into the featured audio field.</p>
";s:5:"views";N;s:11:"description";s:139:"This is a post with a featured audio-file. You can add only one audio file from soundcloud. To add the file, just copy and paste the url of";}i:2;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:5:"quote";s:4:"date";i:1487612082;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:42:"http://localhost/tumbly/2017/02/quote-post";s:4:"file";s:79:"content/admin/blog/uncategorized/quote/2017-02-20-18-34-42_hidden_quote-post.md";s:5:"title";s:10:"Quote Post";s:5:"image";N;s:5:"video";N;s:4:"link";N;s:5:"quote";s:62:"The good life is one inspired by love and guided by knowledge.";s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:113:"<p>This is a quote from Bertrand Russel. Actually, you cannot add a cite to the quote, which is a bit pitty.</p>
";s:5:"views";N;s:11:"description";s:105:"This is a quote from Bertrand Russel. Actually, you cannot add a cite to the quote, which is a bit pitty.";}i:3;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:5:"video";s:4:"date";i:1487510657;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:43:"http://localhost/tumbly/2017/02/video-title";s:4:"file";s:80:"content/admin/blog/uncategorized/video/2017-02-19-14-24-17_hidden_video-title.md";s:5:"title";s:21:"Lisa LeBlanc on vimeo";s:5:"image";N;s:5:"video";a:3:{i:0;s:27:"https://vimeo.com/118849608";i:1;s:5:"vimeo";i:2;s:9:"118849608";}s:4:"link";N;s:5:"quote";N;s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:365:"<p>This nice song is also available on vimeo. So, if YouTube is down again, you still have the option to make your day a bit more bright.</p>
<p>To add a vimeo-video, simply paste the vimeo url into the featured input field. In the lingonberry theme, all videos are loaded only if the user clicks on the play button. This is good for your website-performance.</p>
";s:5:"views";N;s:11:"description";s:143:"This nice song is also available on vimeo. So, if YouTube is down again, you still have the option to make your day a bit more bright. To add a";}i:4;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:4:"post";s:4:"date";i:1487453005;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:50:"http://localhost/tumbly/2017/02/link-image-in-body";s:4:"file";s:86:"content/admin/blog/uncategorized/post/2017-02-18-22-23-25_hidden_link-image-in-body.md";s:5:"title";s:13:"Ordinary Text";s:5:"image";N;s:5:"video";N;s:4:"link";N;s:5:"quote";N;s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:1024:"<p>This is an ordinary text. An ordinary text has a lot of different formatting options. You can set text to <strong>bold</strong> or <em>italic</em>, or you can create an unordered list like this:</p>
<ul>
<li>This is an </li>
<li>unordered </li>
<li>list</li>
</ul>
<p>An ordered list is possible as well:</p>
<ol>
<li>This is an </li>
<li>ordered </li>
<li>list</li>
</ol>
<p>Another nice options are blockquotes,</p>
<blockquote>
<p>if you want to reuse some smart thoughts.</p>
</blockquote>
<h2>Headlines</h2>
<p>You can add headlines with some underscores ("----") or with simple hashtags (##)</p>
<h2>Advanced options</h2>
<p>You have the possibility to preformat your text.</p>
<p><code>This is a nice option for code examples.</code></p>
<p>And finally, there are some smart options to add <a href="http://dotheco.de">links</a> or even images wherever you want.</p>
<p><img src="http://localhost/tumbly/content/images/20170221131529-tumbly-create-posts.png" alt="enter image description here" /></p>
";s:5:"views";N;s:11:"description";s:142:"This is an ordinary text. An ordinary text has a lot of different formatting options. You can set text to bold or italic, or you can create an";}i:5;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:4:"link";s:4:"date";i:1487352940;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:41:"http://localhost/tumbly/2017/02/link-post";s:4:"file";s:77:"content/admin/blog/uncategorized/link/2017-02-17-18-35-40_hidden_link-post.md";s:5:"title";s:9:"Link Post";s:5:"image";N;s:5:"video";N;s:4:"link";s:58:"<p><a href="http://trendschau.net">This is a link</a></p>
";s:5:"quote";N;s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:109:"<p>This is a post with a featured link at the top. You can add only one link per post. So choose wisely.</p>
";s:5:"views";N;s:11:"description";s:101:"This is a post with a featured link at the top. You can add only one link per post. So choose wisely.";}i:6;O:8:"stdClass":22:{s:8:"category";s:74:"<a href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:9:"categoryb";s:105:"<a property="v:title" rel="v:url" href="http://localhost/tumbly/category/uncategorized">Uncategorized</a>";s:2:"ct";s:13:"uncategorized";s:6:"author";s:5:"admin";s:9:"authorUrl";s:36:"http://localhost/tumbly/author/admin";s:4:"type";s:5:"video";s:4:"date";i:1487265064;s:7:"archive";s:39:"http://localhost/tumbly/archive/2017-02";s:3:"url";s:43:"http://localhost/tumbly/2017/02/vimeo-video";s:4:"file";s:80:"content/admin/blog/uncategorized/video/2017-02-16-18-11-04_hidden_vimeo-video.md";s:5:"title";s:25:"Music Video from Montreal";s:5:"image";N;s:5:"video";a:3:{i:0;s:43:"https://www.youtube.com/watch?v=s8qj4TFkzfo";i:1;s:7:"youtube";i:2;s:11:"s8qj4TFkzfo";}s:4:"link";N;s:5:"quote";N;s:5:"audio";N;s:3:"tag";s:65:"<a rel="tag" href="http://localhost/tumbly/tag/hidden">hidden</a>";s:4:"tagb";s:121:"<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="http://localhost/tumbly/tag/hidden">hidden</a></span>";s:7:"related";s:6:"hidden";s:4:"body";s:432:"<p>This is Lisa Le Blanc, a singer and song writer from Montreal, Canada. She makes some kind of folk music with a revolutionary attitude. Partly french, partly english. That is how the canadians are.</p>
<p>To add a YouTube-video, simply paste the YouTube url into the featured input field. In the lingonberry theme, all videos are loaded only if the user clicks on the play button. This is good for your website-performance.</p>
";s:5:"views";N;s:11:"description";s:142:"This is Lisa Le Blanc, a singer and song writer from Montreal, Canada. She makes some kind of folk music with a revolutionary attitude. Partly";}}

+ 8
- 8
config/config.ini View File

@ -1,5 +1,5 @@
; The URL of your blog. Include the http or https if you are using Facebook or Disqus comment.
site.url = ""
site.url = "http://localhost/tumbly/"
; Your timezone
timezone = "Europe/Berlin"
@ -20,10 +20,10 @@ static.frontpage = "false"
blog.enable = "false"
; Social account
social.twitter = "https://twitter.com"
social.facebook = "https://www.facebook.com"
social.google = "https://plus.google.com"
social.tumblr = "http://www.tumblr.com"
social.twitter = ""
social.facebook = ""
social.google = ""
social.tumblr = ""
; Custom menu link.
; See example below:
@ -77,10 +77,10 @@ category.info = "true"
related.count = "3"
; Recent posts
recent.count = "5"
recent.count = "10"
; Popular posts
popular.count = "5"
popular.count = "10"
; Author info on blog post. Set "true" or "false".
author.info = "true"
@ -138,7 +138,7 @@ generation.time = "false"
cache.timestamp = "false"
; Set the theme here
views.root = "themes/twentysixteen"
views.root = "themes/lingonberry"
; Framework config. No need to edit.
views.layout = "layout"


+ 2
- 8
config/users/admin.ini View File

@ -1,9 +1,3 @@
;Password
password = yourpassword
encryption = clear
; encryption: not set, leave blank or set to clear or none to use plain text password for the user,
; else set to encryption algoritm supported by hash function of php to use the selected
; encryption
;Role
password = $2y$10$B3CnvLzdqMqiSEwdXSQfpe1WVkT.J4lpyf5MQDYzpZS69J8LMDSSy
encryption = password_hash
role = admin

+ 6
- 0
content/admin/blog/uncategorized/audio/2017-02-20-18-56-45_hidden_vimeo-link-post.md View File

@ -0,0 +1,6 @@
<!--t Soundcloud Post t-->
<!--d d-->
<!--tag hidden tag-->
<!--audio https://soundcloud.com/postmalone/congratulations audio-->
This is a post with a featured audio-file. You can add only one audio file from soundcloud. To add the file, just copy and paste the url of soundcloud into the featured audio field.

+ 6
- 0
content/admin/blog/uncategorized/image/2017-02-21-18-33-58_hidden_image-post.md View File

@ -0,0 +1,6 @@
<!--t Image Post t-->
<!--d d-->
<!--tag hidden tag-->
<!--image ![enter image description here][1] [1]: http://localhost/tumbly/content/images/20170222173511-f11e26460239c8e81d809d3abcc49edd9b0ddeac-photo.jpeg image-->
This is an image post. You can add one featured image at the top. Simply use the image button in the edit bar to upload your favourite image. Keep in mind, that you can add only one image in a featured image post.

+ 6
- 0
content/admin/blog/uncategorized/link/2017-02-17-18-35-40_hidden_link-post.md View File

@ -0,0 +1,6 @@
<!--t Link Post t-->
<!--d d-->
<!--tag hidden tag-->
<!--link [This is a link][1] [1]: http://trendschau.net link-->
This is a post with a featured link at the top. You can add only one link per post. So choose wisely.

+ 36
- 0
content/admin/blog/uncategorized/post/2017-02-18-22-23-25_hidden_link-image-in-body.md View File

@ -0,0 +1,36 @@
<!--t Ordinary Text t-->
<!--d d-->
<!--tag hidden tag-->
This is an ordinary text. An ordinary text has a lot of different formatting options. You can set text to **bold** or *italic*, or you can create an unordered list like this:
- This is an
- unordered
- list
An ordered list is possible as well:
1. This is an
2. ordered
3. list
Another nice options are blockquotes,
>if you want to reuse some smart thoughts.
Headlines
---------
You can add headlines with some underscores ("----") or with simple hashtags (##)
##Advanced options
You have the possibility to preformat your text.
`This is a nice option for code examples.`
And finally, there are some smart options to add [links][1] or even images wherever you want.
![enter image description here][2]
[1]: http://dotheco.de
[2]: http://localhost/tumbly/content/images/20170221131529-tumbly-create-posts.png

+ 6
- 0
content/admin/blog/uncategorized/quote/2017-02-20-18-34-42_hidden_quote-post.md View File

@ -0,0 +1,6 @@
<!--t Quote Post t-->
<!--d d-->
<!--tag hidden tag-->
<!--quote The good life is one inspired by love and guided by knowledge. quote-->
This is a quote from Bertrand Russel. Actually, you cannot add a cite to the quote, which is a bit pitty.

+ 8
- 0
content/admin/blog/uncategorized/video/2017-02-16-18-11-04_hidden_vimeo-video.md View File

@ -0,0 +1,8 @@
<!--t Music Video from Montreal t-->
<!--d d-->
<!--tag hidden tag-->
<!--video https://www.youtube.com/watch?v=s8qj4TFkzfo video-->
This is Lisa Le Blanc, a singer and song writer from Montreal, Canada. She makes some kind of folk music with a revolutionary attitude. Partly french, partly english. That is how the canadians are.
To add a YouTube-video, simply paste the YouTube url into the featured input field. In the lingonberry theme, all videos are loaded only if the user clicks on the play button. This is good for your website-performance.

+ 9
- 0
content/admin/blog/uncategorized/video/2017-02-19-14-24-17_hidden_video-title.md View File

@ -0,0 +1,9 @@
<!--t Lisa LeBlanc on vimeo t-->
<!--d d-->
<!--tag hidden tag-->
<!--video https://vimeo.com/118849608 video-->
This nice song is also available on vimeo. So, if YouTube is down again, you still have the option to make your day a bit more bright.
To add a vimeo-video, simply paste the vimeo url into the featured input field. In the lingonberry theme, all videos are loaded only if the user clicks on the play button. This is good for your website-performance.

+ 1
- 0
content/data/tags.lang View File

@ -0,0 +1 @@
a:1:{s:6:"hidden";s:6:"hidden";}

BIN
content/images/20170220183339-logo-big.png View File

Before After
Width: 333  |  Height: 100  |  Size: 3.3 KiB

BIN
content/images/20170220222313-logo-small.png View File

Before After
Width: 100  |  Height: 100  |  Size: 1.3 KiB

BIN
content/images/20170221113118-logo-big.png View File

Before After
Width: 333  |  Height: 100  |  Size: 3.3 KiB

BIN
content/images/20170221113612-logo-big.png View File

Before After
Width: 333  |  Height: 100  |  Size: 3.3 KiB

BIN
content/images/20170221131529-tumbly-create-posts.png View File

Before After
Width: 1351  |  Height: 903  |  Size: 64 KiB

BIN
content/images/20170222173511-f11e26460239c8e81d809d3abcc49edd9b0ddeac-photo.jpeg View File

Before After
Width: 750  |  Height: 422  |  Size: 40 KiB

+ 35
- 0
content/static/example-page.md View File

@ -0,0 +1,35 @@
<!--t Example Page t-->
<!--d d-->
This is an example for a static page. A static page has a lot of different formatting options. You can set text to **bold** or *italic*, or you can create an unordered list like this:
- This is an
- unordered
- list
An ordered list is possible as well:
1. This is an
2. ordered
3. list
Another nice options are blockquotes,
>if you want to reuse some smart thoughts.
Headlines
---------
You can add headlines with some underscores ("----") or with simple hashtags (##)
##Advanced options
You have the possibility to preformat your text.
`This is a nice option for code examples.`
And finally, there are some smart options to add [links][1] or even images wherever you want.
![enter image description here][2]
[1]: http://dotheco.de
[2]: http://localhost/tumbly/content/images/20170221131529-tumbly-create-posts.png

+ 1
- 1
system/admin/admin.php View File

@ -161,7 +161,7 @@ function edit_content($title, $tag, $url, $content, $oldfile, $destination = nul
}
$post_title = safe_html($title);
$post_media = preg_replace('/\s\s+/', ' ', strip_tags($media));
$post_media = preg_replace('/\s\s+/', ' ', strip_tags($media));
$pt = safe_tag($tag);
$post_tag = strtolower(preg_replace(array('/[^a-zA-Z0-9,. \-\p{L}]/u', '/[ -]+/', '/^-|-$/'), array('', '-', ''), remove_accent($pt)));
$post_tagmd = preg_replace(array('/[^a-zA-Z0-9,. \-\p{L}]/u', '/[ -]+/', '/^-|-$/'), array('', ' ', ''), $pt);


+ 1
- 0
system/admin/views/login.html.php View File

@ -24,6 +24,7 @@
<?php endif; ?>
<input type="submit" name="submit" value="Login"/>
</form>
<small>Or go back to <a href="<?php echo site_url(); ?>">Startpage</a></small>
<?php } else {
header('location: admin');
} ?>

+ 6
- 4
system/admin/views/partials/input-fields.html.php View File

@ -83,16 +83,16 @@ if($type == 'is_post' || $type == 'is_video' || $type == 'is_audio' || $type ==
<?php if ($type == 'is_audio'):?>
<div id="audioEditor" class="formElement">
<label for="audio">Featured Audio <span class="required">*</span> <span class="inforight"> (iframe-code of soundcloud)</span></label>
<textarea id="wmd-input-feature" rows="3" cols="20" class="text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" name="audio"><?php if (isset($postAudio)) { echo $postAudio;} elseif(isset($oldaudio)){ echo $oldaudio; } ?></textarea>
<label for="audio">Featured Audio <span class="required">*</span> <span class="inforight"> (add soundcloud url)</span></label>
<textarea id="wmd-input-feature" rows="3" cols="20" placeholder="https://soundcloud.com/bonsound/01-you-look-like-trouble-but-i" class="text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" name="audio"><?php if (isset($postAudio)) { echo $postAudio;} elseif(isset($oldaudio)){ echo $oldaudio; } ?></textarea>
<input type="hidden" name="is_audio" value="is_audio">
</div>
<?php endif;?>
<?php if ($type == 'is_video'):?>
<div id="videoEditor" class="formElement">
<label for="video">Featured Video <span class="required">*</span> <span class="inforight"> (iframe-code of YouTube/vimeo)</span></label>
<textarea id="wmd-input-feature" rows="3" cols="20" class="text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" name="video"><?php if (isset($postVideo)) { echo $postVideo;} elseif(isset($oldvideo)){echo $oldvideo; } ?></textarea>
<label for="video">Featured Video <span class="required">*</span> <span class="inforight"> (add vimeo or youtube url)</span></label>
<textarea id="wmd-input-feature" rows="3" cols="20" placeholder="https://www.youtube.com/watch?v=s8qj4TFkzfo" class="text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" name="video"><?php if (isset($postVideo)) { echo $postVideo;} elseif(isset($oldvideo)){echo $oldvideo; } ?></textarea>
<input type="hidden" name="is_video" value="is_video">
</div>
<?php endif;?>
@ -101,6 +101,7 @@ if($type == 'is_post' || $type == 'is_video' || $type == 'is_audio' || $type ==
<div id="imageEditor" class="formElement">
<label>Featured Image <span class="required">*</span></label>
<div id="wmd-button-bar-image" class="wmd-button-bar"></div>
<?php if(isset($oldimage)){ $oldimage = implode("[1]\n[1]",preg_split("/\[\d+\](?: )\[\d+\]/", $oldimage)); } ?>
<textarea id="wmd-input-image" rows="3" cols="20" class="text <?php if (isset($postImage)) { if (empty($postImage)) { echo 'error';} } ?>" name="image"><?php if (isset($postImage)) { echo $postImage;} elseif(isset($oldimage)){echo $oldimage;} ?></textarea>
<input type="hidden" name="is_image" value="is_image">
</div>
@ -118,6 +119,7 @@ if($type == 'is_post' || $type == 'is_video' || $type == 'is_audio' || $type ==
<div id="linkEditor" class="formElement">
<label>Featured Link <span class="required">*</span></label>
<div id="wmd-button-bar-link" class="wmd-button-bar"></div>
<?php if(isset($oldlink)){ $oldlink = implode("[1]\n[1]",preg_split("/\[\d+\](?: )\[\d+\]/", $oldlink)); } ?>
<textarea rows="3" id="wmd-input-link" cols="20" class="text <?php if (isset($postLink)) { if (empty($postLink)) { echo 'error';} } ?>" name="link"><?php if (isset($postLink)) { echo $postLink;} elseif(isset($oldlink)){ echo $oldlink; } ?></textarea>
<input type="hidden" name="is_link" value="is_link">
</div>


+ 13
- 2
system/admin/views/partials/post-list.html.php View File

@ -1,5 +1,6 @@
<table class="post-list">
<tr class="head">
<th>Type</th>
<th>Title</th>
<th>Created or Published</th>
<?php if (config("views.counter") == "true"): ?>
@ -13,6 +14,15 @@
</tr>
<?php $i = 0; $len = count($posts); ?>
<?php foreach ($posts as $p): ?>
<?php
if($p->type == "post"){$icon = "doc-text";}
elseif($p->type == "video"){$icon = "videocam";}
elseif($p->type == "audio"){$icon = "music";}
elseif($p->type == "image"){$icon = "camera";}
elseif($p->type == "link"){$icon = "link";}
elseif($p->type == "quote"){$icon = "chat-empty";}
else{$icon = "";}
?>
<?php
if ($i == 0) {
$class = 'item first';
@ -24,7 +34,8 @@
$i++;
?>
<tr class="<?php echo $class ?>">
<td><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></td>
<td><i class="icon-<?php echo $icon; ?>"></i></td>
<td><a href="<?php echo $p->url ?>/edit?destination=<?php echo $actionDestination; ?>"><?php echo $p->title ?></a></td>
<td><?php echo date('d F Y', $p->date) ?></td>
<?php if (config("views.counter") == "true"): ?>
<td><?php echo $p->views ?></td>
@ -33,7 +44,7 @@
<?php if (config("input.showTag") == "true"): ?>
<td><?php echo $p->tag ?></td>
<?php endif; ?>
<td><a href="<?php echo $p->url ?>/edit?destination=<?php echo $actionDestination; ?>">Edit</a> | <a href="<?php echo $p->url ?>/delete?destination=<?php echo $actionDestination; ?>">Delete</a></td>
<td><a href="<?php echo $p->url ?>/edit?destination=<?php echo $actionDestination; ?>">Edit</a> | <a href="<?php echo $p->url ?>/delete?destination=<?php echo $actionDestination; ?>">Delete</a> | <a href="<?php echo $p->url ?>">View</a> </td>
</tr>
<?php endforeach; ?>
</table>


+ 20
- 49
system/admin/views/posts-list.html.php View File

@ -1,49 +1,20 @@
<h2 class="post-index"><?php echo $heading ?></h2>
<?php if (!empty($posts)) { ?>
<table class="post-list">
<tr class="head">
<th>Title</th>
<th>Published</th><?php if (config("views.counter") == "true"): ?>
<th>Views</th><?php endif; ?>
<th>Author</th>
<th>Tag</th>
<th>Operations</th>
</tr>
<?php $i = 0;
$len = count($posts); ?>
<?php foreach ($posts as $p): ?>
<?php
if ($i == 0) {
$class = 'item first';
} elseif ($i == $len - 1) {
$class = 'item last';
} else {
$class = 'item';
}
$i++;
?>
<tr class="<?php echo $class ?>">
<td><a target="_blank" href="<?php echo $p->url ?>"><?php echo $p->title ?></a></td>
<td><?php echo date('d F Y', $p->date) ?></td>
<?php if (config("views.counter") == "true"): ?>
<td><?php echo $p->views ?></td><?php endif; ?>
<td><a target="_blank" href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></td>
<td><?php echo $p->tag ?></td>
<td><a href="<?php echo $p->url ?>/edit?destination=admin/posts">Edit</a> <a
href="<?php echo $p->url ?>/delete?destination=admin/posts">Delete</a></td>
</tr>
<?php endforeach; ?>
</table>
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
<div class="pager">
<?php if (!empty($pagination['prev'])): ?>
<span><a href="?page=<?php echo $page - 1 ?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
<?php endif; ?>
<?php if (!empty($pagination['next'])): ?>
<span><a href="?page=<?php echo $page + 1 ?>" class="pagination-arrow older" rel="next">Older</a></span>
<?php endif; ?>
</div>
<?php endif; ?>
<?php } else {
echo 'No posts found!';
} ?>
<?php include('partials/post-type-navi.html.php'); ?>
<?php
/* Get All Posts */
$page = from($_GET, 'page');
$page = $page ? (int)$page : 1;
$perpage = config('posts.perpage');
$posts = get_posts(null, $page, $perpage);
?>
<div class="content-list">
<?php if (!empty($posts)) : ?>
<?php $actionDestination = 'admin'; ?>
<?php include('partials/post-list.html.php'); ?>
<?php else : ?>
<p>No posts found!</p>
<?php endif; ?>
</div>

+ 74
- 27
system/includes/functions.php View File

@ -312,11 +312,26 @@ function get_posts($posts, $page = 1, $perpage = 0)
// Extract the title and body
$post->title = get_content_tag('t', $content, 'Untitled: ' . date('l jS \of F Y', $post->date));
$post->image = get_content_tag('image', $content);
$post->video = get_youtube_id(get_content_tag('video', $content));
$post->video = get_video_id(get_content_tag('video', $content));
$post->link = get_content_tag('link', $content);
$post->quote = get_content_tag('quote', $content);
$post->audio = get_content_tag('audio', $content);
// link and image are markdown now, so convert it to html
// if($post->link){ $post->link = MarkdownExtra::defaultTransform(remove_html_comments($post->link)); exit; }
if($post->image){
// remove html tags
$post->image = remove_html_comments($post->image);
// add line break for markdown syntax
$post->image = implode("[1]\n[1]",preg_split("/\[\d+\](?: )\[\d+\]/", $post->image));
// transform markdown to html
$post->image = MarkdownExtra::defaultTransform($post->image);
}
if($post->image){ $post->image = transform_string_md_html($post->image); }
if($post->link){ $post->link = transform_string_md_html($post->link); }
$tag = array();
$url = array();
$bc = array();
@ -2759,31 +2774,38 @@ function toolbar()
echo <<<EOF
<link href="{$base}system/resources/css/toolbar.css" rel="stylesheet" />
EOF;
echo '<div id="toolbar"><ul>';
echo '<li><a href="' . $base . 'admin">Admin</a></li>';
if ($role === 'admin') {
echo '<li><a href="' . $base . 'admin/posts">Posts</a></li>';
if (config('views.counter') == 'true') {
echo '<li><a href="' . $base . 'admin/popular">Popular</a></li>';
}
}
echo '<div id="toolbar">';
echo '<div class="toolbarInner">';
echo '<ul class="mainTools">';
echo '<li><a href="' . $base . 'admin">Posts</a></li>';
echo '<li><a href="' . $base . 'admin/content">Pages</a></li>';
echo '<li><a href="' . $base . 'admin/drafts">Drafts</a></li>';
if (config('input.showCat') == 'true'){
echo '<li><a href="' . $base . 'admin/categories">Categories</a></li>';
}
echo '</ul>';
echo '<ul class="adminTools">';
echo '<li><a href="' . $base . '">Go To Front</a></li>';
echo '<li class="dropDown"><a href="#">Tools</a>';
echo '<ul class="dropdownItems">';
echo '<li><a href="' . $base . 'admin/clear-cache">Clear Cache</a></li>';
echo '<li><a href="' . $base . 'admin/profile">Profile</a></li>';
echo '<li><a href="' . $base . 'admin/mine">Mine</a></li>';
echo '<li><a href="' . $base . 'admin/draft">Draft</a></li>';
echo '<li><a href="' . $base . 'admin/content">Add content</a></li>';
if ($role === 'admin') {
echo '<li><a href="' . $base . 'admin/categories">Categories</a></li>';
}
echo '<li><a href="' . $base . 'edit/profile">Edit profile</a></li>';
echo '<li><a href="' . $base . 'admin/import">Import</a></li>';
echo '<li><a href="' . $base . 'admin/backup">Backup</a></li>';
if ($role === 'admin') {
echo '<li><a href="' . $base . 'admin/config">Config</a></li>';
}
echo '<li><a href="' . $base . 'admin/clear-cache">Clear cache</a></li>';
echo '<li><a href="' . $base . 'admin/update">Update</a></li>';
echo '<li><a href="' . $base . 'logout">Logout</a></li>';
echo '</ul></div>';
if (config('views.counter') == 'true'){
echo '<li><a href="' . $base . 'admin/popular">Popular</a></li>';
}
if ($role == 'admin'){
echo '<li><a href="' . $base . 'admin/config">Config</a></li>';
echo '<li><a href="' . $base . 'admin/update">Update</a></li>';
echo '<li><a href="' . $base . 'admin/import">Import</a></li>';
echo '<li><a href="' . $base . 'admin/backup">Backup</a></li>';
}
echo '</ul>';
echo '</li>';
echo '<li><a href="' . $base . 'logout">Logout</a></li>';
echo '</ul>';
echo '</div>';
echo '</div>';
}
// File cache
@ -2921,6 +2943,7 @@ function isCaptcha($reCaptchaResponse)
// Get YouTube video ID
function get_youtube_id($url)
{
$url;
if(empty($url)) {
return;
}
@ -2930,6 +2953,18 @@ function get_youtube_id($url)
return $matches[1];
}
function get_video_id($url)
{
$url;
if(empty($url)) {
return;
}
preg_match('/http(?:s):\/\/(?:www.)?(vimeo|youtube).com\/(?:watch\?v=)?(.*?)(?:\z|&)/',$url,$matches);
return $matches;
}
// Shorten the string
function shorten($string = null, $char = null)
{
@ -3081,7 +3116,7 @@ function migrate_old_content()
$arr = explode('/', $v);
$string = file_get_contents($v);
$image = get_content_tag('image', $string);
$video = get_youtube_id(get_content_tag('video', $string));
$video = get_video_id(get_content_tag('video', $string));
$audio = get_content_tag('audio', $string);
$link = get_content_tag('link', $string);
$quote = get_content_tag('quote', $string);
@ -3179,6 +3214,18 @@ function migrate_old_content()
}
function transform_string_md_html($string)
{
// remove html tags
$string = remove_html_comments($string);
// add line break for markdown syntax
$md = implode("[1]\n[1]",preg_split("/\[\d+\](?: )\[\d+\]/", $string));
// transform markdown to html
$html = MarkdownExtra::defaultTransform($md);
return $html;
}
function replace_href($string, $tag, $class, $url)
{


BIN
system/resources/images/lingonberry-theme.png View File

Before After
Width: 1351  |  Height: 4944  |  Size: 1.1 MiB

BIN
system/resources/images/tumbly-create-posts.png View File

Before After
Width: 1351  |  Height: 903  |  Size: 64 KiB Width: 1351  |  Height: 601  |  Size: 47 KiB

+ 1
- 0
themes/blog/main.html.php View File

@ -27,6 +27,7 @@
$class = 'post';
}
$i++; ?>
<?php print_r($p);?>
<section class="post section <?php echo $class ?>" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
<div class="section-inner">
<div class="content">


+ 1
- 0
themes/default/main.html.php View File

@ -1,3 +1,4 @@
<?php if (!empty($breadcrumb)): ?>
<div class="breadcrumb"><?php echo $breadcrumb ?></div>
<?php endif; ?>


+ 30
- 0
themes/lingonberry/404-search.html.php View File

@ -0,0 +1,30 @@
<div class="single post-single">
<div class="content section-inner">
<div class="posts">
<div class="post">
<div class="content-inner">
<div class="post-header">
<h2 class="post-title">No result</h2>
</div>
<div class="post-content">
<p>Sorry, but we didn't find any content for your search term. Please try again.</p>
</div> <!-- /post-content -->
</div> <!-- /content-inner -->
</div> <!-- /post -->
</div> <!-- /posts -->
</div> <!-- /content -->
</div>

+ 30
- 0
themes/lingonberry/404.html.php View File

@ -0,0 +1,30 @@
<div class="single post-single">
<div class="content section-inner">
<div class="posts">
<div class="post">
<div class="content-inner">
<div class="post-header">
<h2 class="post-title">Not found</h2>
</div>
<div class="post-content">
<p>It seems like you have tried to open a page that doesn't exist. It could have been deleted, moved, or it never existed at all.</p>
</div> <!-- /post-content -->
</div> <!-- /content-inner -->
</div> <!-- /post -->
</div> <!-- /posts -->
</div> <!-- /content -->
</div>

+ 12
- 0
themes/lingonberry/css/fontello/LICENSE.txt View File

@ -0,0 +1,12 @@
Font license info
## Font Awesome
Copyright (C) 2016 by Dave Gandy
Author: Dave Gandy
License: SIL ()
Homepage: http://fortawesome.github.com/Font-Awesome/

+ 75
- 0
themes/lingonberry/css/fontello/README.txt View File

@ -0,0 +1,75 @@
This webfont is generated by http://fontello.com open source project.
================================================================================
Please, note, that you should obey original font licenses, used to make this
webfont pack. Details available in LICENSE.txt file.
- Usually, it's enough to publish content of LICENSE.txt file somewhere on your
site in "About" section.
- If your project is open-source, usually, it will be ok to make LICENSE.txt
file publicly available in your repository.
- Fonts, used in Fontello, don't require a clickable link on your site.
But any kind of additional authors crediting is welcome.
================================================================================
Comments on archive content
---------------------------
- /font/* - fonts in different formats
- /css/* - different kinds of css, for all situations. Should be ok with
twitter bootstrap. Also, you can skip <i> style and assign icon classes
directly to text elements, if you don't mind about IE7.
- demo.html - demo file, to show your webfont content
- LICENSE.txt - license info about source fonts, used to build your one.
- config.json - keeps your settings. You can import it back into fontello
anytime, to continue your work
Why so many CSS files ?
-----------------------
Because we like to fit all your needs :)
- basic file, <your_font_name>.css - is usually enough, it contains @font-face
and character code definitions
- *-ie7.css - if you need IE7 support, but still don't wish to put char codes
directly into html
- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
rules, but still wish to benefit from css generation. That can be very
convenient for automated asset build systems. When you need to update font -
no need to manually edit files, just override old version with archive
content. See fontello source code for examples.
- *-embedded.css - basic css file, but with embedded WOFF font, to avoid
CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
server headers. But if you ok with dirty hack - this file is for you. Note,
that data url moved to separate @font-face to avoid problems with <IE9, when
string is too long.
- animate.css - use it to get ideas about spinner rotation animation.
Attention for server setup
--------------------------
You MUST setup server to reply with proper `mime-types` for font files -
otherwise some browsers will fail to show fonts.
Usually, `apache` already has necessary settings, but `nginx` and other
webservers should be tuned. Here is list of mime types for our file extensions:
- `application/vnd.ms-fontobject` - eot
- `application/x-font-woff` - woff
- `application/x-font-ttf` - ttf
- `image/svg+xml` - svg

+ 58
- 0
themes/lingonberry/css/fontello/config.json View File

@ -0,0 +1,58 @@
{
"name": "",
"css_prefix_text": "icon-",
"css_use_suffix": false,
"hinting": true,
"units_per_em": 1000,
"ascent": 850,
"glyphs": [
{
"uid": "9ea0a737ccc45d6c510dcbae56058849",
"css": "music",
"code": 59392,
"src": "fontawesome"
},
{
"uid": "9dd9e835aebe1060ba7190ad2b2ed951",
"css": "search",
"code": 59393,
"src": "fontawesome"
},
{
"uid": "0f99ab40ab0b4d64a74f2d0deeb03e42",
"css": "videocam",
"code": 59394,
"src": "fontawesome"
},
{
"uid": "dc3f1d5b1d006f7f7b3b6295eccab9da",
"css": "camera",
"code": 59395,
"src": "fontawesome"
},
{
"uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1",
"css": "link",
"code": 59396,
"src": "fontawesome"
},
{
"uid": "d35a1d35efeb784d1dc9ac18b9b6c2b6",
"css": "pencil",
"code": 59397,
"src": "fontawesome"
},
{
"uid": "31951fbb9820ed0690f675b3d495c8da",
"css": "chat-empty",
"code": 61670,
"src": "fontawesome"
},
{
"uid": "5408be43f7c42bccee419c6be53fdef5",
"css": "doc-text",
"code": 61686,
"src": "fontawesome"
}
]
}

+ 85
- 0
themes/lingonberry/css/fontello/css/animation.css View File

@ -0,0 +1,85 @@
/*
Animation example, for spinners
*/
.animate-spin {
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
display: inline-block;
}
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
0% {
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-o-keyframes spin {
0% {
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-ms-keyframes spin {
0% {
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes spin {
0% {
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}

+ 9
- 0
themes/lingonberry/css/fontello/css/fontello-codes.css View File

@ -0,0 +1,9 @@
.icon-music:before { content: '\e800'; } /* '' */
.icon-search:before { content: '\e801'; } /* '' */
.icon-videocam:before { content: '\e802'; } /* '' */
.icon-camera:before { content: '\e803'; } /* '' */
.icon-link:before { content: '\e804'; } /* '' */
.icon-pencil:before { content: '\e805'; } /* '' */
.icon-chat-empty:before { content: '\f0e6'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */

+ 62
- 0
themes/lingonberry/css/fontello/css/fontello-embedded.css
File diff suppressed because it is too large
View File


+ 9
- 0
themes/lingonberry/css/fontello/css/fontello-ie7-codes.css View File

@ -0,0 +1,9 @@
.icon-music { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-videocam { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
.icon-camera { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
.icon-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe804;&nbsp;'); }
.icon-pencil { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe805;&nbsp;'); }
.icon-chat-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e6;&nbsp;'); }
.icon-doc-text { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f6;&nbsp;'); }

+ 20
- 0
themes/lingonberry/css/fontello/css/fontello-ie7.css View File

@ -0,0 +1,20 @@
[class^="icon-"], [class*=" icon-"] {
font-family: 'fontello';
font-style: normal;
font-weight: normal;
/* fix buttons height */
line-height: 1em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
}
.icon-music { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-videocam { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
.icon-camera { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
.icon-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe804;&nbsp;'); }
.icon-pencil { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe805;&nbsp;'); }
.icon-chat-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e6;&nbsp;'); }
.icon-doc-text { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f6;&nbsp;'); }

+ 65
- 0
themes/lingonberry/css/fontello/css/fontello.css View File

@ -0,0 +1,65 @@
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?73923288');
src: url('../font/fontello.eot?73923288#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?73923288') format('woff2'),
url('../font/fontello.woff?73923288') format('woff'),
url('../font/fontello.ttf?73923288') format('truetype'),
url('../font/fontello.svg?73923288#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?73923288#fontello') format('svg');
}
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-music:before { content: '\e800'; } /* '' */
.icon-search:before { content: '\e801'; } /* '' */
.icon-videocam:before { content: '\e802'; } /* '' */
.icon-camera:before { content: '\e803'; } /* '' */
.icon-link:before { content: '\e804'; } /* '' */
.icon-pencil:before { content: '\e805'; } /* '' */
.icon-chat-empty:before { content: '\f0e6'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */

+ 318
- 0
themes/lingonberry/css/fontello/demo.html View File

@ -0,0 +1,318 @@
<!DOCTYPE html>
<html>
<head><!--[if lt IE 9]><script language="javascript" type="text/javascript" src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<meta charset="UTF-8"><style>/*
* Bootstrap v2.2.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
line-height: 0;
}
.clearfix:after {
clear: both;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
a:hover,
a:active {
outline: 0;
}
button,
input,
select,
textarea {
margin: 0;
font-size: 100%;
vertical-align: middle;
}
button,
input {
*overflow: visible;
line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
padding: 0;
border: 0;
}
body {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333;
background-color: #fff;
}
a {
color: #08c;
text-decoration: none;
}
a:hover {
color: #005580;
text-decoration: underline;
}
.row {
margin-left: -20px;
*zoom: 1;
}
.row:before,
.row:after {
display: table;
content: "";
line-height: 0;
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
min-height: 1px;
margin-left: 20px;
}
.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
width: 940px;
}
.span12 {
width: 940px;
}
.span11 {
width: 860px;
}
.span10 {
width: 780px;
}
.span9 {
width: 700px;
}
.span8 {
width: 620px;
}
.span7 {
width: 540px;
}
.span6 {
width: 460px;
}
.span5 {
width: 380px;
}
.span4 {
width: 300px;
}
.span3 {
width: 220px;
}
.span2 {
width: 140px;
}
.span1 {
width: 60px;
}
[class*="span"].pull-right,
.row-fluid [class*="span"].pull-right {
float: right;
}
.container {
margin-right: auto;
margin-left: auto;
*zoom: 1;
}
.container:before,
.container:after {
display: table;
content: "";
line-height: 0;
}
.container:after {
clear: both;
}
p {
margin: 0 0 10px;
}
.lead {
margin-bottom: 20px;
font-size: 21px;
font-weight: 200;
line-height: 30px;
}
small {
font-size: 85%;
}
h1 {
margin: 10px 0;
font-family: inherit;
font-weight: bold;
line-height: 20px;
color: inherit;
text-rendering: optimizelegibility;
}
h1 small {
font-weight: normal;
line-height: 1;
color: #999;
}
h1 {
line-height: 40px;
}
h1 {
font-size: 38.5px;
}
h1 small {
font-size: 24.5px;
}
body {
margin-top: 90px;
}
.header {
position: fixed;
top: 0;
left: 50%;
margin-left: -480px;
background-color: #fff;
border-bottom: 1px solid #ddd;
padding-top: 10px;
z-index: 10;
}
.footer {
color: #ddd;
font-size: 12px;
text-align: center;
margin-top: 20px;
}
.footer a {
color: #ccc;
text-decoration: underline;
}
.the-icons {
font-size: 14px;
line-height: 24px;
}
.switch {
position: absolute;
right: 0;
bottom: 10px;
color: #666;
}
.switch input {
margin-right: 0.3em;
}
.codesOn .i-name {
display: none;
}
.codesOn .i-code {
display: inline;
}
.i-code {
display: none;
}
@font-face {
font-family: 'fontello';
src: url('./font/fontello.eot?62149540');
src: url('./font/fontello.eot?62149540#iefix') format('embedded-opentype'),
url('./font/fontello.woff?62149540') format('woff'),
url('./font/fontello.ttf?62149540') format('truetype'),
url('./font/fontello.svg?62149540#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
.demo-icon
{
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* You can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
</style>
<link rel="stylesheet" href="css/animation.css"><!--[if IE 7]><link rel="stylesheet" href="css/fontello-ie7.css"><![endif]-->
<script>
function toggleCodes(on) {
var obj = document.getElementById('icons');
if (on) {
obj.className += ' codesOn';
} else {
obj.className = obj.className.replace(' codesOn', '');
}
}
</script>
</head>
<body>
<div class="container header">
<h1>
fontello
<small>font demo</small>
</h1>
<label class="switch">
<input type="checkbox" onclick="toggleCodes(this.checked)">show codes
</label>
</div>
<div id="icons" class="container">
<div class="row">
<div title="Code: 0xe800" class="the-icons span3"><i class="demo-icon icon-music">&#xe800;</i> <span class="i-name">icon-music</span><span class="i-code">0xe800</span></div>
<div title="Code: 0xe801" class="the-icons span3"><i class="demo-icon icon-search">&#xe801;</i> <span class="i-name">icon-search</span><span class="i-code">0xe801</span></div>
<div title="Code: 0xe802" class="the-icons span3"><i class="demo-icon icon-videocam">&#xe802;</i> <span class="i-name">icon-videocam</span><span class="i-code">0xe802</span></div>
<div title="Code: 0xe803" class="the-icons span3"><i class="demo-icon icon-camera">&#xe803;</i> <span class="i-name">icon-camera</span><span class="i-code">0xe803</span></div>
</div>
<div class="row">
<div title="Code: 0xe804" class="the-icons span3"><i class="demo-icon icon-link">&#xe804;</i> <span class="i-name">icon-link</span><span class="i-code">0xe804</span></div>
<div title="Code: 0xe805" class="the-icons span3"><i class="demo-icon icon-pencil">&#xe805;</i> <span class="i-name">icon-pencil</span><span class="i-code">0xe805</span></div>
<div title="Code: 0xf0e6" class="the-icons span3"><i class="demo-icon icon-chat-empty">&#xf0e6;</i> <span class="i-name">icon-chat-empty</span><span class="i-code">0xf0e6</span></div>
<div title="Code: 0xf0f6" class="the-icons span3"><i class="demo-icon icon-doc-text">&#xf0f6;</i> <span class="i-name">icon-doc-text</span><span class="i-code">0xf0f6</span></div>
</div>
</div>
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
</body>
</html>

BIN
themes/lingonberry/css/fontello/font/fontello.eot View File


+ 26
- 0
themes/lingonberry/css/fontello/font/fontello.svg View File

@ -0,0 +1,26 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2017 by original authors @ fontello.com</metadata>
<defs>
<font id="fontello" horiz-adv-x="1000" >
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="music" unicode="&#xe800;" d="M857 725v-625q0-28-19-50t-48-33-58-18-53-6-54 6-58 18-48 33-19 50 19 50 48 33 58 18 54 6q58 0 107-22v300l-429-132v-396q0-28-19-50t-48-33-58-18-53-6-54 6-58 18-48 33-19 50 19 50 48 34 58 17 54 6q58 0 107-21v539q0 17 10 32t28 20l464 142q7 3 16 3 22 0 38-16t15-38z" horiz-adv-x="857.1" />
<glyph glyph-name="search" unicode="&#xe801;" d="M643 386q0 103-73 176t-177 74-177-74-73-176 73-177 177-73 177 73 73 177z m286-465q0-29-22-50t-50-21q-30 0-50 21l-191 191q-100-69-223-69-80 0-153 31t-125 84-84 125-31 153 31 152 84 126 125 84 153 31 153-31 125-84 84-126 31-152q0-123-69-223l191-191q21-21 21-51z" horiz-adv-x="928.6" />
<glyph glyph-name="videocam" unicode="&#xe802;" d="M1000 654v-608q0-23-22-32-7-3-14-3-15 0-25 10l-225 225v-92q0-67-47-114t-113-47h-393q-67 0-114 47t-47 114v392q0 67 47 114t114 47h393q66 0 113-47t47-114v-92l225 225q10 10 25 10 7 0 14-2 22-10 22-33z" horiz-adv-x="1000" />
<glyph glyph-name="camera" unicode="&#xe803;" d="M536 475q66 0 113-47t47-114-47-113-113-47-114 47-47 113 47 114 114 47z m393 232q59 0 101-42t41-101v-500q0-59-41-101t-101-42h-786q-59 0-101 42t-42 101v500q0 59 42 101t101 42h125l28 76q11 27 39 47t58 20h286q29 0 57-20t39-47l29-76h125z m-393-643q103 0 176 74t74 176-74 177-176 73-177-73-73-177 73-176 177-74z" horiz-adv-x="1071.4" />
<glyph glyph-name="link" unicode="&#xe804;" d="M813 171q0 23-16 38l-116 116q-16 16-38 16-24 0-40-18 1-1 10-10t12-12 9-11 7-14 2-15q0-23-16-38t-38-16q-8 0-15 2t-14 7-11 9-12 12-10 10q-19-17-19-40 0-23 16-38l115-116q15-15 38-15 22 0 38 15l82 81q16 16 16 37z m-393 394q0 22-15 38l-115 115q-16 16-38 16-22 0-38-15l-82-82q-16-15-16-37 0-22 16-38l116-116q15-15 38-15 23 0 40 17-2 2-11 11t-12 12-8 10-7 14-2 16q0 22 15 38t38 15q9 0 16-2t14-7 11-8 12-12 10-11q18 17 18 41z m500-394q0-66-48-113l-82-81q-46-47-113-47-68 0-114 48l-115 115q-46 47-46 114 0 68 49 116l-49 49q-48-49-116-49-67 0-114 47l-116 116q-47 47-47 114t47 113l82 82q47 46 114 46 67 0 114-47l115-116q46-46 46-113 0-69-49-117l49-49q48 49 116 49 67 0 114-47l116-116q47-47 47-114z" horiz-adv-x="928.6" />
<glyph glyph-name="pencil" unicode="&#xe805;" d="M203-7l50 51-131 131-51-51v-60h72v-71h60z m291 518q0 12-12 12-5 0-9-4l-303-302q-4-4-4-10 0-12 13-12 5 0 9 4l303 302q3 4 3 10z m-30 107l232-232-464-465h-232v233z m381-54q0-29-20-50l-93-93-232 233 93 92q20 21 50 21 29 0 51-21l131-131q20-22 20-51z" horiz-adv-x="857.1" />
<glyph glyph-name="chat-empty" unicode="&#xf0e6;" d="M393 636q-85 0-160-29t-118-79-44-107q0-45 30-88t83-73l54-32-19-46q19 11 34 21l25 18 30-6q43-8 85-8 85 0 160 29t118 79 43 106-43 107-118 79-160 29z m0 71q106 0 197-38t143-104 53-144-53-143-143-104-197-38q-48 0-98 9-70-49-155-72-21-5-48-9h-2q-6 0-12 5t-6 12q-1 1-1 3t1 4 1 3l1 3t2 3 2 3 3 3 2 2q3 3 13 14t15 16 12 17 14 21 11 25q-69 40-108 98t-40 125q0 78 53 144t143 104 197 38z m459-652q5-14 11-25t14-21 13-16 14-17 13-14q0 0 2-2t3-3 2-3 2-3l1-3t1-3 1-4-1-3q-2-8-7-13t-12-4q-28 4-48 9-86 23-156 72-50-9-98-9-151 0-263 74 32-3 49-3 90 0 172 25t148 72q69 52 107 119t37 141q0 43-13 85 72-39 114-99t42-128q0-67-40-126t-108-98z" horiz-adv-x="1000" />
<glyph glyph-name="doc-text" unicode="&#xf0f6;" d="M819 638q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 17-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 16t-16 37v233h-429v-858h715z m-572 483q0 7 5 12t13 5h393q8 0 13-5t5-12v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36z m411-125q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z m0-143q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z" horiz-adv-x="857.1" />
</font>
</defs>
</svg>

BIN
themes/lingonberry/css/fontello/font/fontello.ttf View File


BIN
themes/lingonberry/css/fontello/font/fontello.woff View File


BIN
themes/lingonberry/css/fontello/font/fontello.woff2 View File


+ 70
- 0
themes/lingonberry/css/normalize.css View File

@ -0,0 +1,70 @@
/*! normalize.css v1.1.2 | MIT License | git.io/normalize */
/* HTML5 display definitions */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }
/* Base */
html { font-size: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; }
body { margin: 0; }
/* Links */
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
/* Typography */
h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 1.5em; margin: 0.83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.67em; margin: 2.33em 0;}
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0; }
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word;}
q { quotes: none; }
q:before, q:after { content: ''; content: none;}
small { font-size: 80%;}
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
/* Lists */
dl, menu, ol, ul { margin: 1em 0;}
dd { margin: 0 0 0 40px;}
menu, ol, ul { padding: 0 0 0 40px;}
nav ul, nav ol {list-style: none; list-style-image: none;}
/* Embedded content */
img {border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) {overflow: hidden;}
/* Figures */
figure {margin: 0;}
/* Forms */
form {margin: 0;}
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;}
legend {border: 0; padding: 0; white-space: normal; *margin-left: -7px;}
button, input, select, textarea {font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle;}
button, input {line-height: normal;}
button, select { text-transform: none;}
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; *overflow: visible;}
button[disabled], html input[disabled] {cursor: default;}
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box;}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0;}
textarea {overflow: auto; vertical-align: top;}
/* Tables: Remove most spacing between table cells. */
table {border-collapse: collapse;border-spacing: 0;}

+ 2491
- 0
themes/lingonberry/css/style.css
File diff suppressed because it is too large
View File


BIN
themes/lingonberry/images/logo.jpg View File

Before After
Width: 1080  |  Height: 1080  |  Size: 518 KiB

+ 58
- 0
themes/lingonberry/js/global.js View File

@ -0,0 +1,58 @@
jQuery(document).ready(function($) {
// toggle blog-menu
$(".nav-toggle").on("click", function(){
$(this).toggleClass("active");
$(".navigation").slideToggle(function (){
$(".navigation").css('overflow', 'visible');
});
return false;
});
// Load Flexslider
$(".flexslider").flexslider({
animation: "slide",
controlNav: false,
prevText: "Prev",
nextText: "Next",
smoothHeight: true
});
// Smooth scroll to the top
$('.tothetop').click(function(){
$("html, body").animate({ scrollTop: 0 }, 500);
return false;
});
// resize videos after container
var vidSelector = "iframe, object, video";
var resizeVideo = function(sSel) {
$( sSel ).each(function() {
var $video = $(this),
$container = $video.parent(),
iTargetWidth = $container.width();
if ( !$video.attr("data-origwidth") ) {
$video.attr("data-origwidth", $video.attr("width"));
$video.attr("data-origheight", $video.attr("height"));
}
var ratio = iTargetWidth / $video.attr("data-origwidth");
$video.css("width", iTargetWidth + "px");
$video.css("height", ( $video.attr("data-origheight") * ratio ) + "px");
});
};
resizeVideo(vidSelector);
$(window).resize(function() {
resizeVideo(vidSelector);
});
});

+ 77
- 0
themes/lingonberry/js/lazy.js View File

@ -0,0 +1,77 @@
( function() {
var youtube = document.querySelectorAll( ".youtube" );
for (var i = 0; i < youtube.length; i++) {
var source = "https://img.youtube.com/vi/"+ youtube[i].dataset.embed +"/sddefault.jpg";
var image = new Image();
image.src = source;
image.addEventListener( "load", function() {
youtube[ i ].appendChild( image );
}( i ) );
youtube[i].addEventListener( "click", function() {
var iframe = document.createElement( "iframe" );
iframe.setAttribute( "frameborder", "0" );
iframe.setAttribute( "allowfullscreen", "" );
iframe.setAttribute( "src", "https://www.youtube.com/embed/"+ this.dataset.embed +"?rel=0&showinfo=0&autoplay=1" );
this.innerHTML = "";
this.appendChild( iframe );
} );
};
var vimeo = document.querySelectorAll( ".vimeo" );
for (var i = 0; i < vimeo.length; i++) {
var vimeoid = vimeo[i].dataset.embed;
getJSON('http://vimeo.com/api/v2/video/'+ vimeoid +'.json',
function(err, data) {
if (err != null) {
var source = "https://i.vimeocdn.com/video/"+ vimeoid +"_640.jpg";
} else {
var source = data[0].thumbnail_large;
}
var vimeoelement = document.querySelectorAll('[data-embed~="'+vimeoid+'"]')[0];
var image = new Image();
image.src = source;
image.addEventListener( "load", function() {
vimeoelement.appendChild( image );
}(i) );
vimeoelement.addEventListener( "click", function() {
var iframe = document.createElement( "iframe" );
iframe.setAttribute( "frameborder", "0" );
iframe.setAttribute( "webkitallowfullscreen", "" );
iframe.setAttribute( "mozallowfullscreen", "" );
iframe.setAttribute( "allowfullscreen", "" );
iframe.setAttribute( "src", "https://player.vimeo.com/video/"+ this.dataset.embed + "?autoplay=1" );
this.innerHTML = "";
this.appendChild( iframe );
} );
});
};
function getJSON(url, callback) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'json';
xhr.onload = function() {
var status = xhr.status;
if (status == 200) {
callback(null, xhr.response);
} else {
callback(status);
}
};
xhr.send();
};
} )();

+ 17
- 0
themes/lingonberry/js/theme-customizer.js View File

@ -0,0 +1,17 @@
/**
* This file adds some LIVE to the Theme Customizer live preview. To leverage
* this, set your custom settings to 'postMessage' and then add your handling
* here. Your javascript should grab settings from customizer controls, and
* then make any necessary changes to the page using jQuery.
*/
( function( $ ) {
//Update site accent color in real time...
wp.customize( 'accent_color', function( value ) {
value.bind( function( newval ) {
$('.header').css('background-color', newval );
$('.post-content a').css('color', newval );
} );
} );
} )( jQuery );

+ 135
- 0
themes/lingonberry/layout.html.php View File

@ -0,0 +1,135 @@
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
<?php echo head_contents();?>
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<?php if (publisher()): ?>
<link href="<?php echo publisher() ?>" rel="publisher" /><?php endif; ?>
<link rel="stylesheet" id="lingonberry_googleFonts-css" href="//fonts.googleapis.com/css?family=Lato%3A400%2C700%2C400italic%2C700italic%7CRaleway%3A600%2C500%2C400&#038;ver=4.3.1" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo site_url();?>themes/lingonberry/css/fontello/css/fontello.css">
<link rel="stylesheet" href="<?php echo site_url();?>themes/lingonberry/css/normalize.css">
<link rel="stylesheet" href="<?php echo site_url();?>themes/lingonberry/css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<?php
if (isset($_GET['search'])) {
$search = $_GET['search'];
$url = site_url() . 'search/' . remove_accent($search);
header("Location: $url");
}
?>
<body class="<?php echo $bodyclass; ?>" itemscope="itemscope" itemtype="http://schema.org/Blog">
<div class="hide">
<meta content="<?php echo blog_title() ?>" itemprop="name"/>
<meta content="<?php echo blog_description() ?>" itemprop="description"/>
</div>
<?php if (facebook()) { echo facebook(); } ?>
<?php if (login()) { toolbar(); } ?>
<div class="navigation<?php if (login()) { echo ' spacer'; } ?>">
<div class="navigation-inner section-inner">
<?php echo menu('blog-menu');?>
<form id="search" class="search-form" role="search">
<div class="input-group">
<i class="icon-search"></i>
<input id="s" type="search" name="search" class="form-control" placeholder="Type to search">
<span class="input-group-btn"><button type="submit" class="btn btn-default btn-submit"><i class="fa fa-angle-right"></i></button></span>
</div>
</form>
<div class="clear"></div>
</div> <!-- /navigation-inner -->
</div> <!-- /navigation -->
<div class="header section">
<div class="header-inner section-inner">
<a href="<?php echo site_url(); ?>" title="<?php echo blog_title();?>" rel="home" class="logo">
<img src="<?php echo site_url(); ?>themes/lingonberry/images/logo.jpg" alt="<?php echo blog_title();?>">
</a>
<?php if(is_index()) : ?>
<h1 class="blog-title">
<a href="<?php echo site_url(); ?>" title="<?php echo blog_title();?>" rel="home"><?php echo blog_title();?></a>
</h1>
<?php else : ?>
<h2 class="blog-title">
<a href="<?php echo site_url(); ?>" title="<?php echo blog_title();?>" rel="home"><?php echo blog_title();?></a>
</h2>
<?php endif; ?>
<div class="clear"></div>
</div> <!-- /header section -->
</div> <!-- /header-inner section-inner -->
<?php echo content(); ?>
<div class="footer section">
<div class="footer-inner section-inner">
<div class="footer-a widgets">
<h3 class="widget-title">Recent Posts</h2>
<div class="widget-content">
<?php echo recent_posts(); ?>
</div>
</div>
<div class="footer-b widgets">
<h3 class="widget-title">Popular Posts</h2>
<div class="widget-content">
<?php echo popular_posts(); ?>
</div>
</div>
<div class="footer-c widgets">
<?php if (config('input.showCat') == 'true') : ?>
<h3 class="widget-title">Categories</h3>
<div class="widget-content">
<?php echo category_list();?>
</div>
<?php elseif (config('input.showTag') == 'true') : ?>
<h3 class="widget-title">Tags</h3>
<div class="widget-content">
<?php echo tag_cloud();?>
</div>
<?php else : ?>
<h3 class="widget-title">Nothing in here</h3>
<div class="widget-content">
<p>There are no categories or tags yet</p>
</div>
<?php endif; ?>
</div>
<div class="clear"></div>
</div> <!-- /footer-inner -->
</div> <!-- /footer -->
<div class="credits section">
<div class="credits-inner section-inner">
<div class="credits-left">
<span><?php echo copyright();?></span>
</div>
<div class="credits-right">
<span>Theme by <a href="http://www.andersnoren.se">Anders Noren</a>&mdash; ported to HTMLy by <a href="http://trendschau.net">Trendschau</a></span>
</div>
<div class="clear"></div>
</div> <!-- /credits-inner -->
</div> <!-- /credits -->
<script src="<?php echo site_url();?>themes/lingonberry/js/lazy.js"></script>
</body>
</html>

+ 153
- 0
themes/lingonberry/main.html.php View File

@ -0,0 +1,153 @@
<?php $posts = recent_posts(true);?>
<?php if(count($posts) > 0) : ?>
<div class="content section-inner">
<?php if(login()) : ?>
<div class="addPost"><a href="http://localhost/agitatorfilm/admin/content"><i class="icon-pencil"></i> add a new post</a></div>
<?php endif; ?>
<div class="posts">
<?php foreach ($posts as $post):?>
<?php // set post icon class
if($post->type == 'post'){ $icon = 'icon-doc-text'; $format = 'standard'; }
if($post->type == 'image'){ $icon = 'icon-camera'; $format = 'gallery'; }
if($post->type == 'video'){ $icon = 'icon-videocam'; $format = 'video'; }
if($post->type == 'audio'){ $icon = 'icon-music'; $format = 'audio';}
if($post->type == 'quote'){ $icon = 'icon-chat-empty'; $format = 'quote'; }
if($post->type == 'link'){ $icon = 'icon-link'; $format = 'link';}
?>
<div class="post format-<?php echo $format; ?>">
<div class="post-bubbles">
<a href="<?php echo $post->url; ?>" class="format-bubble">
<i class="<?php echo $icon; ?>"></i>
</a>
<?php if (login()): ?><a href="<?php echo $post->url; ?>/edit?destination=post" title="edit post" class="sticky-bubble"><i class="icon-pencil"></i></a><?php endif; ?>
</div>
<div class="content-inner">
<?php if($post->type == "post"): ?>
<div class="post-header">
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<p><?php echo shorten($post->body, 300); ?></p>
<p><a class="read-more" href="<?php echo $post->url; ?>">Read more</a></p>
</div>
<div class="clear"></div>
<?php elseif($post->type == "image"): ?>
<div class="post-header">
<div class="featured-media">
<?php echo $post->image; ?>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<?php echo $post->body; ?>
<p><a class="read-more" href="<?php echo $post->url; ?>">Read more</a></p>
</div>
<div class="clear"></div>
<?php elseif($post->type == "video"): ?>
<div class="post-header">
<div class="featured-media">
<?php if($post->video[1] == 'youtube') : ?>
<div class="youtube" data-embed="<?php echo $post->video[2]; ?>">
<div class="play-button"></div>
</div>
<!-- <iframe width="100%" height="315px" class="embed-responsive-item" src="https://www.youtube.com/embed/<?php echo $post->video[2]; ?>" frameborder="0" allowfullscreen></iframe> -->
<?php elseif($post->video[1] == 'vimeo') : ?>
<div class="vimeo" data-embed="<?php echo $post->video[2]; ?>">
<div class="play-button"></div>
</div>
<!-- <iframe width="100%" height="315px" class="embed-responsive-item" src="https://player.vimeo.com/video/<?php echo $post->video[2]; ?>" frameborder="0" allowfullscreen></iframe> -->
<?php endif; ?>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "audio"): ?>
<div class="post-header">
<div class="featured-media">
<span class="embed-soundcloud"><iframe width="100%" height="200px" class="embed-responsive-item" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=<?php echo $p->audio;?>&amp;auto_play=false&amp;visual=true"></iframe></span>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div> <!-- /post-header -->
<div class="post-content">
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "quote"): ?>
<div class="post-content">
<blockquote><p><?php echo $post->quote; ?></p></blockquote>
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "link"): ?>
<div class="post-content">
<p><?php echo $post->link; ?></p>
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php endif; ?>
</div> <!-- /content-inner -->
<div class="clear"></div>
</div> <!-- /post -->
<?php endforeach; ?>
</div><!-- /posts -->
</div>
<?php endif; ?>
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
<div class="navigation pagination">
<div class="nav-links">
<?php if (!empty($pagination['prev'])): ?>
<a class="prev page-numbers" href="?page=<?php echo $page - 1 ?>">«</a>
<?php endif; ?>
<span class="page-numbers"><?php echo $pagination['pagenum'];?></span>
<?php if (!empty($pagination['next'])): ?>
<a class="next page-numbers" href="?page=<?php echo $page + 1 ?>">»</a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php if (disqus_count()): ?>
<?php echo disqus_count() ?>
<?php endif; ?>

+ 30
- 0
themes/lingonberry/no-posts.html.php View File

@ -0,0 +1,30 @@
<div class="single post-single">
<div class="content section-inner">
<div class="posts">
<div class="post">
<div class="content-inner">
<div class="post-header">
<h2 class="post-title">No posts</h2>
</div>
<div class="post-content">
<p>There are no posts yet. Please login and start to publish.</p>
</div> <!-- /post-content -->
</div> <!-- /content-inner -->
</div> <!-- /post -->
</div> <!-- /posts -->
</div> <!-- /content -->
</div>

+ 110
- 0
themes/lingonberry/post.html.php View File

@ -0,0 +1,110 @@
<?php $post = $p; ?>
<div class="single single-post">
<div class="content section-inner">
<div class="posts">
<?php // set format class and icon class
if($post->type == 'post'){ $icon = 'icon-doc-text'; $format = 'standard'; }
if($post->type == 'image'){ $icon = 'icon-camera'; $format = 'gallery'; }
if($post->type == 'video'){ $icon = 'icon-videocam'; $format = 'video'; }
if($post->type == 'audio'){ $icon = 'icon-music'; $format = 'audio';}
if($post->type == 'quote'){ $icon = 'icon-chat-empty'; $format = 'quote'; }
if($post->type == 'link'){ $icon = 'icon-link'; $format = 'link';}
?>
<div class="post format-<?php echo $format; ?>">
<div class="content-inner">
<?php if($post->type == "post"): ?>
<div class="post-header">
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<p><?php echo $post->body; ?></p>
</div>
<div class="clear"></div>
<?php elseif($post->type == "image"): ?>
<div class="post-header">
<div class="featured-media">
<?php echo $post->image; ?>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "video"): ?>
<div class="post-header">
<div class="featured-media">
<?php if($post->video[1] == 'youtube') : ?>
<iframe width="100%" height="315px" class="embed-responsive-item" src="https://www.youtube.com/embed/<?php echo $post->video[2]; ?>" frameborder="0" allowfullscreen></iframe>
<?php elseif($post->video[1] == 'vimeo') : ?>
<iframe width="100%" height="315px" class="embed-responsive-item" src="https://player.vimeo.com/video/<?php echo $post->video[2]; ?>" frameborder="0" allowfullscreen></iframe>
<?php endif; ?>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div>
<div class="post-content">
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "audio"): ?>
<div class="post-header">
<div class="featured-media">
<span class="embed-soundcloud"><iframe width="100%" height="200px" class="embed-responsive-item" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=<?php echo $p->audio;?>&amp;auto_play=false&amp;visual=true"></iframe></span>
</div>
<h2 class="post-title"><a href="<?php echo $post->url; ?>" rel="bookmark"><?php echo $post->title; ?></a></h2>
<div class="post-meta">
<span class="post-date" itemprop="datePublished"><?php echo date('d F Y', $post->date) ?></span>
<span class="date-sep"> / </span>
<span class="post-author" itemprop="author"><a href="<?php echo $post->authorUrl;?>"><?php echo $post->author;?></a></span>
<span class="date-sep"> / </span>
<span itemprop="articleSection"><?php echo $post->category;?></span>
</div>
</div> <!-- /post-header -->
<div class="post-content">
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "quote"): ?>
<div class="post-content">
<blockquote><p><?php echo $post->quote; ?></p></blockquote>
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php elseif($post->type == "link"): ?>
<div class="post-content">
<p><?php echo $post->link; ?></p>
<?php echo $post->body; ?>
</div>
<div class="clear"></div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>

+ 3
- 0
themes/lingonberry/profile.html.php View File

@ -0,0 +1,3 @@
<?php
?>

+ 30
- 0
themes/lingonberry/static.html.php View File

@ -0,0 +1,30 @@
<div class="single post-single">
<div class="content section-inner">
<div class="posts">
<div class="post">
<div class="content-inner">
<div class="post-header">
<h1 class="post-title"><?php echo $p->title; ?></h1>
</div>
<div class="post-content">
<?php echo $p->body; ?>
</div> <!-- /post-content -->
</div> <!-- /content-inner -->
</div> <!-- /post -->
</div> <!-- /posts -->
</div> <!-- /content -->
</div>

Loading…
Cancel
Save