File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="UTF-8 " />
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6- < title > Writings | Ruby Elders</ title >
6+ < title > <%= @title %> | Ruby Elders</ title >
77 < link rel ="stylesheet " href ="/css/writings.css " />
88 < link rel ="icon " type ="image/png " href ="/assets/img/favicon.png " />
99 <!-- Syntax Highlighting: Prism.js -->
Original file line number Diff line number Diff line change 4444
4545# Generate writings index page
4646@writings = writings
47+ @title = "Writings"
4748@content = ERB . new ( list_template ) . result ( binding )
4849html_output = ERB . new ( layout_template ) . result ( binding )
4950File . write ( 'writings.html' , html_output )
5657writings . each do |w |
5758 markdown = File . read ( w [ :source ] )
5859 @writing = w
60+ @title = w [ :title ]
5961 @content = Kramdown ::Document . new ( markdown ) . to_html
6062
6163 # Render the post template with writing and HTML content
Original file line number Diff line number Diff line change 33
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > Writings | Ruby Elders</ title >
6+ < title > We ❤️ Ruby — March 2025: Our First Deep Dive into the RubyGems.org Ecosystem | Ruby Elders</ title >
77 < link rel ="stylesheet " href ="/css/writings.css ">
88 < link rel ="icon " type ="image/png " href ="/assets/img/favicon.png ">
99 <!-- Syntax Highlighting: Prism.js -->
You can’t perform that action at this time.
0 commit comments