nice clean recipes pear.dunkirk.sh
recipes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: proper error page

+19 -1
+18
ui/static/style.css
··· 321 321 font-size:0.9rem; 322 322 color:var(--text-muted); 323 323 margin-bottom:1.25rem; 324 + word-break:break-word; 325 + } 326 + .error-source{ 327 + overflow:hidden; 328 + text-overflow:ellipsis; 329 + white-space:nowrap; 330 + max-width:100%; 331 + } 332 + .error-source a{ 333 + color:var(--text); 334 + text-decoration:none; 335 + } 336 + .error-source a:hover{ 337 + color:var(--accent); 338 + text-decoration:underline; 339 + } 340 + .error-source a:hover .source-path{ 341 + color:var(--accent); 324 342 } 325 343 326 344 .bookmarklet{
+1 -1
ui/templates/error.html
··· 16 16 <div class="error-box"> 17 17 <h3>Could not extract recipe</h3> 18 18 <p>{{.Error}}</p> 19 - <a class="btn-secondary" href="{{.SourceURL}}" target="_blank" rel="noopener">Open original page &#8599;</a> 19 + <p class="error-source">You can view the original page at <a href="{{.SourceURL}}" target="_blank" rel="noopener">{{with cleanSource .SourceURL}}{{.host}}{{if .path}}<span class="source-path">{{.path}}</span>{{end}}{{end}}</a></p> 20 20 </div> 21 21 </div> 22 22 <footer>