diff --git a/README.md b/README.md index 6d6124f..7089a6a 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,56 @@ -# Klisé +# LaLUG website -Klisé is minimalist Jekyll theme for running a personal site and blog running on Jekyll.
-For demo klise.now.sh +This repository contains the LaLUG website based on jekyll and the jekyll-klise template. -## Features -- [x] Light & Dark Mode support :waxing_crescent_moon: -- [x] Customizable (using `.scss`) -- [x] Responsive (desktop, tab and mobile) -- [x] Mobile First Design -- [x] SEO Optimized -- [x] Images of post Organized ([`jekyll-postfiles`](https://github.com/nhoizey/jekyll-postfiles)) -- [x] Generate Sitemap ([`jekyll-sitemap`](https://github.com/jekyll/jekyll-sitemap)) -- [x] RSS Feed ([`jekyll-feed`](https://github.com/jekyll/jekyll-feed)) -- [x] Syntax Highlighter ([`rouge`](https://github.com/rouge-ruby/rouge)) -- [x] Next & Previous Post -- [x] Comment layout, enable in frontmatter if you wish -- [x] Google analytics -- [x] HTML Minify ([`jekyll-compress-html`](https://github.com/penibelst/jekyll-compress-html)) -- [x] W3C **Validated** -- [x] Lighthouse and PageSpeed **Passed** +## Development environment using podman -![Lighthouse Result](./lighthouse.png) +This part describes how to setup a develpoment environment using podman to keep your main system clean from ruby dependencies. +Install podman for your distribution: -## Backlogs +Debian 11: +```bash +apt install podman +``` +CentOS/Fedora: +```bash +dnf install podman +``` +or +```bash +yum install podman +``` + +Create a working directory: +```bash +mkdir -p lalug/bundle lalug/lalug-pod +cd lalug +git clone https://github.com/LALUG/lalug.github.io.git +``` +create a file pod.sh with your favorite editor and safe the following script: +```bash +# Gemfile lock has to be owned by apache:apache +touch ./lalug-pod/Gemfile.lock +chmod a+w ./lalug-pod/Gemfile.lock + +# Jekyll runs as User with id 1000 +podman run -it --rm --name jekyll \ + -v ./lalug.github.io:/srv/jekyll:rw,slave,Z \ + -v ./bundle:/usr/local/bundle:rw,slave,Z \ + --publish 4000:4000 \ + -e JEKYLL_UID=1000 \ + -e JEKYLL_GID=1000 \ + docker.io/jekyll/jekyll:3.8.5 \ + jekyll serve --drafts +``` +Make script executable: +```bash +chmod +x pod.sh +``` -- [ ] Intergrated with PhotoSwipe. -- [ ] Add schema.org meta information. -- [ ] Transform class selector to BEM metodology. +Now you can start the pod using the ./pod.sh script and your system keeps clean from all the needed jekyll dependencies. + +Have fun. ## Installation @@ -40,20 +63,6 @@ $ bundle install $ bundle exec jekyll serve ``` -Navigate to `localhost:4000`. You're Welcome, Fork and be Stargazer. - -[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/piharpi/jekyll-klise) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/piharpi/jekyll-klise) - -## Limitation - -- Since [`jekyll-postfiles`](https://github.com/nhoizey/jekyll-postfiles#compatibility) plugin isn't supported by github pages, this cause will make your site problems, path broken or post images won't show up, you can host alternatively using likes [netlify.com](https://netlify.com), [vercel.com](https://vercel.com) or [surge.sh](https://surge.sh) services, which support 3rd party. - -## Contributing - -If you see any typos or formatting errors in a post, or want to helping reduce backlogs or any other issue that needs to be addressed, please do not hesitate to open a pull request and fix it!, please read [contributing](./CONTRIBUTING.md) before PR. - -Yeaaa feel free to open a pull request. +Open `localhost:4000` in your browser. -## License -This project is open source and available under the [MIT License](LICENSE). diff --git a/_config.yml b/_config.yml index 4a92f3e..bafd479 100644 --- a/_config.yml +++ b/_config.yml @@ -1,29 +1,26 @@ # Site settings -title: Klise Theme # site title +title: Landshuter Linux User Group # site title description: >- # site description - He's writing in Bahasa about web technology and experience as a journal - for documentation things that he learned, meet him @github. -lang: en-US # default lang -timezone: Asia/Jakarta # set your timezone -image: assets/img/ogp.png # This image used for Open Graph more info https://ogp.me/ -repo: https://github.com/piharpi/jekyll-klise # site repo [optional] + Hier findet ihr Informationen zu unserer Landshuter Linux User Group. + Egal ob ihr Linux fuer euch neu entdeckt oder ob ihr alte Hasen im Umgang mit eurem Lieblingsbetriebssystem seid, + jeder ist herzlich willkommen bei uns. + Schau doch einfach mal bei uns im IRC (Internet Relay Chat) oder bei einem unserer Treffen vorbei. +lang: de-DE # default lang +timezone: Europe/Berlin # set your timezone +image: assets/img/lalug.png # This image used for Open Graph more info https://ogp.me/ +repo: https://github.com/lalug/lalug.github.io # site repo [optional] mode: dark # default theme "dark" | "light" # Profile settings author: - name: Jekyll Klisé # author name + name: LaLUG # author name bio: >- # tell to the world - The minimalist Jekyll theme, light and dark mode support, for running a personal site and blog, - meet Klisé theme at @github. - username: username # general username - github: github_username # github username - twitter: twitter_username # twitter username - facebook: facebook_username # facebook username - email: your-email@email.com # email adress - avatar: /assets/img/avatar.jpg # change with your own avatar + Landshuter-Linux-User-Group + email: info@lalug.de # email adress + avatar: /assets/img/lalug-rectangle.png # change with your own avatar # URL settings -url: "https://klise.now.sh" # +url: "https://lalug.github.io" # baseurl: permalink: /:title/ google_analytics: # leave it blank if not wish diff --git a/_data/menus.yml b/_data/menus.yml index 78daf1c..5329c95 100644 --- a/_data/menus.yml +++ b/_data/menus.yml @@ -2,6 +2,14 @@ url: / external: false +- title: events + url: /events/ + external: false + +- title: projekte + url: /projekte/ + external: false + - title: archive url: /archive/ external: false diff --git a/_includes/footer.html b/_includes/footer.html index 9b07897..41a48e2 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,6 +1,4 @@