
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
phcdevworks_titleseo
Advanced tools
Standardize your website's look and feel with PHCDevworks' Rails view helpers. Our helpers simplify the coding process for managing page headings, taglines, SEO, and title tags, ensuring that your pages always look their best.
gem 'phcdevworks_titleseo'
bundle install
Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
helper PhcdevworksTitleseo::Engine.helpers
Page Titles - At the top of the page, view add the hidden lines of code below.
<% phc_title "Example Title" %>
<% phc_title_tagline "Example Tagline" %>
Page SEO Normail Meta Tags - At the top of your layout view file add the hidden lines of code below.
<% phc_seo_title "Example SEO Page Title" %>
<% phc_seo_description "Example SEO Page Description" %>
Page SEO Open Graph/Facebook Meta Tags - At the top of your layout view file add the hidden lines of code below.
<% phc_seo_open_graph_type "" %>
<% phc_seo_open_graph_url "" %>
<% phc_seo_open_graph_title "" %>
<% phc_seo_open_graph_description "" %>
<% phc_seo_open_graph_image "" %>
Page SEO Twitter Meta Tags - At the top of your layout view file add the hidden lines of code below.
<% phc_seo_twitter_type "" %>
<% phc_seo_twitter_url "" %>
<% phc_seo_twitter_title "" %>
<% phc_seo_twitter_description "" %>
<% phc_seo_twitter_image "" %>
Page BreadCrumbs - At the top of the page, view add the hidden lines of code below.
<% phc_breadcrumb_one "Example News" %>
<% phc_breadcrumb_two "Article" %>
<% phc_breadcrumb_three "Index" %>
Add the code below in your views whenever page titles are required (can be used unlimited number of times).
<%= yield(:phc_title) %>
Add the code below to your views whenever page subtitles are required (can also be used an unlimited number of times).
<%= yield(:phc_title_tagline) %>
<title><%= yield(:phc_seo_title) %></title>
<meta name="description" content="<%= yield(:phc_seo_description) %>">
<meta property="og:type" content="<%= yield(:phc_seo_open_graph_type) %>">
<meta property="og:url" content="<%= yield(:phc_seo_open_graph_url) %>">
<meta property="og:title" content="<%= yield(:phc_seo_open_graph_title) %>">
<meta property="og:description" content="<%= yield(phc_seo_open_graph_description) %>">
<meta property="og:image" content="<%= yield(:phc_seo_open_graph_image) %>">
<meta property="twitter:card" content="<%= yield(:phc_seo_twitter_type) %>">
<meta property="twitter:url" content="<%= yield(:phc_seo_twitter_url) %>">
<meta property="twitter:title" content="<%= yield(:phc_seo_twitter_title) %>">
<meta property="twitter:description" content="<%= yield(:phc_seo_twitter_description) %>">
<meta property="twitter:image" content="<%= yield(:phc_seo_twitter_image) %>">
<ol class="breadcrumb">
<li><%= yield(:phc_breadcrumb_one) %></li>
<li><%= yield(:phc_breadcrumb_two) %></li>
<li class="active"><%= yield(:phc_breadcrumb_three) %></li>
</ol>
FAQs
Unknown package
We found that phcdevworks_titleseo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.