Skip to content

Commit 0e58d17

Browse files
committed
No target _blank
1 parent 6f2b9ce commit 0e58d17

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

internal/http/templates/compare.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ <h2 class="text-2xl font-bold text-gray-900 mb-6">How they compare</h2>
4545
<tbody>
4646
<tr class="border-t border-gray-200/40">
4747
<td class="px-4 py-3 font-medium text-gray-700">Ownership</td>
48-
<td class="px-4 py-3 text-gray-600">Community-owned by <a href="https://roots.io" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Roots</a></td>
48+
<td class="px-4 py-3 text-gray-600">Community-owned by <a href="https://roots.io" class="text-brand-primary hover:underline" rel="noopener">Roots</a></td>
4949
<td class="px-4 py-3 text-gray-600">WP Engine (private equity)</td>
5050
</tr>
5151
<tr class="border-t border-gray-200/40">
5252
<td class="px-4 py-3 font-medium text-gray-700">Open source</td>
53-
<td class="px-4 py-3 text-gray-600">Fully open source &mdash; <a href="https://github.com/roots/wp-composer" class="text-brand-primary hover:underline" target="_blank" rel="noopener">contributions welcome</a></td>
53+
<td class="px-4 py-3 text-gray-600">Fully open source &mdash; <a href="https://github.com/roots/wp-composer" class="text-brand-primary hover:underline" rel="noopener">contributions welcome</a></td>
5454
<td class="px-4 py-3 text-gray-600">Unclear &mdash; GitHub repo no longer reflects live site</td>
5555
</tr>
5656
<tr class="border-t border-gray-200/40">
5757
<td class="px-4 py-3 font-medium text-gray-700">Funding</td>
58-
<td class="px-4 py-3 text-gray-600">Community-funded via <a href="https://github.com/sponsors/roots" class="text-brand-primary hover:underline" target="_blank" rel="noopener">GitHub Sponsors</a></td>
58+
<td class="px-4 py-3 text-gray-600">Community-funded via <a href="https://github.com/sponsors/roots" class="text-brand-primary hover:underline" rel="noopener">GitHub Sponsors</a></td>
5959
<td class="px-4 py-3 text-gray-600">Corporate-funded</td>
6060
</tr>
6161
<tr class="border-t border-gray-200/40">
@@ -74,30 +74,30 @@ <h2 class="text-2xl font-bold text-gray-900 mb-6">How they compare</h2>
7474

7575
<h2 class="text-2xl font-bold text-gray-900 mb-4">The case for community ownership</h2>
7676

77-
<p class="text-gray-600 mb-4 leading-relaxed">WPackagist was originally built and maintained by <a href="https://outlandish.com/" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Outlandish</a>, who operated the service for over a decade. In its later years, the project suffered from neglect &mdash; slow updates, limited maintenance, and no meaningful community input into its direction.</p>
77+
<p class="text-gray-600 mb-4 leading-relaxed">WPackagist was originally built and maintained by <a href="https://outlandish.com/" class="text-brand-primary hover:underline" rel="noopener">Outlandish</a>, who operated the service for over a decade. In its later years, the project suffered from neglect &mdash; slow updates, limited maintenance, and no meaningful community input into its direction.</p>
7878

7979
<p class="text-gray-600 mb-4 leading-relaxed">Its acquisition by WP Engine raises important questions. When infrastructure this foundational to the WordPress developer workflow is controlled by a single corporation, the community loses its voice. Decisions about availability, pricing, and direction are made in boardrooms, not in the open.</p>
8080

81-
<p class="text-gray-600 mb-8 leading-relaxed">It's also unclear whether WPackagist remains truly open source. The <a href="https://github.com/outlandishideas/wpackagist" class="text-brand-primary hover:underline" target="_blank" rel="noopener">GitHub repository</a> no longer reflects the live website, making it difficult for the community to audit, contribute to, or fork the project.</p>
81+
<p class="text-gray-600 mb-8 leading-relaxed">It's also unclear whether WPackagist remains truly open source. The <a href="https://github.com/outlandishideas/wpackagist" class="text-brand-primary hover:underline" rel="noopener">GitHub repository</a> no longer reflects the live website, making it difficult for the community to audit, contribute to, or fork the project.</p>
8282

