diff --git a/.gitignore b/.gitignore index 76a0bf1..78cfdf8 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,25 @@ -_site -.sass-cache -Gemfile.lock +# Jekyll specific +_site/ +.sass-cache/ +.jekyll-cache/ +.jekyll-metadata + +# Dependency directories +node_modules/ + +# Environment files +.env + +# Build output +dist/ + +# Temporary files +*.swp +.DS_Store + +# Logs +*.log + +# IDE-specific files +.vscode/ +.idea/ \ No newline at end of file diff --git a/README.md b/README.md index e305d0d..bdcb3d2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,31 @@ -# Econ3.org Blog -We are exploring Collaborative Economics as a community-driven solution to latestage capitalism. +# Jekyll Blog with Author Metadata -Add to /posts to contribute :) +## Author Metadata Feature -All PRs welcome \ No newline at end of file +This Jekyll site supports rich author metadata for blog posts. + +### Adding Author Information + +In your blog post's front matter, you can specify author details: + +```yaml +--- +layout: post +title: "My Blog Post" +author: + name: "John Doe" + bio: "Software developer and tech enthusiast" + email: "john.doe@example.com" + twitter: "@johndoe" +--- +``` + +### Default Author + +If no author is specified, the site's default author (set in `_config.yml`) will be used. + +### Features +- Per-post author metadata +- Default site-wide author +- Displayed on post pages and index +- Flexible and extensible \ No newline at end of file diff --git a/_config.yml b/_config.yml index be54b6e..2c0d95b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,33 +1,15 @@ -baseurl: "/" # The subpath of your site. Use "" if you're hosting a blog at the root level. -url: "http://ellekasai.github.io" # the base hostname & protocol for your site -title: "Co-Lab" +# Site settings +title: My Jekyll Blog +description: A blog with author metadata support -# This is used by feed.xml. Uncomment if you want to use it. -# description: "..." - -gems: - - jemoji -exclude: - - "README.md" - - "CHANGELOG.md" - - "CNAME" - - "Gemfile" - - "Gemfile.lock" -permalink: :title +# Default author configuration defaults: - - - scope: - path: "" - type: "pages" - values: - layout: "default" - - - scope: + - scope: path: "" type: "posts" values: - layout: "post" - -# Excerpt settings -excerpt_separator: -show_excerpts: true + author: + name: "Default Site Author" + bio: "A writer who shares thoughts and insights" + email: "default@example.com" + twitter: "@defaultauthor" \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index cabc486..261cfdb 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,46 +1,27 @@ --- layout: default --- - -