|
@@ -14,17 +14,13 @@
|
|
|
</style>
|
|
|
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
|
|
<script src="https://cdn.rawgit.com/gregjacobs/Autolinker.js/master/dist/Autolinker.min.js"></script>
|
|
|
+ <script src="/static/js/log.link.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
- <a id="today">golang@c.j.r. сегодня</a> <a href="/stat">стата</a>
|
|
|
+ <a id="today">golang@c.j.r.</a> <a href="/stat">стата</a>
|
|
|
<h1>лог</h1>
|
|
|
{{range .Posts}}<p class="message"><span class="user"><em>{{.Nick}}</em></span>: <span class="content">{{.Msg}}</span></p>{{else}}ничего ._.{{end}}
|
|
|
<script>
|
|
|
- $(function(){
|
|
|
- var d = new Date();
|
|
|
- $("#today").attr("href", "http://chatlogs.jabber.ru/golang@conference.jabber.ru/"+d.getFullYear()+"/"+(d.getMonth() + 1)+"/"+d.getDate()+".html");
|
|
|
- });
|
|
|
-
|
|
|
$(function(){
|
|
|
$(".content").each(function(i, e){
|
|
|
var content = $(e).text();
|