{"id":14037170,"url":"https://github.com/andrewbanchich/lens-jekyll-theme","last_synced_at":"2025-10-02T16:31:51.684Z","repository":{"id":9849980,"uuid":"63541361","full_name":"andrewbanchich/lens-jekyll-theme","owner":"andrewbanchich","description":"A Jekyll version of the \"Lens\" theme by HTML5 UP.","archived":true,"fork":false,"pushed_at":"2022-12-10T03:08:31.000Z","size":3591,"stargazers_count":63,"open_issues_count":0,"forks_count":91,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-29T03:01:33.757Z","etag":null,"topics":["html","jekyll","jekyll-themes","lens-theme","ruby-gem","static","static-site","theme"],"latest_commit_sha":null,"homepage":"https://andrewbanchich.github.io/lens-jekyll-theme/","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewbanchich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["andrewbanchich"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-07-17T16:23:01.000Z","updated_at":"2024-06-16T15:25:28.000Z","dependencies_parsed_at":"2023-01-11T20:13:24.250Z","dependency_job_id":null,"html_url":"https://github.com/andrewbanchich/lens-jekyll-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbanchich%2Flens-jekyll-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbanchich%2Flens-jekyll-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbanchich%2Flens-jekyll-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbanchich%2Flens-jekyll-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewbanchich","download_url":"https://codeload.github.com/andrewbanchich/lens-jekyll-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235025158,"owners_count":18924241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","jekyll","jekyll-themes","lens-theme","ruby-gem","static","static-site","theme"],"created_at":"2024-08-12T03:02:33.079Z","updated_at":"2025-10-02T16:31:51.179Z","avatar_url":"https://github.com/andrewbanchich.png","language":"SCSS","funding_links":["https://github.com/sponsors/andrewbanchich"],"categories":["SCSS"],"sub_categories":[],"readme":"# Lens - Jekyll Theme\n\nA Jekyll version of the \"Lens\" theme by [HTML5 UP](https://html5up.net/).\n\n![Lens Theme](assets/images/lens.jpg \"Lens Theme\")\n\n# How to Use\n\nFor those unfamiliar with how Jekyll works, check out [https://jekyllrb.com/](https://jekyllrb.com/) for all the details,\nor read up on just the basics of [front matter](https://jekyllrb.com/docs/frontmatter/), [writing posts](https://jekyllrb.com/docs/posts/),\nand [creating pages](https://jekyllrb.com/docs/pages/).\n\n- **GitLab**: Simply fork this repository and start editing the `_config.yml` file!  \n- **GitHub**: Fork this reposity and create a branch named `gh-pages`, then start editing the `_config.yml` file!\n\n# Issues\n\nIf you would like to report a bug, ask a question, request a feature, feel free to do so on [the GitLab repository](https://gitlab.com/andrewbanchich/lens-jekyll-theme) and I will be more than happy to help!\n\nAlternatively, you can open an issue via email by emailing [incoming+andrewbanchich/lens-jekyll-theme@incoming.gitlab.com](mailto:incoming+andrewbanchich/lens-jekyll-theme@incoming.gitlab.com).\n\nThe GitHub repository is simply a mirror of the GitLab repository.\n\n# Credits\n\nOriginal README from HTML5 UP:\n\n```\nLens by HTML5 UP\nhtml5up.net | @ajlkn\nFree for personal and commercial use under the CCA 3.0 license (html5up.net/license)\n\n\nThis is Lens, a full screen (and entirely responsive) photo gallery design. Unlike previous\ndesigns I've done in this vein (Parallelism, for instance), this one eschews the usual\nlightbox in favor of a completely full screen experience -- one that I'm happy to say\ntranslates awesomely all the way down to the tiniest of mobile devices. Full instructions\nbelow!\n\nDemo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images\nyou can use for pretty much whatever.\n\n(* = Not included)\n\nFeedback, bug reports, and comments are not only welcome, but strongly encouraged :)\n\nAJ\naj@lkn.io | @ajlkn\n\n\nInstructions:\n\n\tOverview:\n\n\t\tLens is made up of three primary components:\n\n\t\t- The \"main wrapper\": The skinny little column on the right. Home to what little\n\t\t  \"regular\" content you may have (header, footer, anything else you want to cram\n\t\t  in there), as well as ...\n\n\t\t- The \"thumbnails\" section: A grid of thumbnails pointing to their respective\n\t\t  full size images.\n\n\t\t- The \"viewer\": Basically the rest of the page, and basically where your full size\n\t\t  images will show up when a thumbnail is clicked.\n\n\t\tNote: Only the main wrapper and the thumbnails section are actually present in\n\t\tindex.html. The viewer will be dynamically created on page load.\n\n\tHow it works:\n\n\t\tJust add your thumbnails to the thumbnails section in the following format:\n\n\t\t\t\u003carticle\u003e\n\t\t\t\t\u003ca class=\"thumbnail\" href=\"path/to/fullsize.jpg\"\u003e\n\t\t\t\t\t\u003cimg src=\"path/to/thumbnail.jpg\" alt=\"\" /\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\u003ch2\u003eTitle\u003c/h2\u003e\n\t\t\t\t\u003cp\u003eDescription.\u003c/p\u003e\n\t\t\t\u003c/article\u003e\n\n\t\tAnd that's it. Lens will figure out the rest.\n\n\tThe \"data-position\" attribute:\n\n\t\tAs a full screen experience, the viewer will be subject to changes in its size and,\n\t\tconsequently, its aspect ratio. Since your full size images are basically applied as\n\t\tbackgrounds to the viewer itself, this means they'll probably (okay, definitely) get\n\t\tcropped. All is not lost, however, as you can use the optional \"data-position\" attribute\n\t\tto control how the full size image is positioned within the viewer. To do this, simply\n\t\tadd it to your thumbnail's \u003ca\u003e element and set it to any valid \"background-position\"\n\t\tvalue. For example, this:\n\n\t\t\t\u003ca class=\"thumbnail\" href=\"path/to/fullsize.jpg\" data-position=\"top left\"\u003e...\u003c/a\u003e\n\n\t\t... positions this particular full size image in the top left corner of the viewer (as\n\t\topposed to its center, the default), effectively limiting cropping to everything but\n\t\tthe top left corner.\n\n\tKeyboard shortcuts:\n\n\t\tLens is set up to respond to the following keyboard shortcuts:\n\n\t\t- Left Arrow: Go to previous image.\n\t\t- Right Arrow: Go to next image.\n\t\t- Up Arrow: Go to image above the current one in the thumbnails section.\n\t\t- Down Arrow: Go to image below the current one in the thumbnails section.\n\t\t- Space: Go to next image.\n\t\t- Escape: Toggle the main wrapper.\n\n\t\tNote: All keyboard shortcuts are disabled when the \"xsmall\" breakpoint is active\n\t\t(since they don't really make a whole lot of sense there).\n\n\tOther stuff:\n\n\t\t- The main wrapper can be moved to the left by changing the \"misc.main-side\" variable\n\t\t  in assets/sass/libs/_vars.scss to \"left\" (and of course recompiling your CSS).\n\n\t\t- Additional tweakable settings can be found at the top of assets/js/main.js, but\n\t\t  be aware most of these need to sync with certain Sass variables (see comments\n\t\t  for details).\n\n\nCredits:\n\n\tDemo Images:\n\t\tUnsplash (unsplash.com)\n\n\tIcons:\n\t\tFont Awesome (fortawesome.github.com/Font-Awesome)\n\n\tOther:\n\t\tjQuery (jquery.com)\n\t\thtml5shiv.js (@afarkas @jdalton @jon_neal @rem)\n\t\tRespond.js (j.mp/respondjs)\n\t\tSkel (skel.io)\n\n```\n\nRepository [Jekyll logo](https://github.com/jekyll/brand) icon licensed under a [Creative Commons Attribution 4.0 International License](http://choosealicense.com/licenses/cc-by-4.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbanchich%2Flens-jekyll-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewbanchich%2Flens-jekyll-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbanchich%2Flens-jekyll-theme/lists"}