Browse Source

Added 14mm star photography photos

pull/77/head
Jeffery Russell 5 years ago
parent
commit
5e8586869c
8 changed files with 4 additions and 2 deletions
  1. BIN
      blogContent/photos/2019/7/1.jpg
  2. BIN
      blogContent/photos/2019/7/14mm-stars/1.jpg
  3. BIN
      blogContent/photos/2019/7/14mm-stars/DSC05099.jpg
  4. BIN
      blogContent/photos/2019/7/14mm-stars/DSC05100.jpg
  5. BIN
      blogContent/photos/2019/7/14mm-stars/DSC05104.jpg
  6. BIN
      blogContent/photos/2019/7/14mm-stars/DSC05106.jpg
  7. +3
    -0
      blogContent/photos/2019/7/14mm-stars/post.md
  8. +1
    -2
      routes/photos/index.js

BIN
blogContent/photos/2019/7/1.jpg View File

Before After
Width: 1080  |  Height: 722  |  Size: 1.3 MiB Width: 1080  |  Height: 722  |  Size: 1.2 MiB

BIN
blogContent/photos/2019/7/14mm-stars/1.jpg View File

Before After
Width: 1080  |  Height: 722  |  Size: 1.2 MiB

BIN
blogContent/photos/2019/7/14mm-stars/DSC05099.jpg View File

Before After
Width: 1080  |  Height: 1080  |  Size: 1.9 MiB

BIN
blogContent/photos/2019/7/14mm-stars/DSC05100.jpg View File

Before After
Width: 1080  |  Height: 722  |  Size: 1.2 MiB

BIN
blogContent/photos/2019/7/14mm-stars/DSC05104.jpg View File

Before After
Width: 1080  |  Height: 722  |  Size: 1.3 MiB

BIN
blogContent/photos/2019/7/14mm-stars/DSC05106.jpg View File

Before After
Width: 1080  |  Height: 722  |  Size: 1.2 MiB

+ 3
- 0
blogContent/photos/2019/7/14mm-stars/post.md View File

@ -0,0 +1,3 @@
# Star Photography
Star photography in Middlesex NY with a 14mm lens.

+ 1
- 2
routes/photos/index.js View File

@ -31,7 +31,6 @@ photoPageBuilder = function(filename, request, templateContext)
{ {
if(fs.existsSync(photosBaseDir + filename + "/post.md")) if(fs.existsSync(photosBaseDir + filename + "/post.md"))
{ {
var markdownContent = utils.getFileContents( var markdownContent = utils.getFileContents(
photosBaseDir + filename + "/post.md"); photosBaseDir + filename + "/post.md");
@ -62,7 +61,7 @@ photoPageBuilder = function(filename, request, templateContext)
templateContext.directory = true; templateContext.directory = true;
fs.readdirSync(photosBaseDir + filename).forEach(file=> fs.readdirSync(photosBaseDir + filename).forEach(file=>
{ {
if(!file.includes('.md') && !file.includes('.jpg')) //only pick up folders
if(!file.includes('.md') && !file.includes('.jpg') && !file.includes('private')) //only pick up folders
{ {
templateContext.folders.push({url: "/photos" + filename + "/" + file, templateContext.folders.push({url: "/photos" + filename + "/" + file,
img:imagePath + file + "/1.jpg"}); img:imagePath + file + "/1.jpg"});

Loading…
Cancel
Save