Valenspara Web Sitesi
This repository is a Jekyll-based static website for Valenspara (Turkish).
-
Use the Ruby/Bundler flow: install dependencies then serve locally:
bundle install bundle exec jekyll serve -
Gemfilepinsjekyll ~> 4.3and includes thejekyll-feedplugin. -
_config.ymlsetshost: 0.0.0.0and usessite.baseurlfor relative URLs.
- Content pages: top-level
.mdfiles (e.g.about.md,contact.md) generate their routes. - Collection
projects: files in_projects/(example:_projects/01-kesinti.md) uselayout: project_single. - Templates:
_layouts/(e.g.default.html,projects.html,project_single.html). - Includes:
_includes/(e.g.nav.html,head.html,footer.html) — modify these for site-wide changes. - Styles:
css/main.scssand_sass/partials. Jekyll compiles SCSS to_site/css/main.css. - Static assets:
img/,js/(includingMultiCarousel.js), andfiles/. - Build output:
_site/(do not edit directly).
- Navigation is driven from
_config.ymlviasite.nav(example lines near top of_config.yml). Edit there to add/remove nav links. - Use Liquid filters consistently:
{{ '/path' | prepend: site.baseurl }}and{{ page.url | relative_url }}are used across templates. - Pages use front matter for metadata. Example project front matter includes
title,project_date,project_type. - Scripts:
MultiCarousel.jsandmain.jsare injs/. Thedefault.htmllayout currently has script tags commented out — check intent before re-enabling.
-
To add a new project announcement: create
_projects/08-new-event.mdwith:--- layout: project_single title: 08.08.2025 - Başlık project_date: 08.08.2025 project_type: [Duyuru] --- İçerik...
-
To change top navigation order or names, edit
site.navin_config.yml(the layout iteratessite.navin_includes/nav.html). -
For CSS fixes, prefer editing
_sass/_includes/*.scssorcss/main.scss.
- Uses CDN-hosted Bootstrap, jQuery, Popper (see
_includes/head.html). Gemfilelists Ruby gems; no Node build pipeline is present.- The site is served from the
gh-pagesbranch in this workspace;_site/contains the generated output.
- Do not edit files in
_site/— they are generated. - Keep
site.baseurlusage when referencing assets so paths work in production. - When re-enabling JS includes in
_layouts/default.html, verify thatMultiCarousel.jsis referenced atjs/MultiCarousel.jsand thatmain.jsinitialization inmain.jspoints to an existing DOM element (e.g..logo-row).
- Navigation:
_includes/nav.htmland_config.yml. - Project collection:
_projects/01-kesinti.mdand_layouts/projects.html. - Global layout:
_layouts/default.htmland_includes/head.html. - Styles:
css/main.scssand_sass/_includes/*.scss.
- Update
_config.ymlfor site settings. - Update
Gemfileand runbundle installto change Jekyll or plugin versions.