cleaned website stylesheets, reactivated ip address ws on artible pages
This commit is contained in:
parent
ca3719a6e5
commit
26f1f90c1d
@ -6,7 +6,6 @@ tags = ["paulbsd","services","web"]
|
||||
title = "PaulBSD Web Services"
|
||||
+++
|
||||
|
||||
|
||||
# PaulBSD Web Services
|
||||
|
||||
PaulBSD.com provides many services like :
|
||||
|
@ -6,7 +6,6 @@ tags = ["paulbsd","netbsd","legacy"]
|
||||
title = "NetBSD 9.0 update"
|
||||
+++
|
||||
|
||||
|
||||
# NetBSD 9.0 update
|
||||
|
||||
As the new major release of NetBSD being rolled, PaulBSD upgraded legacy production in Normandy to NetBSD 9.0 which provides new fun features as below :
|
||||
|
@ -3,4 +3,3 @@ tags = []
|
||||
categories = []
|
||||
menu = ""
|
||||
+++
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
d=content/post
|
||||
|
||||
if [ ! -d ../syui.gitlab.io-comment ];then
|
||||
git clone https://github.com/mba-hack/syui.gitlab.io-comment.git ../syui.gitlab.io-comment
|
||||
fi
|
||||
if [ -d ../${d} ];then
|
||||
mkdir -p ../syui.gitlab.io-comment/_posts
|
||||
f=$(echo -e "`ls -A ../${d}`\n`ls -A ../syui.gitlab.io-comment/_posts`" | sort | uniq -u)
|
||||
cd ../syui.gitlab.io-comment/_posts
|
||||
if [ -n "$f" ];then
|
||||
n=`echo "$f" | wc -l`
|
||||
echo $n
|
||||
for (( i=1;i<=$n;i++ ))
|
||||
do
|
||||
t=`echo "$f" | awk "NR==$i"`
|
||||
echo $t
|
||||
touch $t
|
||||
git add $t
|
||||
git commit -m "update"
|
||||
git push
|
||||
done
|
||||
fi
|
||||
fi
|
@ -1,8 +0,0 @@
|
||||
#!/bin/zsh
|
||||
#github=github.com/users/syui/contributions_calendar_data
|
||||
f=${0:a:h:h}/static/json/datas.json
|
||||
u=gitlab.com/u/$USER/calendar
|
||||
t=`curl -sL $u|grep '{"'`
|
||||
echo ${t%,}|jq .
|
||||
echo ${t%,} >! $f
|
||||
|
@ -1,57 +0,0 @@
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
|
||||
<script src="../static/js/jquery.xdomainajax.js"></script>
|
||||
<script src="../static/bower_components/d3/d3.min.js" charset="utf-8"></script>
|
||||
<script src="../static/bower_components/cal-heatmap/cal-heatmap.min.js"></script>
|
||||
<link rel="stylesheet" href="../static/bower_components/cal-heatmap/cal-heatmap.css" />
|
||||
<!--<script src="https://raw.githubusercontent.com/syui/jquery.fn/master/cross-domain-ajax/jquery.xdomainajax.js"></script>-->
|
||||
<!--diff : https://github.com/syui/jquery.fn/blob/master/cross-domain-ajax/jquery.xdomainajax.js#L62 -->
|
||||
<h3>Calendar Activities</h3>
|
||||
<div id="cal-heatmap"></div>
|
||||
<div id="example-heatmap"></div>
|
||||
|
||||
<script>
|
||||
jQuery(function ($) {
|
||||
var json;
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: 'https://gitlab.com/u/syui/calendar',
|
||||
dataType: 'html',
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data) {
|
||||
var content = $(data.responseText).find('script').html();
|
||||
var tmp = content.replace("<![CDATA[", "").replace("]]>", "");
|
||||
var s = tmp.indexOf( "{" );
|
||||
var e = tmp.indexOf( "}" );
|
||||
json = tmp.substring( s, e+1 );
|
||||
$('#gitlab-calendar-activities').text(json);
|
||||
}
|
||||
});
|
||||
setTimeout( $('#example-heatmap').each(function () {
|
||||
//setTimeout( function() {
|
||||
if( json != null ){
|
||||
var obj = $.parseJSON(json);
|
||||
var now = new Date();
|
||||
new CalHeatMap().init({
|
||||
data: obj,
|
||||
domain: 'month',
|
||||
domainLabelFormat: '%Y-%m',
|
||||
itemSelector: '#example-heatmap',
|
||||
legend: [1, 3, 5, 7],
|
||||
legendColors: {
|
||||
min: "#efefef",
|
||||
max: "steelblue",
|
||||
empty: "#efefef"
|
||||
},
|
||||
tooltip: true,
|
||||
start: new Date(now.getFullYear(), now.getMonth() - 9)
|
||||
});
|
||||
} else {
|
||||
setTimeout( arguments.callee, 100 );
|
||||
}
|
||||
}));
|
||||
});
|
||||
</script>
|
||||
|
||||
<div id="gitlab-calendar-activities" style="display:none;"></div>
|
||||
|
@ -1,24 +0,0 @@
|
||||
#!/bin/zsh
|
||||
d=${0:a:h:h}
|
||||
# backup
|
||||
h=${0:a:h}
|
||||
if cat $j|jq . ;then
|
||||
cp $j $h
|
||||
fi
|
||||
h=$h/PagesIndex.json
|
||||
j=$d/static/bower_components/lunr.js/PagesIndex.json
|
||||
t=`cat $j |jq '.[]'|sed -e 's#/post##g'`
|
||||
a=`cat $j | sed -e 's#/post##g'`
|
||||
echo $a >! $j
|
||||
t=`echo $t|jq -r '.href'|cut -d - -f 1-4`
|
||||
|
||||
for (( i=1;i<=`echo "$t"|wc -l`;i++ ))
|
||||
do
|
||||
f=`echo "$t"|awk "NR==$i"`
|
||||
c=`echo $f|tr '-' '/'`
|
||||
sed -i "" "s#${f}#${c}#g" $j
|
||||
done
|
||||
|
||||
cat $j
|
||||
|
||||
diff $j $h
|
@ -26,4 +26,5 @@
|
||||
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
@ -10,4 +10,5 @@
|
||||
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
@ -5,7 +5,8 @@
|
||||
|
||||
{{ if isset .Params "banner" }}
|
||||
<a href="{{ .Permalink }}" class="thumbnail">
|
||||
<span style="background-image:url({{ .Site.BaseURL }}{{ .Params.banner }})" alt="{{ .Title }}" class="thumbnail-image"></span>
|
||||
<span style="background-image:url({{ .Site.BaseURL }}{{ .Params.banner }})" alt="{{ .Title }}"
|
||||
class="thumbnail-image"></span>
|
||||
</a>
|
||||
{{ else }}
|
||||
<a href="{{ .Permalink }}" class="thumbnail">
|
||||
|
@ -36,10 +36,6 @@ cal.init({
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{ partial "footer" . }}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
||||
{{ partial "head" . }}
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div id="container">
|
||||
@ -13,6 +14,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer" . }}
|
||||
{{ partial "footer_js" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,13 +1,8 @@
|
||||
<div class="article-inner-first">
|
||||
|
||||
<h2>
|
||||
A simple, lightweight theme
|
||||
</h2>
|
||||
<p>
|
||||
You've reached the website for <b>Arch Linux</b> user, I was in mobile-enabled.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<!--
|
||||
<div class="rss-right"><a href="{{ .RelPermalink }}"><i class="fa fa-rss-square fa-lg"></i></a></div>
|
||||
-->
|
||||
|
@ -1,11 +1,5 @@
|
||||
<footer class="article-footer">
|
||||
<!--
|
||||
<a data-url="{{ .Permalink }}" data-id="{{ .File.UniqueID }}" class="article-share-link">
|
||||
{{with .Site.Data.l10n.articles.share}}{{.}}{{end}}
|
||||
</a>
|
||||
-->
|
||||
{{ if not (eq .Site.DisqusShortname "") }}
|
||||
|
||||
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">
|
||||
{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}
|
||||
</a>
|
||||
|
@ -1,4 +1,5 @@
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
<footer id="footer-left">
|
||||
@ -8,4 +9,16 @@
|
||||
<footer id="footer-right">Your IP address : <a id="dip">{{ "{{" }} returnstring {{ "}}" }}</a></footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="{{ .Site.BaseURL }}js/main.js">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js">
|
||||
</script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
<script type="text/javascript"
|
||||
src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
|
||||
</script>
|
||||
</footer>
|
@ -1,12 +0,0 @@
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
<script src="{{ .Site.BaseURL }}js/main.js">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js">
|
||||
</script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
<script type="text/javascript" src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
|
||||
</script>
|
@ -19,7 +19,9 @@
|
||||
<script src="{{ .Site.BaseURL }}bower_components/highlightjs/highlight.pack.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}bower_components/vue/vue.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}bower_components/axios/axios.min.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: {
|
||||
|
@ -11,13 +11,10 @@
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{{ partial "navbar-menu" . }}
|
||||
{{ partial "navbar-icon" . }}
|
||||
<!--
|
||||
{{ partial "navbar-search" . }}
|
||||
-->
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div>
|
||||
|
||||
</div><!-- /.container-fluid -->
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,7 +2,6 @@
|
||||
<div class="widget">
|
||||
<h3 class="widget-title">
|
||||
Docs
|
||||
<!--{{with .Site.Data.l10n.widgets.documentation.title}}{{.}}{{end}} -->
|
||||
</h3>
|
||||
<ul class="category-list">
|
||||
<li class="category-list-item">
|
||||
|
@ -4,8 +4,6 @@
|
||||
<ul class="category-list">
|
||||
<h3 class="widget-title">Tags {{with .Site.Data.l10n.widgets.tag_cloud.title}}{{.}}{{end}} </h3>
|
||||
<div class="widget tagcloud">
|
||||
|
||||
|
||||
{{ range $name, $items := .Site.Taxonomies.tags }}
|
||||
<a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a>
|
||||
{{ end }}
|
||||
|
@ -1,7 +1,6 @@
|
||||
<div class="widget-wrap">
|
||||
<div class="widget">
|
||||
<h3 class="widget-title">Recent Updates</h3>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
@ -11,24 +11,30 @@
|
||||
width: auto !important;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#main {
|
||||
display: inline;
|
||||
float: left;
|
||||
width: 60%;
|
||||
margin: 0 0.7692307692308%;
|
||||
}
|
||||
|
||||
#main-nav-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sub-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#profile {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#article-nav {
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
#article-nav:before {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
@ -40,15 +46,18 @@
|
||||
border-radius: 50%;
|
||||
background: #787c81;
|
||||
}
|
||||
|
||||
.article-nav-link-wrap {
|
||||
width: 50%;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#article-nav-newer {
|
||||
float: left;
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
#article-nav-older {
|
||||
float: right;
|
||||
text-align: left;
|
||||
@ -60,15 +69,19 @@
|
||||
#footer-right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#footer-left {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#container>.outer {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#footer .outer {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
width: auto;
|
||||
padding-top: 7px;
|
||||
@ -79,7 +92,9 @@
|
||||
header .outer {
|
||||
border-bottom: solid 0px #428bca;
|
||||
}
|
||||
#header a, #header a:visited {
|
||||
|
||||
#header a,
|
||||
#header a:visited {
|
||||
color: #fff;
|
||||
position: relative;
|
||||
margin-bottom: 4px;
|
||||
@ -92,15 +107,18 @@
|
||||
float: left;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
#main {
|
||||
display: inline;
|
||||
float: left;
|
||||
width: 67.6923076923077%;
|
||||
margin: 0 0.7692307692308%;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
#main-nav-mobile {
|
||||
display: none;
|
||||
}
|
||||
@ -113,9 +131,11 @@
|
||||
font-size: 28px;
|
||||
line-height: 54px;
|
||||
}
|
||||
|
||||
#header-sub {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main-nav {
|
||||
display: none;
|
||||
}
|
||||
@ -132,24 +152,30 @@
|
||||
.widget-wrap {
|
||||
margin: 40px 20px;
|
||||
}
|
||||
|
||||
#toTop {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
font-size: 28px;
|
||||
line-height: 54px;
|
||||
}
|
||||
|
||||
.outer {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#header-sub {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main-nav-mobile .menu .search-form-input {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.archive-year-wrap,
|
||||
.archive-category-wrap,
|
||||
.archive-tag-wrap,
|
||||
@ -157,13 +183,16 @@
|
||||
padding: 0 15px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.layout-wrap-inner {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.archive-article-thumbnail .thumbnail {
|
||||
width: 120px;
|
||||
height: 67.5px;
|
||||
}
|
||||
|
||||
.archive-article-title {
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
@ -171,6 +200,7 @@
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#page-nav .page-number {
|
||||
display: none;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user