removed temporary html files, removed busted links,
finally updated make file to its final functional form
This commit is contained in:
parent
61e5dfe909
commit
c7a228569f
25
make.sh
25
make.sh
@ -2,25 +2,40 @@
|
||||
rootDir='./tmp/'
|
||||
targetDir='post/'
|
||||
|
||||
[[ -z $rootDir/post/ ]] && mkdir -p $rootDir/post
|
||||
|
||||
post() {
|
||||
# First get the body of the document
|
||||
tmp=".swap"
|
||||
base=$(basename $1)
|
||||
# cat the files together
|
||||
# Glue all the things
|
||||
pandoc $1 | cat 'templates/post-header.html' - 'templates/post-footer.html' >> $tmp
|
||||
sed -i "5i <title>${base%.*}</title>" $tmp
|
||||
sed -i "s/<img/<img class=\"pure-img\"/g" $tmp
|
||||
sed -i 's/<table>/<table class="pure-table">/g' $tmp
|
||||
# turn the header into an actual header
|
||||
sed -i '30i <div class="header">' $tmp
|
||||
sed -i '32i </div>' $tmp # change this to 33 once we finalized for the subheading
|
||||
sed -i '33i </div>' $tmp
|
||||
# finally move this post to its proper location in the _rootDir
|
||||
mv $tmp "$rootDir/$targetDir/${base%.*}.html"
|
||||
rm -f $tmp
|
||||
}
|
||||
|
||||
[[ -z $rootDir/post/ ]] && mkdir -p $rootDir/post
|
||||
|
||||
# root and style page cases where we don't want to do anything else
|
||||
case $1 in
|
||||
"s")
|
||||
cp style.css $rootDir
|
||||
cp style.css $rootDir/$targetDir
|
||||
exit 0
|
||||
;;
|
||||
"r")
|
||||
echo 'Building the root pages'
|
||||
targetDir=''
|
||||
post './prebuild/about.md'
|
||||
post './prebuild/links.md'
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
for file in $@;do
|
||||
post $file
|
||||
done
|
||||
|
@ -1,46 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>about</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
||||
<!-- Side menu forces things properly apparantly-->
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<link rel="icon" type="image/png" href="/favicon.png"/>
|
||||
<div id="layout">
|
||||
<div id="menu">
|
||||
<a class="pure-menu-heading" href="/">Home</a>
|
||||
<div class="pure-menu">
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="/about.html">About</a>
|
||||
</li>
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="/links.html">Links</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="main">
|
||||
<div class="header">
|
||||
<h1>About me</h1>
|
||||
<h2>what did you expect a blog post?</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2 id="who-i-am">Who I am</h2>
|
||||
<p>Uhhhhh, yea I'm an infosec student at <em>literally where University</em>. I'm not very fond of academia thus far but I like learning stuff on my own; x86_64 and ARM are kinda my things right now. Security is primarily my focus as it gives me a chance to... uhhhhh... I like breaking stuff(software) and seeing what happens. Making stuff is also lots of fun, especially when done the hard way.</p>
|
||||
<h2 id="whatwhy-this-site-huh">What/Why this site? huh?</h2>
|
||||
<p>I like journaling things and when it feels like someone could be reading it feels as though I should think about what I say instead of saying <del>spitting truthbombs</del> random things. Not only that but it gives me a weird motivation to actually do projects outside of school since I think "<em>oh i should update the site with a new post or something</em>". As long as I don't take on a project in a really dumb way I usually try finishing up to where point where it seems somewhat interesting.</p>
|
||||
<h2 id="things-i-enjoy">Things I enjoy</h2>
|
||||
<p>Not being dead or a fern are probably my top two things I enjoy right ahead of not being a wooly sock in siberia as a third.</p>
|
||||
<p>Honestly I like making stuff in software, <em>but hardware is also cool(just exepensive</em>). CTF challenges are lots of fun as well, but I've yet to document my findings on one as many have weird rules about sharing, and I feel weird about it as well.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,6 +1,5 @@
|
||||
# [About Me](../index.html)
|
||||
|
||||
_really though what did you expect a blog post?_
|
||||
# About Me
|
||||
## Hello yes this is me(kinda)
|
||||
|
||||
## Who I am
|
||||
|
||||
|
@ -1,57 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>links</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
||||
<!-- Side menu forces things properly apparantly-->
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="layout">
|
||||
<div id="menu">
|
||||
<a class="pure-menu-heading" href="/">Home</a>
|
||||
<div class="pure-menu">
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="/about.html">About</a>
|
||||
</li>
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="/links.html">Links</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="main">
|
||||
<div class="header">
|
||||
<h1>Contact</h1>
|
||||
<h2>Links and places to find me online</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h1 id="links-and-places-to-find-me-online"><a href="../index.html"></a></h1>
|
||||
<h3 id="professional-linksbusiness-inquires">Professional Links/Business inquires</h3>
|
||||
<p>I would highly prefer that you contact me via email so that I may get to the message in a timely manner. I typically respond within 24 hours but there are no guarantees:</p>
|
||||
<ul>
|
||||
<li>email: alejandros714@protonmail.com</li>
|
||||
</ul>
|
||||
<p><em>A quick side note that I am much more active on gitlab than github</em></p>
|
||||
<li>Gitlab Account: <a href="https://gitlab.com/shockrahwow">shockrahwow</a></li>
|
||||
<li>Github Account: <a href="https://github.com/smolltucc">smolltucc</a></li>
|
||||
<h3 id="social-medias-links">Social Medias Links</h3>
|
||||
<p><em>List of places to contanct me or find me doing random things in general</em></p>
|
||||
<ul>
|
||||
<li><a href="https://twitch.tv/shockrahwow">Twitch Channel: shockrahwow</a><br />
|
||||
</li>
|
||||
<li><a href="https://steamcommunity.com/id/shockrah">Steam Profile</a> </li>
|
||||
</ul>
|
||||
<p>Also I run a small Quake Community dedicated to teaching people about the game to improve and find other people to play with. The game is on steam if you're interested in checking it out ;)</p>
|
||||
<ul>
|
||||
<li><a href="https://sites.google.com/view/qcacademy/home">Community website</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,4 +1,5 @@
|
||||
# [Links and places to find me online](../index.html)
|
||||
# [Contact Links](/index.html)
|
||||
## Generally places to find me online
|
||||
|
||||
### Professional Links/Business inquires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user