diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..374d76c Binary files /dev/null and b/.DS_Store differ diff --git a/:w b/:w new file mode 100644 index 0000000..6bd5f1d --- /dev/null +++ b/:w @@ -0,0 +1,12 @@ +body { + background: #f8f8f2; +} + +.container { + margin: 0 auto; + max-width: 900px; +} + +.top-spacing { + margin-top: 5%; +} diff --git a/README.md b/README.md index f93ca4a..6ba84ad 100644 --- a/README.md +++ b/README.md @@ -2,46 +2,17 @@ [](https://app.netlify.com/sites/gaiety-art/deploys) -This is a photo gallery demo project for Netlify Large Media made with photos from [Unsplash](https://unsplash.com/) and built with [Hugo](https://gohugo.io/). +## Deving Locally -This project has two branches: - -* **master:** A photo gallery that does _not_ have Netlify Large Media enabled yet. You can follow the [README instructions](https://github.com/netlify/netlify-photo-gallery/blob/master/README.md/#how-to-deploy-your-own-photo-gallery-with-large-media) to deploy this with your Netlify account and start using Large Media yourself. -* **large-media-sample:** A copy of the photo gallery, with Netlify Large Media enabled. You can go to the files in the [static/images](https://github.com/netlify/netlify-photo-gallery/tree/large-media-sample/static/images) folder to see how large media assets are managed with Git. This branch is used to deploy the demo site, [https://netlify-photo-gallery.netlify.com/](https://netlify-photo-gallery.netlify.com/). - -## How to deploy your own photo gallery with Netlify Large Media - -1. Deploy to Netlify with "Deploy to Netlify" button. This will create a new Netlify site and copy the repository to your GitHub account. - - [](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-photo-gallery) -2. Find your newly created repository on GitHub and clone it to your local computer with `git clone`. -3. Follow the instructions for [Enabling Netlify Large Media](https://www.netlify.com/docs/large-media/#enabling-netlify-large-media) to enable Large Media for the newly deployed site. -4. Specify which files to track using the `git lfs track` command. The following example tracks `jpg` and `png` files. Tracking them is required for this photo gallery, so you can start tracking them: - * To track jpg files: `git lfs track "*.jpg"`. - * To track png files: `git lfs track "*.png"`. -5. Find out more about how to configure file tracking in [the documentation](https://www.netlify.com/docs/large-media/#large-media-file-tracking-configuration). -7. After making sure you `git add` and `git commit` your changes, run `git push origin master` to push your changes to GitHub. It'll be automatically deployed to Netlify using Large Media. -8. When your deploy is done, try running transformations with the image files. For example, you can tweak the layout file at `layouts/photos_s/list.html`. - -## Running the site locally - -This site is built with Hugo, and works with Hugo version 0.42 and above. Run `hugo version` in your teminal to see if you have Hugo installed. If it's not installed, or you have a version below 0.42, follow the [Hugo documentation](https://gohugo.io/getting-started/installing) to install the current version. - -When Hugo is installed, `cd` into this repository and run: +https://gohugo.io/ ``` hugo server ``` -After building the site, the terminal will output the URL for the local server. It will hot reload when you save changes. +## Forked from Netlify Photo Gallery -## To add photos to the gallery: +https://github.com/netlify/netlify-photo-gallery/blob/master/README.md/#how-to-deploy-your-own-photo-gallery-with-large-media -1. Add some images in `static/images` folder, and the info to `data/photos.json`. - * You can check which files/suffix are currently tracked by checking `.gitattributes` file. -2. Once it's done, you can `git add`, `git commit`, then `git push` to push them to Netlify Large Media! -3. By running `git lfs ls-files`, you can double check which files are managed by Large Media. +Requires Git LFS -## Get fancy - -With Netlify Large Media, you can do cool things like image transformation. You can visit the [documentation](https://www.netlify.com/docs/image-transformation/) for more detail. diff --git a/config.toml b/config.toml index 4c7129f..4019c78 100644 --- a/config.toml +++ b/config.toml @@ -1,17 +1,3 @@ -baseURL = "https://netlify-photo-gallery.netlify.com/" +baseURL = "https://gaiety.art/" languageCode = "en-us" -title = "Netlify photo gallery" - -[menu] - [[menu.main]] - identifier = "top" - name = "Home" - url = "/" - [[menu.main]] - identifier = "photos_m" - name = "Photo gallery (masonry)" - url = "/photos_m/" - [[menu.main]] - identifier = "photos_s" - name = "Photo gallery (square)" - url = "/photos_s/" +title = "Gaiety Art" diff --git a/content/_index.md b/content/_index.md index 8a95051..53e5295 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,15 +1,5 @@ --- -title: "All the cool photos live here" +title: "Gaiety Art" date: 2019-02-11T18:25:55-08:00 --- -This is a photo gallery demo project for Netlify Large Media made with photos from [Unsplash](https://unsplash.com/) and built with [Hugo](https://gohugo.io/). - -This project has two branches: - -- **master:** A photo gallery that does _not_ have Netlify Large Media enabled yet. You can follow the [README instructions](https://github.com/netlify/netlify-photo-gallery/blob/master/README.md/#how-to-deploy-your-own-photo-gallery-with-large-media) to deploy this with your Netlify account and start using Large Media yourself. -- **large-media-sample:** A copy of the photo gallery, with Netlify Large Media enabled. You can go to the files in the [static/images](https://github.com/netlify/netlify-photo-gallery/tree/large-media-sample/static/images) folder to see how large media assets are managed with Git. This branch is used to deploy the demo site, [https://netlify-photo-gallery.netlify.com/](https://netlify-photo-gallery.netlify.com/). - -### What can I do with this? - -If you want to try deploying your own photo gallery with Netlify Large Media, please go to the [README](https://github.com/netlify/netlify-photo-gallery/blob/master/README.md) for how to do it. \ No newline at end of file diff --git a/content/photos_m/_index.md b/content/photos_m/_index.md deleted file mode 100644 index 9c4aadb..0000000 --- a/content/photos_m/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: "Photo list" -date: 2019-02-11T18:47:38-08:00 ---- diff --git a/content/photos_s/_index.md b/content/photos_s/_index.md deleted file mode 100644 index 9c4aadb..0000000 --- a/content/photos_s/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: "Photo list" -date: 2019-02-11T18:47:38-08:00 ---- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 22ad08f..e028006 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,24 +8,26 @@ {{ end }} - + - + + -
+