8383
<h2 class="text-2xl font-bold text-gray-900 mb-4">Built by Roots, maintained since 2011</h2>
8484

85-
<p class="text-gray-600 mb-4 leading-relaxed">WP Composer is built by <a href="https://roots.io" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Roots</a>, the team behind <a href="https://roots.io/bedrock/" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Bedrock</a>, <a href="https://roots.io/sage/" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Sage</a>, <a href="https://roots.io/trellis/" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Trellis</a>, and <a href="https://roots.io/acorn/" class="text-brand-primary hover:underline" target="_blank" rel="noopener">Acorn</a>. Since 2011, Roots has been continuously improving and maintaining open source WordPress tooling. We pioneered the use of Composer in WordPress development and have a proven track record of long-term commitment to the ecosystem.</p>
85+
<p class="text-gray-600 mb-4 leading-relaxed">WP Composer is built by <a href="https://roots.io" class="text-brand-primary hover:underline" rel="noopener">Roots</a>, the team behind <a href="https://roots.io/bedrock/" class="text-brand-primary hover:underline" rel="noopener">Bedrock</a>, <a href="https://roots.io/sage/" class="text-brand-primary hover:underline" rel="noopener">Sage</a>, <a href="https://roots.io/trellis/" class="text-brand-primary hover:underline" rel="noopener">Trellis</a>, and <a href="https://roots.io/acorn/" class="text-brand-primary hover:underline" rel="noopener">Acorn</a>. Since 2011, Roots has been continuously improving and maintaining open source WordPress tooling. We pioneered the use of Composer in WordPress development and have a proven track record of long-term commitment to the ecosystem.</p>
8686

87-
<p class="text-gray-600 mb-4 leading-relaxed">WP Composer is <a href="https://github.com/roots/wp-composer" class="text-brand-primary hover:underline" target="_blank" rel="noopener">fully open source</a> and designed for community collaboration. Every line of code is public, contributions are welcome, and the project's direction is shaped by the developers who use it.</p>
87+
<p class="text-gray-600 mb-4 leading-relaxed">WP Composer is <a href="https://github.com/roots/wp-composer" class="text-brand-primary hover:underline" rel="noopener">fully open source</a> and designed for community collaboration. Every line of code is public, contributions are welcome, and the project's direction is shaped by the developers who use it.</p>
8888

8989
<p class="text-gray-600 mb-8 leading-relaxed">The repository includes everything needed to run your own instance: the application code, documentation on how it all works, and the full Ansible setup for deploying to production. Anyone can fork it and build their own WordPress Composer repository.</p>
9090

9191
<h2 class="text-2xl font-bold text-gray-900 mb-4">Community-funded, community-driven</h2>
9292

93-
<p class="text-gray-600 mb-4 leading-relaxed">Unlike corporate-backed alternatives, WP Composer is funded entirely by the community through <a href="https://github.com/sponsors/roots" class="text-brand-primary hover:underline" target="_blank" rel="noopener">GitHub Sponsors</a>. Your sponsorship directly supports the infrastructure, development, and maintenance of WP Composer and the broader Roots ecosystem.</p>
93+
<p class="text-gray-600 mb-4 leading-relaxed">Unlike corporate-backed alternatives, WP Composer is funded entirely by the community through <a href="https://github.com/sponsors/roots" class="text-brand-primary hover:underline" rel="noopener">GitHub Sponsors</a>. Your sponsorship directly supports the infrastructure, development, and maintenance of WP Composer and the broader Roots ecosystem.</p>
9494

9595
<p class="text-gray-600 mb-8 leading-relaxed">Sponsoring Roots means investing in independent, community-owned WordPress tooling that serves developers &mdash; not shareholders.</p>
9696

