summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js7
-rw-r--r--resources/fonts/SBL_Hebrew.ttfbin0 -> 315092 bytes
-rw-r--r--resources/pug/finals/index.pug2
-rw-r--r--resources/pug/include/layout.pug4
-rw-r--r--resources/sass/style.scss14
5 files changed, 25 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 82f3d19..891a759 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -17,7 +17,7 @@ gulp.task('watch', function() {
gulp.watch(config.pugPath + '/**/*.pug', ['pug']);
});
-gulp.task('default', ['bower', 'css', 'pug', 'img']);
+gulp.task('default', ['bower', 'css', 'pug', 'img', 'fonts']);
gulp.task('bower', function() {
return bower()
@@ -57,3 +57,8 @@ gulp.task('img', function() {
return gulp.src('./resources/img/*')
.pipe(gulp.dest('./build/assets/img'));
});
+
+gulp.task('fonts', function() {
+ return gulp.src('./resources/fonts/*')
+ .pipe(gulp.dest('./build/assets/fonts'));
+});
diff --git a/resources/fonts/SBL_Hebrew.ttf b/resources/fonts/SBL_Hebrew.ttf
new file mode 100644
index 0000000..2802c61
--- /dev/null
+++ b/resources/fonts/SBL_Hebrew.ttf
Binary files differ
diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug
index 2fc3c44..30c92a1 100644
--- a/resources/pug/finals/index.pug
+++ b/resources/pug/finals/index.pug
@@ -3,7 +3,7 @@ extends /layout.pug
block content
img#profile(alt="Camil Staps", style="float:left;", src="/assets/img/profile-300x300.png", width="170")
div#basicinfo
- p Freelance programmer; student #[a(href="http://www.ru.nl/english/education/masters/software-science/") Software Science] and #[a(href="http://www.mastersinleiden.nl/programmes/hebrew-and-aramaic-studies-research/en/introduction") Hebrew and Aramaic studies]
+ p Student #[a(href="http://www.ru.nl/english/education/masters/software-science/") Software Science] and #[a(href="http://www.mastersinleiden.nl/programmes/hebrew-and-aramaic-studies-research/en/introduction") Hebrew and Aramaic studies]
p
span.tt info@camilstaps.nl
p
diff --git a/resources/pug/include/layout.pug b/resources/pug/include/layout.pug
index e6ecc65..988e7b9 100644
--- a/resources/pug/include/layout.pug
+++ b/resources/pug/include/layout.pug
@@ -21,6 +21,10 @@ html(lang="en")
p.text-center
| Copyright © Camil Staps 2015–#{date.getFullYear()}  • 
= "Last updated " + date.toDateString()
+ p.text-center.greyed-out
+ | This page uses the SBL Hebrew font which is property of Tiro Typeworks. For details, see
+ a(href='https://www.sbl-site.org/educational/biblicalfonts.aspx', target='_blank') the information page
+ |.
include foot.pug
diff --git a/resources/sass/style.scss b/resources/sass/style.scss
index e54ba81..8cfa677 100644
--- a/resources/sass/style.scss
+++ b/resources/sass/style.scss
@@ -1,9 +1,23 @@
@import "bootstrap";
+@font-face {
+ font-family: Hebrew;
+ src: url('/assets/fonts/SBL_Hebrew.ttf');
+ unicode-range: U+0590-05FF;
+}
+
+body {
+ font-family: Hebrew, sans-serif;
+}
+
.container {
max-width: 970px;
}
+.greyed-out {
+ color: #888;
+}
+
img#profile {
margin: 1em 1em 1em 0;
}