summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-03-08 13:57:00 +0100
committerJules Laplace <julescarbon@gmail.com>2019-03-08 13:57:00 +0100
commit6ddf79260f153aa52d2b444772c03cae502f4d35 (patch)
treea012e0b8095623dc9d2e15fb7e67a9052f4a6aa8
parentdc34302fe60f773e8ad65f6a846780a1c8d910f2 (diff)
misc css
-rw-r--r--megapixels/app/site/loader.py2
-rw-r--r--site/assets/css/css.css10
-rw-r--r--site/content/pages/datasets/brainwash/index.md2
-rw-r--r--site/templates/layout.html2
4 files changed, 9 insertions, 7 deletions
diff --git a/megapixels/app/site/loader.py b/megapixels/app/site/loader.py
index 691efb25..04f7653a 100644
--- a/megapixels/app/site/loader.py
+++ b/megapixels/app/site/loader.py
@@ -72,6 +72,8 @@ def parse_metadata(fn, sections):
if metadata['status'] == 'published|draft|private':
metadata['status'] = 'published'
+ metadata['og_desc'] = re.sub('<[^<]+?>', '', metadata['desc'])
+
metadata['sync'] = metadata['sync'] != 'false'
metadata['author_html'] = '<br>'.join(metadata['authors'].split(','))
diff --git a/site/assets/css/css.css b/site/assets/css/css.css
index e0d15c80..bfb35260 100644
--- a/site/assets/css/css.css
+++ b/site/assets/css/css.css
@@ -750,11 +750,11 @@ page-specific formatting
/* about */
-.content-about{
- font-color:#ff0;
+.content-about {
+ color: #ff0;
}
-.content-about .about-menu ul li{
- display:inline-block;
+.content-about .about-menu ul li {
+ display: inline-block;
font-size: 14px;
font-weight: 400;
margin-right: 8px;
@@ -762,7 +762,7 @@ page-specific formatting
margin-right: 15px;
font-family: 'Roboto';
}
-.content-about .about-menu ul li a{
+.content-about .about-menu ul li a {
border-bottom: 0;
color: #aaa;
}
diff --git a/site/content/pages/datasets/brainwash/index.md b/site/content/pages/datasets/brainwash/index.md
index 6c8cad97..744b2e65 100644
--- a/site/content/pages/datasets/brainwash/index.md
+++ b/site/content/pages/datasets/brainwash/index.md
@@ -33,7 +33,7 @@ authors: Adam Harvey
*Brainwash* is a face detection dataset created from the Brainwash Cafe's livecam footage including 11,918 images of "everyday life of a busy downtown cafe[^readme]". The images are used to develop face detection algorithms for the "challenging task of detecting people in crowded scenes" and tracking them.
-Before closing in 2017, Brainwash Cafe was a "cafe and laundromat" located in San Francisco's Lower Haight district. The cafe published a publicy available livestream from the cafe with a view of the cash register, performance stage, and seating area.
+Before closing in 2017, Brainwash Cafe was a "cafe and laundromat" located in San Francisco's SoMA district. The cafe published a publicy available livestream from the cafe with a view of the cash register, performance stage, and seating area.
Since it's publication by Stanford in 2015, the Brainwash dataset has appeared in several notable research papers. In September 2016 four researchers from the National University of Defense Technology in Changsha, China used the Brainwash dataset for a research study on "people head detection in crowded scenes", concluding that their algorithm "achieves superior head detection performance on the crowded scenes dataset[^localized_region_context]". And again in 2017 three researchers at the National University of Defense Technology used Brainwash for a study on object detection noting "the data set used in our experiment is shown in Table 1, which includes one scene of the brainwash dataset[^replacement_algorithm]".
diff --git a/site/templates/layout.html b/site/templates/layout.html
index 42e2cf59..860d1283 100644
--- a/site/templates/layout.html
+++ b/site/templates/layout.html
@@ -4,7 +4,7 @@
<title>MegaPixels</title>
<meta charset="utf-8" />
<meta name="author" content="{{ metadata.authors }}" />
- <meta name="description" content="{{ metadata.desc }}" />
+ <meta name="description" content="{{ metadata.og_desc }}" />
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link rel='stylesheet' href='/assets/css/fonts.css' />