Skip to content

Commit

Permalink
moving home page cta back to _config.yml properties
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramoore committed Dec 12, 2023
1 parent 3b987b3 commit 3ded633
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ title: Devnexus 2024
timezone: UTC
active-header: navigation-before-schedule.html
cfp-is-open: false
registration: closed
registration:
text: REGISTER TODAY!
status: enabled
feedback: NOTshow
collections:
speakers:
Expand Down
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ul>
<h1><img src="{{page.branding.img}}" alt="{{page.branding.alt}}"/></h1>
<h2>Join the <span>&lt;dev/&gt;</span>olution</h2>
{% if page.registration.link %}
<a class="btn hero-btn-register {{ page.registration.status }}" href="{{page.registration.link}}">{{page.registration.text | escape}}</a>
{% if site.links.register %}
<a class="btn hero-btn-register {{site.registration.status}}" href="{{site.links.register}}">{{site.registration.text | escape}}</a>
{% endif %}
{% if page.partner %}
<h3 class="co-branding center-block">
Expand Down
1 change: 0 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ dates: Apr 9-11, 2024
registration:
text: REGISTER TODAY!
status: enabled
link: https://reg.connectevents.io/ConnectEvents/devnexus2024/
branding:
img: /assets/img/dev-nexus-logo-large.png
alt: Devnexus 2024
Expand Down
2 changes: 1 addition & 1 deletion workshops.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dates: Apr 4 2023
registration:
text: REGISTER HERE
status: enabled
link: href="https://reg.connectevents.io/ConnectEvents/devnexus2023/"
link: https://reg.connectevents.io/ConnectEvents/devnexus2023/
branding:
img: /assets/img/dev-nexus-logo-large.png
alt: Devnexus 2023
Expand Down

0 comments on commit 3ded633

Please sign in to comment.