-
Notifications
You must be signed in to change notification settings - Fork 32
/
blog.html
64 lines (57 loc) · 2.09 KB
/
blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
published: true
texts: compatibility
nav: blog
---
<!DOCTYPE html>
<html ng-app="Vita3K">
<head>
{% include head.html %}
</head>
<body id="page-top" ng-controller="angularController">
<script>
function get(name) {
if (name = (new RegExp('[?&]' + encodeURIComponent(name) + '=([^&]*)')).exec(location.search))
return decodeURIComponent(name[1]);
}
angular.module('Vita3K', []).controller("angularController", function($scope, $http, $filter, $anchorScroll, $timeout, $location) {
{% include languagescript.js %}
$http.post('https://vita3k.rinnegatamante.it/get_reports.php').then(function(res) {
$scope.reports = res.data
})
$timeout(function() {
$anchorScroll('myAnchor');
});
}).filter('unsafe', function($sce) {
return function(val) {
return $sce.trustAsHtml(val);
};
});
</script>
{% include nav.html %}
{% include languageselection.html %}
<section id="blog-header" class="text-white">
<div class="container">
<div class="row">
<div class="col-lg-12 mx-auto text-center">
<h3>Blog</h3>
</div>
</div>
</div>
</section>
<section class="blog-body" ng-class="'bg-dark text-white'">
<div class="container" id="blog-container">
{% for post in site.posts %}
<div class="row blog-post">
<div class="col-lg-12 mx-auto text-center">
<h2 class="blog-post-title section-heading"><a href="{{ site.baseurl }}{{ post.url }}"><font color="#bbbbbb">{{ post.title }}</font></a></h2>
<p class="blog-post-body mb-5" align="left">{{ post.excerpt }}</p>
<div class="blog-post-author" align="right"><a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a></div>
</div>
</div>
{% endfor %}
</div>
</section>
{% include footer.html %}
</body>
</html>