ddfreyne on main
Upgrade dependencies Use Bundler 2.x (compare)
ddfreyne on main
Upgrade nanoc, nanoc-live (compare)
ddfreyne on main
nanoc-live: Set version to 1.0.… nanoc-live: Add release notes f… Set version to 4.11.23 and 1 more (compare)
ddfreyne on 4.11.23
nanoc-live: Set version to 1.0.… nanoc-live: Add release notes f… Set version to 4.11.23 and 1 more (compare)
ddfreyne on nanoc-core-v4.11.23
nanoc-live: Set version to 1.0.… nanoc-live: Add release notes f… Set version to 4.11.23 and 1 more (compare)
ddfreyne on nanoc-cli-v4.11.23
nanoc-live: Set version to 1.0.… nanoc-live: Add release notes f… Set version to 4.11.23 and 1 more (compare)
ddfreyne on nanoc-live-v1.0.0b8
nanoc-live: Set version to 1.0.… nanoc-live: Add release notes f… Set version to 4.11.23 and 1 more (compare)
ddfreyne on main
Set up GitLab CI Merge branch 'gitlab-ci' into '… (compare)
ddfreyne on gitlab-ci
Set up GitLab CI wip (compare)
ddfreyne on debug-timeout
Debug why nanoc tests sometimes… (compare)
piplelines
apropos check, I get 2 fails positives from the ilink checker, both to the same site , one time from the blog index and 1 time from an article linking to the same page, in both case the html is
<a href="/blog/2017/10/14/Using-SQLite3-in-your-C++-application.html">Using SQLite3 in your C++ application</a>
both links work... maybe the ++ in the URL?
wget https://a4z.gitlab.io/blog/2017/10/14/Using-SQLite3-in-your-C++-application.html
as being wrong,adsf
and adsf-live
gems, and then use the adsf --live-reload
command to run a live-reloading web server, separately from Nanoc
asdf-live
+ asdf I can remove my existing guard live reload rule ? An this becomes independent from the live reload browser extensions?
<%=link_to_unless_current("hello", "/.*")%>
should link to the page root. I get <a href="/.*">
, the literal link, instead. Am on the latest nanoc release and don't have legacy identifiers enabled 🤔
<%=link_to_unless_current("hello", "/")%>
, but only in the page content, not in the main menu partial (that itself invokes a ruby helper method to render the whole menu). I wonder if that's because @item
is not available in the helper module to check the context?
@DivineDominion Hey there! The second argument to link_to
/link_to_unless_current
is going to be exactly what ends up in the href
attribute.
If you want to link to a specifc item, you can use e.g. <%= link_to 'Home', @items['/home.*'] %>
— i.e. the second argument is the item you want to link to
link_to_unless_current('Blog', '/blog.*')
but that should be link_to_unless_current('Blog', @items['/blog.*'])