9797
<div class="rounded-xl border border-brand-primary/20 bg-brand-lightest/30 p-6 sm:p-8 text-center mb-8">
9898
<h3 class="text-lg font-bold text-gray-900 mb-2">Support independent WordPress tooling</h3>
9999
<p class="text-gray-600 mb-5 text-sm">Help us keep WP Composer community-owned and freely available for every WordPress developer.</p>
100-
<a href="https://github.com/sponsors/roots" class="inline-flex items-center rounded-lg bg-brand-primary px-5 py-2.5 text-sm font-medium text-white hover:bg-brand-primary/85 transition-colors" target="_blank" rel="noopener">Sponsor Roots on GitHub</a>
100+
<a href="https://github.com/sponsors/roots" class="inline-flex items-center rounded-lg bg-brand-primary px-5 py-2.5 text-sm font-medium text-white hover:bg-brand-primary/85 transition-colors" rel="noopener">Sponsor Roots on GitHub</a>
101101
</div>
102102

103103
<h2 class="text-2xl font-bold text-gray-900 mb-4">Migrating from WPackagist</h2>

internal/http/templates/detail.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ <h2 class="text-sm font-semibold text-gray-900">Package Info</h2>
8888
{{if .Package.Author}}<div class="flex justify-between items-center py-2.5 border-b border-gray-200/30"><span class="text-gray-500 text-sm">Author</span><span class="text-sm text-gray-900">{{.Package.Author}}</span></div>{{end}}
8989
</div>
9090
<div class="px-4 py-3 border-t border-gray-200/40 flex flex-col gap-2">
91-
<a href="https://wordpress.org/{{if eq .Package.Type "plugin"}}plugins{{else}}themes{{end}}/{{.Package.Name}}/" class="flex items-center gap-1.5 text-sm text-brand-primary hover:underline" target="_blank" rel="noopener">
91+
<a href="https://wordpress.org/{{if eq .Package.Type "plugin"}}plugins{{else}}themes{{end}}/{{.Package.Name}}/" class="flex items-center gap-1.5 text-sm text-brand-primary hover:underline" rel="noopener">
9292
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/></svg>
9393
WordPress.org</a>
94-
{{if .Package.Homepage}}<a href="{{.Package.Homepage}}" class="flex items-center gap-1.5 text-sm text-brand-primary hover:underline" target="_blank" rel="noopener">
94+
{{if .Package.Homepage}}<a href="{{.Package.Homepage}}" class="flex items-center gap-1.5 text-sm text-brand-primary hover:underline" rel="noopener">
9595
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/></svg>
9696
Homepage</a>{{end}}
9797
</div>

