Skip to content

Commit 527eaf1

Browse files
author
markzegarelli
committed
adjust placement
1 parent 0273a67 commit 527eaf1

File tree

5 files changed

+51
-21
lines changed

5 files changed

+51
-21
lines changed

src/_layouts/dest-test.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: integration
3+
---
4+
<div class="markdown">
5+
6+
{% assign newContent = '' %}
7+
{% assign sections = content | split:'</h2>' %}
8+
9+
10+
{% unless page.hide-dossier == true or page.name != "index.md" %}
11+
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
12+
13+
{% for section in sections %}
14+
{% if forloop.index == 1 %}
15+
{{newContent | append: section}}
16+
{{newContent | append: '</h2> <!--insert-->'}}
17+
{{destination-dossier | markdownify}}
18+
19+
{% else %}
20+
{{newContent | append: section}}
21+
{{newContent | append: '</h2> <!--insert-->'}}
22+
{% endif %}
23+
{% endfor %}
24+
25+
{% endunless %}
26+
27+
28+
29+
</div>

src/_layouts/destination.html

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,30 @@
22
layout: integration
33
---
44
<div class="markdown">
5+
{% assign newContent = '' %}
6+
{% assign sections = content | split:'</h2>' %}
7+
8+
9+
{% if page.hide-dossier != true or page.name == "index.md" %}
10+
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
11+
12+
{% for section in sections %}
13+
{% if forloop.index == 1 %}
14+
{{newContent | append: section}}
15+
{{newContent | append: '</h2> <!--insert-->'}}
16+
{{destination-dossier | markdownify}}
517

6-
{% unless page.hide-dossier == true or page.name != "index.md" %}
7-
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
8-
{{ destination-dossier | markdownify }}
9-
{% endunless %}
18+
{% else %}
19+
{{newContent | append: section}}
20+
{{newContent | append: '</h2> <!--insert-->'}}
21+
{% endif %}
22+
{% endfor %}
23+
24+
25+
{% else %}
1026

1127
{{ content }}
12-
28+
{% endif %}
1329
{% unless page.hide-boilerplate == true %}
1430
{% capture destination-footer %}{% include content/destination-footer.md %}{% endcapture %}
1531
{{ destination-footer | markdownify }}

src/_sass/components/_quickinfo.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@
1414

1515

1616
.quick-info {
17-
float: right;
1817
border: 1px solid #eee;
1918
border-radius: 5px;
20-
max-width: 245px;
2119
padding: 10px;
22-
margin: 0px 0px 15px 15px;
23-
background-color: #FAFBFF;
2420
z-index: 1000;
2521

2622
@include breakpoint(small down) {

src/connections/destinations/catalog/algolia-insights/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Algolia Insights Destination
33
rewrite: true
4+
layout: dest-test
45
beta: true
56
redirect_from: '/connections/destinations/catalog/algolia/'
67
---
@@ -18,8 +19,6 @@ This destination is maintained by [Algolia](https://www.algolia.com/). For any i
1819

1920
## Getting Started
2021

21-
{% include content/connection-modes.md %}
22-
2322
1. From the Segment web app, click **Catalog**.
2423
2. Search for "Algolia" in the Catalog, select it, and choose which of your sources to connect the destination to.
2524
3. Enter the "App ID" & "API Key" into your Segment Settings UI which you can find from your [Algolia Dashboard](https://www.algolia.com/apps/), under API Keys menu.

src/connections/destinations/catalog/ibm-ubx/index.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ endpoint from Segment's support team._
6060
authentication key again and paste it into your UBX settings in the Segment
6161
UI.
6262

63-
You can read more about defining and activating applications in UBX [here in
64-
their
65-
documentation](https://www.ibm.com/support/knowledgecenter/en/SS9JVY/UBX/Endpoints_ubx/Registering_endpoints_as_applications.html).
6663

6764
## General Tracking Advice
6865

@@ -466,12 +463,6 @@ options:
466463
channels are `email` and `sms`, and the only two acceptable subscription
467464
options are `opt-in` and `opt-out`.
468465

469-
For more information, refer to IBM UBX's documentation on `subchannel`
470-
[here](https://www.ibm.com/support/knowledgecenter/SS9JVY/UBX/Event_taxonomy_ubx/Best_practice_event_attributes.html)
471-
(*Best practice event attributes* article) and on `channel`
472-
[here](https://www.ibm.com/support/knowledgecenter/SS9JVY/UBX/Events_ubx/Event_publication.html).
473-
Note that recommended values for these fields is often determined by the
474-
downstream tools connected to UBX (e.g. Watson Customer Engagement tools).
475466

476467
## Troubleshooting
477468

@@ -497,4 +488,3 @@ Segment's integration with UBX supports the following UBX abandonment events:
497488
- ibmcartAbandonment
498489
- ibmcartAbandonmentItem
499490

500-
You can find more information about these events in [UBX's Event Taxonomy](https://ubx-pilot.ibmmarketingcloud.com/#/taxonomy).

0 commit comments

Comments
 (0)