fixed target directory for post compiling
This commit is contained in:
		
							parent
							
								
									bb247b4ebe
								
							
						
					
					
						commit
						099bffaf5a
					
				
							
								
								
									
										2
									
								
								make.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								make.sh
									
									
									
									
									
								
							@ -5,7 +5,7 @@ post() {
 | 
			
		||||
	if [ -f markdown/post/$1 ] 
 | 
			
		||||
	then
 | 
			
		||||
		# CSS file is always relative to the target html location
 | 
			
		||||
		pandoc markdown/post/$1 --css style.css -s -o post/${1%.*}.html
 | 
			
		||||
		pandoc markdown/post/$1 --css style.css -s -o $rootDir/post/${1%.*}.html
 | 
			
		||||
	else
 | 
			
		||||
		# error message incase file was not found
 | 
			
		||||
		echo "File \"$1\" not found in markdown/post"
 | 
			
		||||
 | 
			
		||||
@ -7,11 +7,11 @@ html {
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
	font-family: 'Fixedsys';
 | 
			
		||||
	src: url(./fonts/FSEX300.ttf);
 | 
			
		||||
	src: url(../fonts/FSEX300.ttf);
 | 
			
		||||
}
 | 
			
		||||
@font-face {
 | 
			
		||||
	font-family: 'Freemono';
 | 
			
		||||
	src: url(./fonts/FreeMono.otf);
 | 
			
		||||
	src: url(../fonts/FreeMono.otf);
 | 
			
		||||
}
 | 
			
		||||
/* sick nav bar */
 | 
			
		||||
.topnav {
 | 
			
		||||
@ -49,6 +49,8 @@ body {
 | 
			
		||||
  padding: 1em;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
  max-width: 42em;
 | 
			
		||||
  /*background-image: url("./img/backt.png");*/
 | 
			
		||||
  background-repeat: repeat;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Link stuff */
 | 
			
		||||
@ -96,7 +98,6 @@ a::selection {
 | 
			
		||||
 | 
			
		||||
p {
 | 
			
		||||
  margin: 1em 0;
 | 
			
		||||
  color: #F1C6A7;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
img {
 | 
			
		||||
@ -157,10 +158,10 @@ hr {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pre, code, kbd, samp {
 | 
			
		||||
  background-color: #000;
 | 
			
		||||
  /*border-radius: 8px; */
 | 
			
		||||
  padding: 4px;
 | 
			
		||||
  color: #EECA3E;
 | 
			
		||||
  background-color: lightblue;
 | 
			
		||||
  border-radius: 8px; 
 | 
			
		||||
  padding: 8px;
 | 
			
		||||
  color: #000;
 | 
			
		||||
  font-family: Freemono, monospace, monospace;
 | 
			
		||||
  _font-family: 'courier new', monospace;
 | 
			
		||||
  font-size: 0.98em;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user