internal/http/templates/layout.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@
3333
<div class="flex h-14 items-center justify-between">
3434
<div class="flex items-center gap-2.5 shrink-0">
3535
<a href="/" class="text-base font-bold tracking-tight text-brand-primary">WP Composer</a>
36-
<a href="https://roots.io" class="hidden sm:inline-flex items-center gap-1 text-[13px] text-brand-primary font-medium hover:text-brand-primary/80 transition-colors" target="_blank" rel="noopener">
36+
<a href="https://roots.io" class="hidden sm:inline-flex items-center gap-1 text-[13px] text-brand-primary font-medium hover:text-brand-primary/80 transition-colors" rel="noopener">
3737
<span class="text-gray-500 font-normal mr-0.5">by</span>
3838
<svg class="h-3.5 w-auto translate-y-px" viewBox="0 0 80 75" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M56.604 59.32c-5.97-5.962-9.26-13.89-9.26-22.318V23.958a.815.815 0 1 0-1.631 0c0 8.43-3.286 16.36-9.255 22.32L16.743 65.961a.813.813 0 0 0-.237.643.81.81 0 0 0 .34.6C23.665 72.05 31.672 74.61 40 74.61s16.338-2.56 23.157-7.406a.79.79 0 0 0 .334-.6.796.796 0 0 0-.227-.643l-6.66-6.64zm-35.38-48.398V.816A.813.813 0 0 0 20 .11C7.663 7.242-.001 20.484-.001 34.67c0 1.136.06 2.352.188 3.718.032.312.24.58.537.694a.979.979 0 0 0 .278.044.816.816 0 0 0 .574-.236L15.32 25.164a19.997 19.997 0 0 0 5.903-14.242zM59.997.11a.808.808 0 0 0-.816 0 .82.82 0 0 0-.408.706v36.186c0 5.378 2.103 10.437 5.911 14.242l6.655 6.65a.82.82 0 0 0 .579.241c.022 0 .046 0 .07-.005a.852.852 0 0 0 .601-.338C77.437 50.979 80 42.985 80 34.669 80 20.484 72.341 7.242 59.998.11zM28.377 38.203L8.662 57.894a.815.815 0 0 1-.579.241c-.021 0-.044 0-.065-.005a.827.827 0 0 1-.596-.338 39.91 39.91 0 0 1-2.962-4.84.824.824 0 0 1 .15-.957l18.793-18.76c5.967-5.965 9.253-13.887 9.253-22.313a.816.816 0 0 1 1.631 0v13.036c0 5.38-2.097 10.44-5.91 14.245z" fill-rule="nonzero"/></svg>
3939
roots.io</a>
4040
</div>
4141
<nav aria-label="Main" class="flex items-center gap-1">
42-
<a href="https://discourse.roots.io/" class="hidden sm:inline-flex rounded-md px-3 py-1.5 text-sm text-gray-500 hover:text-gray-900 transition-colors" target="_blank" rel="noopener">Community</a>
43-
<a href="https://github.com/roots/wp-composer" class="hidden sm:inline-flex rounded-md px-3 py-1.5 text-sm text-gray-500 hover:text-gray-900 transition-colors" target="_blank" rel="noopener">GitHub</a>
44-
<a href="https://github.com/sponsors/roots" class="inline-flex items-center rounded-lg bg-brand-primary px-3.5 py-1.5 text-sm font-medium text-white hover:bg-brand-primary/85 transition-colors" target="_blank" rel="noopener">Sponsor</a>
42+
<a href="https://discourse.roots.io/" class="hidden sm:inline-flex rounded-md px-3 py-1.5 text-sm text-gray-500 hover:text-gray-900 transition-colors" rel="noopener">Community</a>
43+
<a href="https://github.com/roots/wp-composer" class="hidden sm:inline-flex rounded-md px-3 py-1.5 text-sm text-gray-500 hover:text-gray-900 transition-colors" rel="noopener">GitHub</a>
44+
<a href="https://github.com/sponsors/roots" class="inline-flex items-center rounded-lg bg-brand-primary px-3.5 py-1.5 text-sm font-medium text-white hover:bg-brand-primary/85 transition-colors" rel="noopener">Sponsor</a>
4545
</nav>
4646
</div>
4747
</div>
4848
</header>
4949
<main class="flex-1">{{template "content" .}}</main>
5050
<section class="border-t border-gray-200/50 py-14">
5151
<div class="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8 text-center">
52-
<p class="text-sm text-gray-500 max-w-lg mx-auto mb-8 leading-relaxed">WP Composer is community-funded open source. Support our work by <a href="https://github.com/sponsors/roots" class="font-medium text-gray-900 hover:text-brand-primary transition-colors underline underline-offset-4 decoration-gray-300" target="_blank" rel="noopener">sponsoring us on GitHub</a>.</p>
52+
<p class="text-sm text-gray-500 max-w-lg mx-auto mb-8 leading-relaxed">WP Composer is community-funded open source. Support our work by <a href="https://github.com/sponsors/roots" class="font-medium text-gray-900 hover:text-brand-primary transition-colors underline underline-offset-4 decoration-gray-300" rel="noopener">sponsoring us on GitHub</a>.</p>
5353
<p class="text-xs font-medium uppercase tracking-widest text-gray-400/60 mb-6">Sponsors</p>
5454
<div class="flex flex-wrap items-center justify-center gap-6">
5555
<a href="https://www.carrot.com/" class="hover:opacity-80 transition-opacity" rel="sponsored"><img src="/carrot.svg" alt="Carrot" class="h-20 w-auto rounded-lg"></a>
@@ -61,7 +61,7 @@
6161
</section>
6262
<footer class="border-t border-gray-200/50">
6363
<div class="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8 py-8 flex flex-col sm:flex-row items-center justify-between gap-4">
64-
<p class="text-sm text-gray-500 flex items-center gap-1">Built by <a href="https://roots.io" class="inline-flex items-center gap-1 font-medium text-brand-primary hover:text-brand-primary/80 transition-colors" target="_blank" rel="noopener"><svg class="h-3 w-auto translate-y-px" viewBox="0 0 80 75" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M56.604 59.32c-5.97-5.962-9.26-13.89-9.26-22.318V23.958a.815.815 0 1 0-1.631 0c0 8.43-3.286 16.36-9.255 22.32L16.743 65.961a.813.813 0 0 0-.237.643.81.81 0 0 0 .34.6C23.665 72.05 31.672 74.61 40 74.61s16.338-2.56 23.157-7.406a.79.79 0 0 0 .334-.6.796.796 0 0 0-.227-.643l-6.66-6.64zm-35.38-48.398V.816A.813.813 0 0 0 20 .11C7.663 7.242-.001 20.484-.001 34.67c0 1.136.06 2.352.188 3.718.032.312.24.58.537.694a.979.979 0 0 0 .278.044.816.816 0 0 0 .574-.236L15.32 25.164a19.997 19.997 0 0 0 5.903-14.242zM59.997.11a.808.808 0 0 0-.816 0 .82.82 0 0 0-.408.706v36.186c0 5.378 2.103 10.437 5.911 14.242l6.655 6.65a.82.82 0 0 0 .579.241c.022 0 .046 0 .07-.005a.852.852 0 0 0 .601-.338C77.437 50.979 80 42.985 80 34.669 80 20.484 72.341 7.242 59.998.11zM28.377 38.203L8.662 57.894a.815.815 0 0 1-.579.241c-.021 0-.044 0-.065-.005a.827.827 0 0 1-.596-.338 39.91 39.91 0 0 1-2.962-4.84.824.824 0 0 1 .15-.957l18.793-18.76c5.967-5.965 9.253-13.887 9.253-22.313a.816.816 0 0 1 1.631 0v13.036c0 5.38-2.097 10.44-5.91 14.245z" fill-rule="nonzero"/></svg>roots.io</a></p>
64+
<p class="text-sm text-gray-500 flex items-center gap-1">Built by <a href="https://roots.io" class="inline-flex items-center gap-1 font-medium text-brand-primary hover:text-brand-primary/80 transition-colors" rel="noopener"><svg class="h-3 w-auto translate-y-px" viewBox="0 0 80 75" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M56.604 59.32c-5.97-5.962-9.26-13.89-9.26-22.318V23.958a.815.815 0 1 0-1.631 0c0 8.43-3.286 16.36-9.255 22.32L16.743 65.961a.813.813 0 0 0-.237.643.81.81 0 0 0 .34.6C23.665 72.05 31.672 74.61 40 74.61s16.338-2.56 23.157-7.406a.79.79 0 0 0 .334-.6.796.796 0 0 0-.227-.643l-6.66-6.64zm-35.38-48.398V.816A.813.813 0 0 0 20 .11C7.663 7.242-.001 20.484-.001 34.67c0 1.136.06 2.352.188 3.718.032.312.24.58.537.694a.979.979 0 0 0 .278.044.816.816 0 0 0 .574-.236L15.32 25.164a19.997 19.997 0 0 0 5.903-14.242zM59.997.11a.808.808 0 0 0-.816 0 .82.82 0 0 0-.408.706v36.186c0 5.378 2.103 10.437 5.911 14.242l6.655 6.65a.82.82 0 0 0 .579.241c.022 0 .046 0 .07-.005a.852.852 0 0 0 .601-.338C77.437 50.979 80 42.985 80 34.669 80 20.484 72.341 7.242 59.998.11zM28.377 38.203L8.662 57.894a.815.815 0 0 1-.579.241c-.021 0-.044 0-.065-.005a.827.827 0 0 1-.596-.338 39.91 39.91 0 0 1-2.962-4.84.824.824 0 0 1 .15-.957l18.793-18.76c5.967-5.965 9.253-13.887 9.253-22.313a.816.816 0 0 1 1.631 0v13.036c0 5.38-2.097 10.44-5.91 14.245z" fill-rule="nonzero"/></svg>roots.io</a></p>
6565
<nav aria-label="Footer" class="flex items-center gap-6">
6666
<a href="/roots-wordpress" class="text-sm text-gray-500 hover:text-gray-900 transition-colors">WordPress Core</a>
6767
<a href="/wp-composer-vs-wpackagist" class="text-sm text-gray-500 hover:text-gray-900 transition-colors">WP Composer vs WPackagist</a>

0 commit comments

Comments
 (0)